Re: Annotate Deprecated Functions in libselinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 27, 2020 at 4:05 PM William Roberts
<bill.c.roberts@xxxxxxxxx> wrote:
>
> On Thu, Feb 27, 2020 at 2:43 PM Ulrich Drepper <drepper@xxxxxxxxxx> wrote:
> > The use of the hidden infrastructure is not just a means to reduce
> > overhead in the form of PLTs.  It also ensures that internals for the
> > library don't leak out.
>
> Linker script? We just use a map file that has everything local except for what
> we want to export.

That just controls what is exported.  The hidden_proto/hidden_def
stuff is to ensure that when libselinux calls one of its own exported
symbols, that symbol resolves to the actual libselinux implementation
and not something provided by some other DSO earlier in the search
path, which is otherwise possible.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux