Re: security capabilities on filesystems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux