All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Make core_pattern support namespace
@ 2016-03-18 12:48 ` Zhao Lei
  0 siblings, 0 replies; 28+ messages in thread
From: Zhao Lei @ 2016-03-18 12:48 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	Eric W. Biederman

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 2/3], I send
the origional patch with it.

Changelog v1->v2:
1: Fix compile fail in xtensa which is reported by
   kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2: Use a wapper to avoid calling _do_fork() outside kernel/fork.c,
   suggested by: Kamezawa Hiroyuki <kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>

Zhao Lei (3):
  Make _do_fork support return to caller's code
  Run dump pipe in container's namespace
  Make core_pattern support namespace

 arch/alpha/kernel/process.c         |  4 +-
 arch/arc/kernel/process.c           |  4 +-
 arch/arm/kernel/process.c           |  4 +-
 arch/arm64/kernel/process.c         |  5 ++-
 arch/avr32/kernel/process.c         |  5 ++-
 arch/blackfin/kernel/process.c      |  5 ++-
 arch/c6x/kernel/process.c           |  5 ++-
 arch/cris/arch-v10/kernel/process.c |  4 +-
 arch/cris/arch-v32/kernel/process.c |  4 +-
 arch/frv/kernel/process.c           |  4 +-
 arch/h8300/kernel/process.c         |  4 +-
 arch/hexagon/kernel/process.c       |  4 +-
 arch/ia64/kernel/process.c          |  4 +-
 arch/m32r/kernel/process.c          |  4 +-
 arch/m68k/kernel/process.c          |  4 +-
 arch/metag/kernel/process.c         |  5 ++-
 arch/microblaze/kernel/process.c    |  4 +-
 arch/mips/kernel/process.c          |  4 +-
 arch/mn10300/kernel/process.c       |  4 +-
 arch/nios2/kernel/process.c         |  5 ++-
 arch/openrisc/kernel/process.c      |  4 +-
 arch/parisc/kernel/process.c        |  5 ++-
 arch/powerpc/kernel/process.c       |  5 ++-
 arch/s390/kernel/process.c          |  4 +-
 arch/score/kernel/process.c         |  4 +-
 arch/sh/kernel/process_32.c         |  4 +-
 arch/sh/kernel/process_64.c         |  4 +-
 arch/sparc/kernel/process_32.c      |  4 +-
 arch/sparc/kernel/process_64.c      |  4 +-
 arch/tile/kernel/process.c          |  4 +-
 arch/um/kernel/process.c            | 22 ++++++-----
 arch/unicore32/kernel/process.c     |  4 +-
 arch/x86/kernel/process_32.c        |  5 ++-
 arch/x86/kernel/process_64.c        |  5 ++-
 arch/xtensa/kernel/process.c        |  5 ++-
 fs/coredump.c                       | 79 ++++++++++++++++++++++---------------
 include/linux/pid_namespace.h       |  2 +
 include/linux/sched.h               | 12 +++---
 kernel/fork.c                       | 30 +++++++++-----
 kernel/pid.c                        |  1 +
 kernel/pid_namespace.c              |  3 ++
 kernel/sysctl.c                     | 22 ++++++++---
 42 files changed, 187 insertions(+), 131 deletions(-)

-- 
1.8.5.1

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

end of thread, other threads:[~2016-03-23 20:05 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 12:48 [PATCH v2 0/3] Make core_pattern support namespace Zhao Lei
2016-03-18 12:48 ` Zhao Lei
     [not found] ` <cover.1458305141.git.zhaolei-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-03-18 12:48   ` [PATCH v2 1/3] Make _do_fork support return to caller's code Zhao Lei
2016-03-18 12:48     ` Zhao Lei
2016-03-18 12:48   ` [PATCH v2 2/3] Run dump pipe in container's namespace Zhao Lei
2016-03-18 12:48     ` Zhao Lei
     [not found]     ` <a1ac975a165b63c8ee67f9785e50067be41a74ff.1458305141.git.zhaolei-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-03-18 14:06       ` kbuild test robot
2016-03-18 14:06         ` kbuild test robot
2016-03-18 12:48   ` [PATCH v2 3/3] Make core_pattern support namespace Zhao Lei
2016-03-18 12:48     ` Zhao Lei
     [not found]     ` <77053bb2bdd21489e09b6ef362044d283e1ba12b.1458305141.git.zhaolei-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-03-21  6:00       ` Eric W. Biederman
2016-03-21  6:00         ` Eric W. Biederman
     [not found]         ` <87twk0tlok.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org>
2016-03-21  7:16           ` Zhao Lei
2016-03-21  7:16             ` Zhao Lei
2016-03-21  8:14             ` Eric W. Biederman
2016-03-21  8:14               ` Eric W. Biederman
     [not found]               ` <87shzkqmc8.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org>
2016-03-21 10:09                 ` Zhao Lei
2016-03-21 10:09                   ` Zhao Lei
2016-03-21 21:24                   ` Eric W. Biederman
2016-03-21 21:24                     ` Eric W. Biederman
     [not found]                     ` <878u1bo772.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org>
2016-03-22  1:38                       ` Zhao Lei
2016-03-22  1:38                         ` Zhao Lei
2016-03-22 22:42                         ` Eric W. Biederman
2016-03-22 22:42                           ` Eric W. Biederman
     [not found]                           ` <87lh5am8wu.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org>
2016-03-23 11:58                             ` Zhao Lei
2016-03-23 11:58                               ` Zhao Lei
2016-03-23 19:54                               ` Eric W. Biederman
2016-03-23 19:54                                 ` Eric W. Biederman

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.