lkml.org 
[lkml]   [1999]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: caps in elf headers: use the sticky bit!
Hello! (again!)

On Sun, 11 Apr 1999, Pavel Machek wrote:

> You do not want this kind of support in kernel. Believe me. Better use
> setuid0 as marker (those are already immutable) and userspace suid
> program which implements your CAP_SETFCAP.

This applies just as well to the sticky bit solution; if it's not feasible
to have the kernel check the caps in the file when setting the cap flag,
you could still have a userspace util that did all the real work. Good
idea!

>
> Pavel
> --
> I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel
> Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).
>

- --
David L. Parsley
Network Specialist
City of Salem Schools


-
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.102 / U:1.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site