fix: change default permission of procfs to 0550
close: #I4NY49 Signed-off-by: Leon Chan <chenwei26@huawei.com>
This commit is contained in:
parent
f7932bd006
commit
a776c04a3d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue