* [PATCH] 2.6.0-test6: Filesystem capabilities 0.15
@ 2003-10-03 23:55 Olaf Dietsche
0 siblings, 0 replies; 3+ messages in thread
From: Olaf Dietsche @ 2003-10-03 23:55 UTC (permalink / raw)
To: linux-kernel
This *untested* patch implements filesystem capabilities. It allows to
run privileged executables without the need for suid root.
Changes:
- updated to 2.6.0-test6
- added lscap to show fs caps for a particular file
This patch is available at:
<http://www.olafdietsche.de/linux/capability/>
Regards, Olaf.
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <fa.ign8c9e.3g8vr4@ifi.uio.no>]
* Re: [PATCH] 2.6.0-test6: Filesystem capabilities 0.15
[not found] <fa.ign8c9e.3g8vr4@ifi.uio.no>
@ 2003-10-04 7:18 ` Andy Lutomirski
2003-10-04 22:45 ` Olaf Dietsche
0 siblings, 1 reply; 3+ messages in thread
From: Andy Lutomirski @ 2003-10-04 7:18 UTC (permalink / raw)
To: Olaf Dietsche, linux-kernel
Olaf Dietsche wrote:
> This *untested* patch implements filesystem capabilities. It allows
> to run privileged executables without the need for suid root.
>
> Changes: - updated to 2.6.0-test6 - added lscap to show fs caps for a
> particular file
>
> This patch is available at:
> <http://www.olafdietsche.de/linux/capability/>
>
I have an alternate patch, implementing file capabilities using xattrs.
It also implements the
exec changes I proposed a few days back, but this time around it's a
config option. Note that
this patch is very non-intrusive. The user API is through setxattr and
friends, and the changes
to any filesystem to support this patch are minimal (add the
system.capabilities xattr and
validate its contents on setxattr).
The patch and user tools are at http://www.stanford.edu/~luto/linux-fscap/
(Apply the cap- patches in order. Patches are against 2.6.0-test6 vanilla.)
Olaf -- what do you think? (I like your CAP_SETFCAP addition -- I may
add it to my patch.
Currently anyone can chcap their own files, as long as they hold the
capabilities they want
to permit.)
Example:
$ su
# cp `which ping` myping
# chmod 755 myping
# chcap cap_net_raw+p myping
# exit
$ ./myping localhost
-- Andy Lutomirski
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-04 22:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-03 23:55 [PATCH] 2.6.0-test6: Filesystem capabilities 0.15 Olaf Dietsche
[not found] <fa.ign8c9e.3g8vr4@ifi.uio.no>
2003-10-04 7:18 ` Andy Lutomirski
2003-10-04 22:45 ` Olaf Dietsche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®