diff options
| author | Corinna Vinschen <xda@vinschen.de> | 2019-04-10 20:36:23 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-05-02 17:44:25 +0200 |
| commit | 31ab448c24d5568678b78d68dac9af6a97535ab0 (patch) | |
| tree | 75dde40be2290a5830660ceb43d0f5f06d48e93c /fs/exec.c | |
| parent | a44eca0e99e666af7f49a511df785269fcb8821a (diff) | |
clean up process flags
* Move PF_WAKE_UP_IDLE to 0x00000002 to make room for PF_SUSPEND_TASK
* Drop PF_SU in favor of a bit 'task_is_su' in the task_struct bitfield
which has still lots of room without changing the struct size.
Change-Id: I2af053ebcbb3c41b7407560008da8150a73c8c05
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
Signed-off-by: Moyster <oysterized@gmail.com>
Diffstat (limited to 'fs/exec.c')
| -rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } |
