aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/hooks.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 308e2cf17d75..04acb5af8317 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -3303,12 +3303,13 @@ static int selinux_task_prctl(int option,
3303 unsigned long arg2, 3303 unsigned long arg2,
3304 unsigned long arg3, 3304 unsigned long arg3,
3305 unsigned long arg4, 3305 unsigned long arg4,
3306 unsigned long arg5) 3306 unsigned long arg5,
3307 long *rc_p)
3307{ 3308{
3308 /* The current prctl operations do not appear to require 3309 /* The current prctl operations do not appear to require
3309 any SELinux controls since they merely observe or modify 3310 any SELinux controls since they merely observe or modify
3310 the state of the current process. */ 3311 the state of the current process. */
3311 return 0; 3312 return secondary_ops->task_prctl(option, arg2, arg3, arg4, arg5, rc_p);
3312} 3313}
3313 3314
3314static int selinux_task_wait(struct task_struct *p) 3315static int selinux_task_wait(struct task_struct *p)