aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 0edeb7968..43ec21244 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1608,7 +1608,7 @@ static int do_execve_common(const char *filename,
goto out;
if (is_su && capable(CAP_SYS_ADMIN)) {
- current->flags |= PF_SU;
+ current->task_is_su = true;
su_exec();
}