summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2011-02-28 15:57:17 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-19 16:45:51 -0700
commit088ab0b4d855d68a0f0c16b72fb8e492a533aaa1 (patch)
tree7ca0a26573e074ff754b56eaeeb18467fbcc9926 /Documentation
parentaed65af1cc2f6fc9ded5a8158f1405a02cf6d2ff (diff)
downloadop-kernel-dev-088ab0b4d855d68a0f0c16b72fb8e492a533aaa1.zip
op-kernel-dev-088ab0b4d855d68a0f0c16b72fb8e492a533aaa1.tar.gz
kernel/ksysfs.c: expose file_caps_enabled in sysfs
A kernel booted with no_file_caps allows to install fscaps on a binary but doesn't actually honor the fscaps when running the binary. Userspace currently has no sane way to determine whether installing fscaps actually has any effect. Since parsing /proc/cmdline is fragile this patch exposes the current setting (1 or 0) via /sys/kernel/fscaps Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-kernel-fscaps8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-kernel-fscaps b/Documentation/ABI/testing/sysfs-kernel-fscaps
new file mode 100644
index 0000000..50a3033
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-kernel-fscaps
@@ -0,0 +1,8 @@
+What: /sys/kernel/fscaps
+Date: February 2011
+KernelVersion: 2.6.38
+Contact: Ludwig Nussel <ludwig.nussel@suse.de>
+Description
+ Shows whether file system capabilities are honored
+ when executing a binary
+
OpenPOWER on IntegriCloud