summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index d9acfa89c894..da0b316befb8 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -1909,7 +1909,7 @@ void task_dump_owner(struct task_struct *task, umode_t mode,
mm = task->mm;
/* Make non-dumpable tasks owned by some root */
if (mm) {
- if (get_dumpable(mm) != SUID_DUMP_USER) {
+ if (get_dumpable(mm) != TASK_DUMPABLE_OWNER) {
struct user_namespace *user_ns = mm->user_ns;
uid = make_kuid(user_ns, 0);