lkml.org 
[lkml]   [1999]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Latest capabilities patch(getting close)
Date
Y2K wrote:
>
> Supports "soiled" and "pure draft".
> Preliminary support for required caps in elf header.
> per task or global securebits settings.
> Elf note fixups.
> ld scripts that might useful, might not.
> I hope that this is close enough that some real testing might begin soon.
> Once elf cap adder is finished then you can play with caps RSN.

> /* We don't have VFS support for capabilities yet */
> - cap_clear(bprm->cap_inheritable);
> - cap_clear(bprm->cap_permitted);
> - cap_clear(bprm->cap_effective);
> + /* if we did we'd do something like this pseudo */
> + /* if (HAD_VFS_CAPS_AVAIL) {
> + * USE_VFS_CAPS
> + * else {
> + * USE_DEFAULTS_AS_BELOW
> + * }
> + */

Yep, here is an example implementation of that:

ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.3/

Cheers

Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.046 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site