X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=security%2Froot_plug.c;h=a41cf42a4fa0b5d68921f632d329dbf5cb9d7d76;hb=abc69bb633931bf54c6db798bcdc6fd1e0284742;hp=870f13095bb65c3cc93d0df568658d191ece74fc;hpb=fb9fc395174138983a49f2da982ed14caabbe741;p=pandora-kernel.git 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); 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, };