All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm] c/r: fs, proc: Move children entry back to tid_base_stuff
@ 2012-04-25 10:40 Cyrill Gorcunov
  2012-04-25 17:58 ` Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Cyrill Gorcunov @ 2012-04-25 10:40 UTC (permalink / raw)
  To: Andrew Morton
  Cc: LKML, Oleg Nesterov, Kees Cook, Pavel Emelyanov, Serge Hallyn,
	KAMEZAWA Hiroyuki

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 <gorcunov@openvz.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
---

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(-)

Index: linux-2.6.git/fs/proc/base.c
===================================================================
--- linux-2.6.git.orig/fs/proc/base.c
+++ linux-2.6.git/fs/proc/base.c
@@ -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_s
 	ONE("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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -mm] c/r: fs, proc: Move children entry back to tid_base_stuff
  2012-04-25 10:40 [PATCH -mm] c/r: fs, proc: Move children entry back to tid_base_stuff Cyrill Gorcunov
@ 2012-04-25 17:58 ` Kees Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2012-04-25 17:58 UTC (permalink / raw)
  To: Cyrill Gorcunov
  Cc: Andrew Morton, LKML, Oleg Nesterov, Pavel Emelyanov,
	Serge Hallyn, KAMEZAWA Hiroyuki

On Wed, Apr 25, 2012 at 3:40 AM, Cyrill Gorcunov <gorcunov@openvz.org> wrote:
> 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 <gorcunov@openvz.org>

Acked-by: Kees Cook <keescook@chromium.org>

-- 
Kees Cook
Chrome OS Security

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-25 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 10:40 [PATCH -mm] c/r: fs, proc: Move children entry back to tid_base_stuff Cyrill Gorcunov
2012-04-25 17:58 ` Kees Cook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.