All of lore.kernel.org
 help / color / mirror / Atom feed
* + proc-pid-status-show-all-sets-of-pid-according-to-ns-fix.patch added to -mm tree
@ 2015-04-15 21:05 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-04-15 21:05 UTC (permalink / raw)
  To: akpm, chenhanxiao, ebiederm, nathans, serge.hallyn, mm-commits


The patch titled
     Subject: proc-pid-status-show-all-sets-of-pid-according-to-ns-fix
has been added to the -mm tree.  Its filename is
     proc-pid-status-show-all-sets-of-pid-according-to-ns-fix.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/proc-pid-status-show-all-sets-of-pid-according-to-ns-fix.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/proc-pid-status-show-all-sets-of-pid-according-to-ns-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: proc-pid-status-show-all-sets-of-pid-according-to-ns-fix

add CONFIG_PID_NS ifdef

Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Cc: Nathan Scott <nathans@redhat.com>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/proc/array.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN fs/proc/array.c~proc-pid-status-show-all-sets-of-pid-according-to-ns-fix fs/proc/array.c
--- a/fs/proc/array.c~proc-pid-status-show-all-sets-of-pid-according-to-ns-fix
+++ a/fs/proc/array.c
@@ -188,6 +188,7 @@ static inline void task_state(struct seq
 			   from_kgid_munged(user_ns, GROUP_AT(group_info, g)));
 	put_cred(cred);
 
+#ifdef CONFIG_PID_NS
 	seq_puts(m, "\nNStgid:");
 	for (g = ns->level; g <= pid->level; g++)
 		seq_printf(m, "\t%d",
@@ -204,6 +205,7 @@ static inline void task_state(struct seq
 	for (g = ns->level; g <= pid->level; g++)
 		seq_printf(m, "\t%d",
 			task_session_nr_ns(p, pid->numbers[g].ns));
+#endif
 	seq_putc(m, '\n');
 }
 
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

origin.patch
mm-memory-failurec-define-page-types-for-action_result-in-one-place.patch
document-interaction-between-compaction-and-the-unevictable-lru-fix.patch
mm-memcg-sync-allocation-and-memcg-charge-gfp-flags-for-thp-fix.patch
mm-vmalloc-occupy-newly-allocated-vmap-block-just-after-allocation.patch
mm-mmapc-use-while-instead-of-ifgoto-fix.patch
mm-hugetlb-introduce-pagehugeactive-flag-fix.patch
mm-hugetlb-cleanup-using-pagehugeactive-flag-fix.patch
mm-memblock-add-debug-output-for-the-memblock_add-fix.patch
mm-uninline-and-cleanup-page-mapping-related-helpers-checkpatch-fixes.patch
mm-cma-add-functions-to-get-region-pages-counters-fix.patch
mm-cma_debugc-remove-blank-lines-before-define_simple_attribute.patch
mm-memory-print-also-a_ops-readpage-in-print_bad_pte-fix.patch
mm-compactionc-fix-suitable_migration_target-unused-warning.patch
zsmalloc-support-compaction-fix.patch
proc-pid-status-show-all-sets-of-pid-according-to-ns-fix.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-15 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 21:05 + proc-pid-status-show-all-sets-of-pid-according-to-ns-fix.patch added to -mm tree akpm

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.