aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 2081055f6783..e65677da36bd 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -5187,7 +5187,7 @@ static int selinux_setprocattr(struct task_struct *p,
5187 5187
5188 /* Only allow single threaded processes to change context */ 5188 /* Only allow single threaded processes to change context */
5189 error = -EPERM; 5189 error = -EPERM;
5190 if (!is_single_threaded(p)) { 5190 if (!current_is_single_threaded()) {
5191 error = security_bounded_transition(tsec->sid, sid); 5191 error = security_bounded_transition(tsec->sid, sid);
5192 if (error) 5192 if (error)
5193 goto abort_change; 5193 goto abort_change;