procfs: mem: Change permission to 0600

It's 0400 in RHEL-5 and 6, but changed to 0600 in RHEL-7 and 8.

Change-Id: I9fb229e4c447eaa4570b1e2619c4fe039c07c86d
This commit is contained in:
Masamichi Takagi
2019-08-15 13:32:47 +09:00
parent 51cd7cbb6c
commit 0615a0b00b

View File

@ -1110,7 +1110,7 @@ static const struct procfs_entry pid_entry_stuff[] = {
// PROC_LNK("exe", mckernel_readlink),
// PROC_REG("limits", S_IRUSR|S_IWUSR, NULL),
PROC_REG("maps", 0444, &mckernel_buff_io),
PROC_REG("mem", 0400, NULL),
PROC_REG("mem", 0600, NULL),
PROC_REG("pagemap", 0444, NULL),
// PROC_REG("smaps", S_IRUGO, NULL),
PROC_REG("stat", 0444, &mckernel_buff_io),