From: Zhao Lei <zhaolei@cn.fujitsu.com>
To: <linux-kernel@vger.kernel.org>
Cc: <containers@lists.linux-foundation.org>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Mateusz Guzik <mguzik@redhat.com>,
Zhao Lei <zhaolei@cn.fujitsu.com>
Subject: [PATCH v2 0/3] Make core_pattern support namespace
Date: Fri, 18 Mar 2016 20:48:32 +0800 [thread overview]
Message-ID: <cover.1458305141.git.zhaolei@cn.fujitsu.com> (raw)
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@intel.com>
2: Use a wapper to avoid calling _do_fork() outside kernel/fork.c,
suggested by: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
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
next reply other threads:[~2016-03-18 12:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 12:48 Zhao Lei [this message]
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 ` [PATCH v2 2/3] Run dump pipe in container's namespace Zhao Lei
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-21 6:00 ` Eric W. Biederman
2016-03-21 7:16 ` Zhao Lei
2016-03-21 8:14 ` Eric W. Biederman
2016-03-21 10:09 ` Zhao Lei
2016-03-21 21:24 ` Eric W. Biederman
2016-03-22 1:38 ` Zhao Lei
2016-03-22 22:42 ` Eric W. Biederman
2016-03-23 11:58 ` Zhao Lei
2016-03-23 19:54 ` Eric W. Biederman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1458305141.git.zhaolei@cn.fujitsu.com \
--to=zhaolei@cn.fujitsu.com \
--cc=containers@lists.linux-foundation.org \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mguzik@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox