[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160217205407.GD16757@mguzik>
Date: Wed, 17 Feb 2016 21:54:08 +0100
From: Mateusz Guzik <mguzik@...hat.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Zhao Lei <zhaolei@...fujitsu.com>,
containers@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Make core_pattern support namespace
On Wed, Feb 17, 2016 at 02:15:24PM -0600, Eric W. Biederman wrote:
> Mateusz Guzik <mguzik@...hat.com> writes:
> > On Tue, Feb 16, 2016 at 07:33:39PM +0800, Zhao Lei wrote:
> >> For container based on namespace design, it is good to allow
> >> each container keeping their own coredump setting.
> >
> > Sorry if this is a false alarm, I don't have easy means to test it, but
> > is not this an immediate privilege escalation?
>
> It is. This is why we do not currently have a per namespace setting.
>
Thanks for confimation.
> Solving the user mode helper problem is technically a fair amount of
> work, if not theoretically challenging.
>
Well, I would say custom core_patterns without pipe support are still
better than none.
Say one would ensure a stable core_pattern (i.e. that it cannot be
modified as it is being parsed) and a restricted set of allowed
characters in the pattern (which would not include the pipe), validated
when one attempts to set the pattern.
Does this sound acceptable? If so, and there are no counter ideas from
Lei, I can get around to that.
--
Mateusz Guzik
Powered by blists - more mailing lists