diff options
Diffstat (limited to 'kernel/capability.c')
-rw-r--r-- | kernel/capability.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/capability.c b/kernel/capability.c index 33e51e78c2d8..e13a68535ad5 100644 --- a/kernel/capability.c +++ b/kernel/capability.c | |||
@@ -33,6 +33,17 @@ EXPORT_SYMBOL(__cap_empty_set); | |||
33 | EXPORT_SYMBOL(__cap_full_set); | 33 | EXPORT_SYMBOL(__cap_full_set); |
34 | EXPORT_SYMBOL(__cap_init_eff_set); | 34 | EXPORT_SYMBOL(__cap_init_eff_set); |
35 | 35 | ||
36 | #ifdef CONFIG_SECURITY_FILE_CAPABILITIES | ||
37 | int file_caps_enabled = 1; | ||
38 | |||
39 | static int __init file_caps_disable(char *str) | ||
40 | { | ||
41 | file_caps_enabled = 0; | ||
42 | return 1; | ||
43 | } | ||
44 | __setup("no_file_caps", file_caps_disable); | ||
45 | #endif | ||
46 | |||
36 | /* | 47 | /* |
37 | * More recent versions of libcap are available from: | 48 | * More recent versions of libcap are available from: |
38 | * | 49 | * |