mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Ludwig Nussel](/assets/img/avatar_default.png)
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>
8 lines
208 B
Text
8 lines
208 B
Text
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
|
|
|