Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1359498

Re: [PATCH 0/2] Make core_pattern support namespace

From Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] Make core_pattern support namespace
Date 2016-03-17 02:00 +0100
Message-ID <rdus9-8po-7@gated-at.bofh.it> (permalink)
References <rdfWa-72X-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2016/03/16 18:23, Zhao Lei wrote:
> 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.
> 

Let me know your design...

This patch does using fork+execve() rather than calling UMH in pipe-coredump pass.
And coredump-pipe process is run as a child of get-dumped process.
Right ?

Doesn't this break existing solution actually used in distro ?

BTW, it's first time for me to see that _do_fork() is called outside from fork.c.
Isn't it better to add a new func in fork.c if we really need this ?

Thanks,
-Kame

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Make core_pattern support namespace Zhao Lei <zhaolei@cn.fujitsu.com> - 2016-03-16 10:30 +0100
  [PATCH 1/2] Run dump pipe in container's namespace Zhao Lei <zhaolei@cn.fujitsu.com> - 2016-03-16 10:30 +0100
  Re: [PATCH 0/2] Make core_pattern support namespace Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2016-03-17 02:00 +0100
    RE: [PATCH 0/2] Make core_pattern support namespace Zhao Lei <zhaolei@cn.fujitsu.com> - 2016-03-17 03:30 +0100

csiph-web