提交 a776c04a 编写于 作者: L Leon Chan

fix: change default permission of procfs to 0550

close: #I4NY49
Signed-off-by: NLeon Chan <chenwei26@huawei.com>
上级 f7932bd0
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册