[PATCH 2/2] kernfs: implement "trusted.*" xattr support

2013-11-23 Thread Tejun Heo
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.*"

[PATCH 2/2] kernfs: implement trusted.* xattr support

2013-11-23 Thread Tejun Heo
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.*

[PATCH 2/2] kernfs: implement "trusted.*" xattr support

2013-11-04 Thread Tejun Heo
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.*"

[PATCH 2/2] kernfs: implement trusted.* xattr support

2013-11-04 Thread Tejun Heo
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.*