summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTejun Heo2013-11-23 23:40:02 +0100
committerGreg Kroah-Hartman2013-12-04 16:34:45 +0100
commit2322392b020badfe49730f1529b9c1a15248c387 (patch)
treeda17c0d183045351ae25f8173f2c0cfd7c7b8a55 /arch
parentkernfs: update sysfs_init_inode_attrs() (diff)
downloadkernel-qcow2-linux-2322392b020badfe49730f1529b9c1a15248c387.tar.gz
kernel-qcow2-linux-2322392b020badfe49730f1529b9c1a15248c387.tar.xz
kernel-qcow2-linux-2322392b020badfe49730f1529b9c1a15248c387.zip
kernfs: implement "trusted.*" xattr support
kernfs inherited "security.*" xattr support from sysfs. This patch extends xattr support to "trusted.*" using simple_xattr_*(). As trusted xattrs are restricted to CAP_SYS_ADMIN, simple_xattr_*() which uses kernel memory for storage shouldn't be problematic. Note that the existing "security.*" support doesn't implement get/remove/list and the this patch only implements those ops for "trusted.*". We probably want to extend those ops to include support for "security.*". This patch will allow using kernfs from cgroup which requires "trusted.*" xattr support. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: David P. Quigley <dpquigl@tycho.nsa.gov> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions