Re: [PATCH] capabilities: Ambient capability set V2

From
Christoph Lameter <hidden>
Date
2015-03-07 15:09:11
Also in
lkml
Reply to
Serge E. Hallyn, 2015-03-06
On Fri, 6 Mar 2015, Serge E. Hallyn wrote:
quoted
I think that's right.  fI doesn't set pI.
Right.  The idea is that for the running binary to get capability x in its
pP, its privileged ancestor must have set x in pI, and the binary itself
must be trusted with x in fI.
The ancestor here is ambient_test and when it is run pI will not be set
despite the cap setting.

Therefore anything is spawns cannot have the inheritance bits set either.
This plainly does not make any sense whatsoever. If this is so as it seems
to be then we should be able to remove the inheritance bits because they
have no effect.
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