All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Make core_pattern support namespace
@ 2016-03-16  9:23 ` Zhao Lei
  0 siblings, 0 replies; 12+ messages in thread
From: Zhao Lei @ 2016-03-16  9:23 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Mateusz Guzik
  Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

We discussed patch titled:
 [PATCH] Make core_pattern support namespace
before.

Above patch can solve half problem of custom core_dump pattern
in container, but there are also another problem that limit
custom core_pattern in container, it is the pipe-type core_pattern
will write core dump into host's filesystem.
(See discussion of that patch for detail)

Now we can solve the second problem by [PATCH 1/2], I send
the origional patch with it.

Zhao Lei (2):
  Run dump pipe in container's namespace
  Make core_pattern support namespace

 arch/x86/kernel/process_32.c  |  5 +--
 arch/x86/kernel/process_64.c  |  5 +--
 fs/coredump.c                 | 79 +++++++++++++++++++++++++------------------
 include/linux/pid_namespace.h |  2 ++
 include/linux/sched.h         |  5 +--
 kernel/fork.c                 | 24 +++++++------
 kernel/pid.c                  |  1 +
 kernel/pid_namespace.c        |  3 ++
 kernel/sysctl.c               | 22 ++++++++----
 9 files changed, 92 insertions(+), 54 deletions(-)

-- 
1.8.5.1

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

end of thread, other threads:[~2016-03-17  2:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16  9:23 [PATCH 0/2] Make core_pattern support namespace Zhao Lei
2016-03-16  9:23 ` Zhao Lei
     [not found] ` <cover.1458119582.git.zhaolei-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-03-16  9:23   ` [PATCH 1/2] Run dump pipe in container's namespace Zhao Lei
2016-03-16  9:23     ` Zhao Lei
     [not found]     ` <f27cec06b90060f2c32691c432f624584f95d251.1458119582.git.zhaolei-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-03-16  9:43       ` kbuild test robot
2016-03-16  9:43         ` kbuild test robot
2016-03-16  9:23   ` [PATCH 2/2] Make core_pattern support namespace Zhao Lei
2016-03-16  9:23     ` Zhao Lei
2016-03-17  0:57   ` [PATCH 0/2] " Kamezawa Hiroyuki
2016-03-17  0:57     ` Kamezawa Hiroyuki
     [not found]     ` <56EA00FC.3030800-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2016-03-17  2:22       ` Zhao Lei
2016-03-17  2:22         ` Zhao Lei

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.