From: Ludwig Nussel Date: Mon, 28 Feb 2011 14:57:17 +0000 (+0100) Subject: kernel/ksysfs.c: expose file_caps_enabled in sysfs X-Git-Tag: v3.0-rc1~390^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=088ab0b4d855d68a0f0c16b72fb8e492a533aaa1;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed