Re: [RFC] [PATCH 2/2] capabilities: implement 64-bit capabilities

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Serge E. Hallyn <serge@...>
Cc: Chris Wright <chrisw@...>, Andrew Morton <akpm@...>, Serge E. Hallyn <serue@...>, <sds@...>, <linux-security-module@...>, <morgan@...>, <linux-kernel@...>, <kaigai@...>, <casey@...>
Date: Thursday, October 18, 2007 - 11:30 am

* Serge E. Hallyn (serge@hallyn.com) wrote:

It's not really any different than issuing capget(0x19980330) (assuming
capget64 is different), and getting -EINVAL when the actual in-use
caps are > 32 bits wide.  In either case the rules are the same --
old interface works fine as long as you don't have new caps involved.
Only advantage I see to using the extant interface is that the cap[sg]et
interface is already designed to be future-proof (albeit in an unusual
way compared with most other kernel syscalls).

thanks,
-chris
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] [PATCH 2/2] capabilities: implement 64-bit capabilities, Serge E. Hallyn, (Mon Oct 15, 10:31 pm)
Re: [RFC] [PATCH 2/2] capabilities: implement 64-bit capabil..., Chris Wright, (Thu Oct 18, 11:30 am)