diff options
| author | Alexey Gladkov <[email protected]> | 2020-04-19 14:10:57 +0000 |
|---|---|---|
| committer | Eric W. Biederman <[email protected]> | 2020-04-22 15:51:22 +0000 |
| commit | e61bb8b36a287dddc71bdf30be775e7abcaa595c (patch) | |
| tree | b644552c07d20fb6cad94dcba7ce1de707d5c35c /fs/proc/base.c | |
| parent | proc: use human-readable values for hidepid (diff) | |
| download | kernel-e61bb8b36a287dddc71bdf30be775e7abcaa595c.tar.gz kernel-e61bb8b36a287dddc71bdf30be775e7abcaa595c.zip | |
proc: use named enums for better readability
Signed-off-by: Alexey Gladkov <[email protected]>
Reviewed-by: Alexey Dobriyan <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'fs/proc/base.c')
| -rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index a52a91e90c25..2868bff1a142 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -699,7 +699,7 @@ int proc_setattr(struct dentry *dentry, struct iattr *attr) */ static bool has_pid_permissions(struct proc_fs_info *fs_info, struct task_struct *task, - int hide_pid_min) + enum proc_hidepid hide_pid_min) { /* * If 'hidpid' mount option is set force a ptrace check, |
