mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
088ab0b4d8
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
|
|
|