Re: [PATCH] capabilities: Ambient capability set V2

From
Christoph Lameter <hidden>
Date
2015-03-06 15:48:01
Also in
lkml
Reply to
Andy Lutomirski, 2015-03-05
On Thu, 5 Mar 2015, Andy Lutomirski wrote:
quoted
Yes due to the library issues.
You can't LD_PRELOAD and fP together.  And I'm still unconvinced that
ambient caps can ever be safe in conjunction with fP.  I'll grill you
next week on what you're trying to do that makes you want this :)
From the ld.so manpage:
    LD_PRELOAD
              A whitespace-separated list of additional, user-specified, ELF shared
              libraries to be loaded before all others.  This can be used to selec‐
              tively override functions in other shared libraries.  For setuid/set‐
              gid ELF binaries, only libraries in the standard  search  directories
              that are also setgid will be loaded.

So this mechanism has not been made to work for binaries with caps? We
have to keep using setuid?
Thread (21 messages) 21 messages, 4 authors, last reply 2015-03-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help