fix: change default permission of procfs to 0550

close: #I4NY49

Signed-off-by: Leon Chan <chenwei26@huawei.com>
This commit is contained in:
Leon Chan 2021-12-24 12:03:58 +08:00
parent f7932bd006
commit a776c04a3d
1 changed files with 1 additions and 1 deletions

View File

@ -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)