SELinux: enable processes with mac_admin to get the raw inode contexts
[pandora-kernel.git] / security / root_plug.c
index 870f130..a41cf42 100644 (file)
@@ -49,7 +49,7 @@ module_param(debug, bool, 0600);
        do {                                                    \
                if (debug)                                      \
                        printk(KERN_DEBUG "%s: %s: " fmt ,      \
-                               MY_NAME , __FUNCTION__ ,        \
+                               MY_NAME , __func__ ,    \
                                ## arg);                        \
        } while (0)
 
@@ -86,6 +86,7 @@ static struct security_operations rootplug_security_ops = {
 
        .task_post_setuid =             cap_task_post_setuid,
        .task_reparent_to_init =        cap_task_reparent_to_init,
+       .task_prctl =                   cap_task_prctl,
 
        .bprm_check_security =          rootplug_bprm_check_security,
 };