c/r: fs, proc: Move children entry back to tid_base_stuff
PATCH 1/1 c/r: fs, proc: Move children entry back to tid_base_stuff
While merging to linux-next the "children" entry jumped from tid_base_stuff to tgid_base_stuff by mistake.
Fix it, by moving it back.
Signed-off-by Cyrill Gorcunov <[email protected]>
Cc Oleg Nesterov <[email protected]>
Cc Kees Cook <[email protected]>
Cc Pavel Emelyanov <[email protected]>
Cc Serge Hallyn <[email protected]>
Cc KAMEZAWA Hiroyuki <[email protected]>
Cc Andrew Morton <[email protected]>
---
Andrew, I suspect this nit happened when the patch was merged to linux-next.
fs/proc/base.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
fs/proc/base.c +3 -3
@@ -2990,9 +2990,6 @@ static const struct pid_entry tgid_base_ONE ("stat" ,S_IRUGO , proc_tgid_stat),ONE ("statm" ,S_IRUGO , proc_pid_statm),REG ("maps" ,S_IRUGO , proc_pid_maps_operations), -#ifdef CONFIG_CHECKPOINT_RESTORE -REG ("children" ,S_IRUGO , proc_tid_children_operations), -#endif #ifdef CONFIG_NUMA REG("numa_maps", S_IRUGO, proc_pid_numa_maps_operations), #endif
@@ -3352,6 +3349,9 @@ static const struct pid_entry tid_base_sONE ("stat" ,S_IRUGO , proc_tid_stat),ONE ("statm" ,S_IRUGO , proc_pid_statm),REG ("maps" ,S_IRUGO , proc_tid_maps_operations), +#ifdef CONFIG_CHECKPOINT_RESTORE +REG ("children" ,S_IRUGO , proc_tid_children_operations), +#endif #ifdef CONFIG_NUMA REG("numa_maps", S_IRUGO, proc_tid_numa_maps_operations), #endif
Quoted 5 lines · Cyrill Gorcunov
While merging to linux-next the "children" entry jumped from
tid_base_stufftotgid_base_stuffby mistake.
Fix it, by moving it back.Signed-off-by Cyrill Gorcunov <[email protected]>
Acked-by Kees Cook <[email protected]>
Signature · 2 lines
Kees Cook Chrome OS Security