aboutsummaryrefslogtreecommitdiffstats
path: root/security/root_plug.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/root_plug.c')
-rw-r--r--security/root_plug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/root_plug.c b/security/root_plug.c
index 870f13095bb6..a41cf42a4fa0 100644
--- a/security/root_plug.c
+++ b/security/root_plug.c
@@ -49,7 +49,7 @@ module_param(debug, bool, 0600);
49 do { \ 49 do { \
50 if (debug) \ 50 if (debug) \
51 printk(KERN_DEBUG "%s: %s: " fmt , \ 51 printk(KERN_DEBUG "%s: %s: " fmt , \
52 MY_NAME , __FUNCTION__ , \ 52 MY_NAME , __func__ , \
53 ## arg); \ 53 ## arg); \
54 } while (0) 54 } while (0)
55 55
@@ -86,6 +86,7 @@ static struct security_operations rootplug_security_ops = {
86 86
87 .task_post_setuid = cap_task_post_setuid, 87 .task_post_setuid = cap_task_post_setuid,
88 .task_reparent_to_init = cap_task_reparent_to_init, 88 .task_reparent_to_init = cap_task_reparent_to_init,
89 .task_prctl = cap_task_prctl,
89 90
90 .bprm_check_security = rootplug_bprm_check_security, 91 .bprm_check_security = rootplug_bprm_check_security,
91}; 92};