2
security/apparmor/Kconfig | 2 +-
3
security/apparmor/lsm.c | 26 --------------------------
4
2 files changed, 1 insertion(+), 27 deletions(-)
6
--- a/security/apparmor/Kconfig
7
+++ b/security/apparmor/Kconfig
9
config SECURITY_APPARMOR
10
- tristate "AppArmor support"
11
+ bool "AppArmor support"
15
--- a/security/apparmor/lsm.c
16
+++ b/security/apparmor/lsm.c
17
@@ -931,33 +931,7 @@ createfs_out:
21
-static void __exit apparmor_exit(void)
23
- /* Remove and release all the profiles on the profile list. */
24
- mutex_lock(&aa_interface_lock);
25
- aa_profile_ns_list_release();
27
- /* FIXME: cleanup profiles references on files */
28
- free_default_namespace();
31
- * Delay for an rcu cycle to make sure that all active task
32
- * context readers have finished, and all profiles have been
33
- * freed by their rcu callbacks.
37
- destroy_apparmorfs();
38
- mutex_unlock(&aa_interface_lock);
40
- if (unregister_security(&apparmor_ops))
41
- info_message("Unable to properly unregister AppArmor");
43
- info_message("AppArmor protection removed");
46
module_init(apparmor_init);
47
-module_exit(apparmor_exit);
49
MODULE_DESCRIPTION("AppArmor process confinement");
50
MODULE_AUTHOR("Novell/Immunix, http://bugs.opensuse.org");