mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08: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>
9 lines
208 B
Plaintext
9 lines
208 B
Plaintext
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
|
|
|