1
Index: b/security/apparmor/lsm.c
2
===================================================================
3
--- a/security/apparmor/lsm.c
4
+++ b/security/apparmor/lsm.c
5
@@ -59,42 +59,6 @@ int apparmor_path_max = 2 * PATH_MAX;
6
module_param_named(path_max, apparmor_path_max, int, S_IRUSR);
7
MODULE_PARM_DESC(apparmor_path_max, "Maximum pathname length allowed");
10
-static int __init aa_getopt_complain(char *str)
12
- get_option(&str, &apparmor_complain);
15
-__setup("apparmor_complain=", aa_getopt_complain);
17
-static int __init aa_getopt_debug(char *str)
19
- get_option(&str, &apparmor_debug);
22
-__setup("apparmor_debug=", aa_getopt_debug);
24
-static int __init aa_getopt_audit(char *str)
26
- get_option(&str, &apparmor_audit);
29
-__setup("apparmor_audit=", aa_getopt_audit);
31
-static int __init aa_getopt_logsyscall(char *str)
33
- get_option(&str, &apparmor_logsyscall);
36
-__setup("apparmor_logsyscall=", aa_getopt_logsyscall);
38
-static int __init aa_getopt_path_max(char *str)
40
- get_option(&str, &apparmor_path_max);
43
-__setup("apparmor_path_max=", aa_getopt_path_max);
46
static int aa_reject_syscall(struct task_struct *task, gfp_t flags,