aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/capability.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/capability.c')
-rw-r--r--kernel/capability.c11
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);
33EXPORT_SYMBOL(__cap_full_set); 33EXPORT_SYMBOL(__cap_full_set);
34EXPORT_SYMBOL(__cap_init_eff_set); 34EXPORT_SYMBOL(__cap_init_eff_set);
35 35
36#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
37int file_caps_enabled = 1;
38
39static 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 *