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


Groups > linux.kernel > #1567058

Re: linux-next: manual merge of the akpm-current tree with the userns tree

From ebiederm@xmission.com (Eric W. Biederman)
Newsgroups linux.kernel
Subject Re: linux-next: manual merge of the akpm-current tree with the userns tree
Date 2017-01-26 02:10 +0100
Message-ID <t3GJz-SE-1@gated-at.bofh.it> (permalink)
References <t3o0h-5TO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Stephen Rothwell <sfr@canb.auug.org.au> writes:

> Hi all,
>
> Today's linux-next merge of the akpm-current tree got a conflict in:
>
>   fs/proc/base.c
>
> between commit:
>
>   68eb94f16227 ("proc: Better ownership of files for non-dumpable tasks in user namespaces")
>
> from the userns tree and commit:
>
>   d15d29b5352f ("procfs: change the owner of non-dumpable and writeable files")
>
> from the akpm-current tree.
>
> I *think* that the former supercedes the latter?

Sort of.  After a long conversation it turns out what they are trying to
do is orthogonal.

The first (mine) is handling the case of non-dumpable tasks in user
namespaces.

The second by Aleksa Sarai is trying to trying to relax the permission
checks in proc so that non-dumpable is not as strict, to sort out some
runC issues where they are having challenges coding themselves into a
corner.  In the case of /proc/self I think there may be a case but in
general relaxing the permission checks in proc gives me the Heebie
Jeebies.

Andrew do you see merit in Aleksa's patch that I don't?  Otherwise can
you remove it from your tree?

> I fixed it up (I just used the former) and can carry the fix as
> necessary. This is now fixed as far as linux-next is concerned, but any
> non trivial conflicts should be mentioned to your upstream maintainer
> when your tree is submitted for merging.  You may also want to consider
> cooperating with the maintainer of the conflicting tree to minimise any
> particularly complex conflicts.

Stephen thank you for pointing this out.

Eric

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


Thread

linux-next: manual merge of the akpm-current tree with the userns  tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-01-25 06:10 +0100
  Re: linux-next: manual merge of the akpm-current tree with the userns tree ebiederm@xmission.com (Eric W. Biederman) - 2017-01-26 02:10 +0100
    Re: linux-next: manual merge of the akpm-current tree with the  userns tree Andrew Morton <akpm@linux-foundation.org> - 2017-01-26 02:50 +0100
      Re: linux-next: manual merge of the akpm-current tree with the  userns tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-01-26 05:00 +0100

csiph-web