Messages in this thread | | | Subject | Re: security capabilities on filesystems | From | Stephen Smalley <> | Date | Mon, 30 Jan 2006 11:13:15 -0500 |
| |
On Sun, 2006-01-29 at 21:04 +0100, Lukasz Stelmach wrote: > Greetings. > > I've poke around for some information but all I got (was this lousy t-shirt) > that there is no support for capablities stored on a filesystem. However, I'd > like to ask if there are any chances to see this feature soon.
Storage of the capability bits isn't the hard part; that is especially easy these days given the extensible security namespace for extended attributes that was introduced for SELinux (but not limited to it).
# touch foo # setfattr -n security.capability.effcap -v 0xdeadbeef foo # getfattr -e hex -n security.capability.effcap foo # file: foo security.capability.effcap=0xdeadbeef
-- Stephen Smalley National Security Agency
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |