summaryrefslogtreecommitdiffstats
path: root/fs/9p/cache.c
diff options
context:
space:
mode:
authorAndrew Perepechko <anserper@ya.ru>2015-12-24 17:09:41 +0100
committerPaul Moore <pmoore@redhat.com>2015-12-24 17:09:41 +0100
commitf9df6458218f4fe8a1c3bf0af89c1fa9eaf0db39 (patch)
treebed3081497a3b7a628fe77f919514e01650d4d8a /fs/9p/cache.c
parentgfs2: Invalid security labels of inodes when they go invalid (diff)
downloadlinux-f9df6458218f4fe8a1c3bf0af89c1fa9eaf0db39.tar.xz
linux-f9df6458218f4fe8a1c3bf0af89c1fa9eaf0db39.zip
selinux: export validatetrans decisions
Make validatetrans decisions available through selinuxfs. "/validatetrans" is added to selinuxfs for this purpose. This functionality is needed by file system servers implemented in userspace or kernelspace without the VFS layer. Writing "$oldcontext $newcontext $tclass $taskcontext" to /validatetrans is expected to return 0 if the transition is allowed and -EPERM otherwise. Signed-off-by: Andrew Perepechko <anserper@ya.ru> CC: andrew.perepechko@seagate.com Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'fs/9p/cache.c')
0 files changed, 0 insertions, 0 deletions