Re: implement-file-posix-capabilities.patch

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morgan
Date: Wednesday, June 27, 2007 - 11:19 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Serge E. Hallyn wrote:

[We touched on this a number of emails back.]

If an application is capability aware, it can manipulate its own
capabilities and should have fE=0.

If an application is not capability aware, it needs to have *all* of its
capabilities enabled at exec() time. Otherwise, it won't work.

The only reason for having an fE bitmap is to allow a capability-aware
program (you really trust to do its privileged operations carefully) to
be lazy and get some of its capabilities raised for free. Perhaps you
can clarify why this is a desirable thing? :-)

Cheers

Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFGg1LqQheEq9QabfIRAo3BAKCO8QrfcKBNqhfnn2BHp8O/qDkgXgCgleEl
xP7LZPU9Qn6AjqI3ZM3FZ+4=
=urmz
-----END PGP SIGNATURE-----
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: implement-file-posix-capabilities.patch, Serge E. Hallyn, (Thu Jun 21, 9:00 am)
Re: implement-file-posix-capabilities.patch, Andrew Morgan, (Sat Jun 23, 1:13 am)
Re: implement-file-posix-capabilities.patch, Serge E. Hallyn, (Sun Jun 24, 8:51 am)
Re: implement-file-posix-capabilities.patch, James Morris, (Sun Jun 24, 9:18 am)
Re: [PATCH try #2] security: Convert LSM into a static int ..., Andreas Gruenbacher, (Mon Jun 25, 1:37 pm)
Re: implement-file-posix-capabilities.patch, Andrew Morgan, (Tue Jun 26, 10:00 pm)
Re: implement-file-posix-capabilities.patch, Serge E. Hallyn, (Wed Jun 27, 6:16 am)
Re: implement-file-posix-capabilities.patch, Andrew Morgan, (Wed Jun 27, 11:19 pm)
Re: implement-file-posix-capabilities.patch, Serge E. Hallyn, (Thu Jun 28, 6:36 am)
Re: implement-file-posix-capabilities.patch, Casey Schaufler, (Thu Jun 28, 8:14 am)
Re: implement-file-posix-capabilities.patch, Serge E. Hallyn, (Thu Jun 28, 8:38 am)
Re: implement-file-posix-capabilities.patch, Andrew Morgan, (Thu Jun 28, 8:50 am)
Re: implement-file-posix-capabilities.patch, Casey Schaufler, (Thu Jun 28, 8:56 am)
Re: implement-file-posix-capabilities.patch, Andrew Morgan, (Thu Jun 28, 10:30 pm)
Re: implement-file-posix-capabilities.patch, Serge E. Hallyn, (Fri Jun 29, 6:24 am)
Re: implement-file-posix-capabilities.patch, Casey Schaufler, (Fri Jun 29, 7:46 am)
Re: implement-file-posix-capabilities.patch, Serge E. Hallyn, (Mon Jul 2, 7:38 am)
Re: implement-file-posix-capabilities.patch, Andrew Morgan, (Wed Jul 4, 2:29 pm)
Re: implement-file-posix-capabilities.patch, Casey Schaufler, (Wed Jul 4, 4:00 pm)