From a776c04a3da414f73ef7136a543c029cc6dd75be Mon Sep 17 00:00:00 2001 From: Leon Chan Date: Fri, 24 Dec 2021 12:03:58 +0800 Subject: [PATCH] fix: change default permission of procfs to 0550 close: #I4NY49 Signed-off-by: Leon Chan --- fs/proc/include/proc_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/include/proc_fs.h b/fs/proc/include/proc_fs.h index 9e25bd41..14bb5ff3 100644 --- a/fs/proc/include/proc_fs.h +++ b/fs/proc/include/proc_fs.h @@ -54,7 +54,7 @@ typedef unsigned short fmode_t; #define PROC_ERROR (-1) /* Default file mode for procfs */ -#define PROCFS_DEFAULT_MODE 0555 +#define PROCFS_DEFAULT_MODE 0550 /* 64bit hashes as llseek() offset (for directories) */ #define FMODE_64BITHASH ((fmode_t)0x400) -- GitLab