From c6eb50d2790478d8b5841379b9502812a5e5feb3 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 30 Sep 2017 14:45:42 -0400 Subject: mode_t whack-a-mole: task_dump_owner() should be umode_t... Signed-off-by: Al Viro --- fs/proc/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/proc/base.c') diff --git a/fs/proc/base.c b/fs/proc/base.c index ad3b0762cc3e..0a17e52a3d18 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -1681,7 +1681,7 @@ const struct inode_operations proc_pid_link_inode_operations = { /* building an inode */ -void task_dump_owner(struct task_struct *task, mode_t mode, +void task_dump_owner(struct task_struct *task, umode_t mode, kuid_t *ruid, kgid_t *rgid) { /* Depending on the state of dumpable compute who should own a -- cgit v1.2.3