procfs: handle 'comm' on mckernel side

Change-Id: Ie68514ba3e5161b931b88eeee9e8a2267ee69354
This commit is contained in:
Dominique Martinet
2018-08-30 14:14:24 +09:00
committed by Masamichi Takagi
parent a032dc3d1b
commit c86d168165
2 changed files with 22 additions and 3 deletions

View File

@ -1102,7 +1102,7 @@ static const struct procfs_entry pid_entry_stuff[] = {
// PROC_REG("cgroup", S_IXUSR, NULL),
// PROC_REG("clear_refs", S_IWUSR, NULL),
PROC_REG("cmdline", 0444, &mckernel_buff_io),
// PROC_REG("comm", S_IRUGO|S_IWUSR, NULL),
PROC_REG("comm", 0644, &mckernel_buff_io),
// PROC_REG("coredump_filter", S_IRUGO|S_IWUSR, NULL),
// PROC_REG("cpuset", S_IRUGO, NULL),
// PROC_REG("environ", S_IRUSR, NULL),