Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-08 Thread Laurent Vivier
Le 08/10/2018 à 13:26, Jann Horn a écrit : > On Sat, Oct 6, 2018 at 9:36 PM Laurent Vivier wrote: >> This patch allows to have a different binfmt_misc configuration >> for each new user namespace. By default, the binfmt_misc configuration >> is the one of the previous level, but if the

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-08 Thread Laurent Vivier
Le 08/10/2018 à 13:26, Jann Horn a écrit : > On Sat, Oct 6, 2018 at 9:36 PM Laurent Vivier wrote: >> This patch allows to have a different binfmt_misc configuration >> for each new user namespace. By default, the binfmt_misc configuration >> is the one of the previous level, but if the

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-08 Thread Jann Horn
On Sat, Oct 6, 2018 at 9:36 PM Laurent Vivier wrote: > This patch allows to have a different binfmt_misc configuration > for each new user namespace. By default, the binfmt_misc configuration > is the one of the previous level, but if the binfmt_misc filesystem is > mounted in the new namespace a

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-08 Thread Jann Horn
On Sat, Oct 6, 2018 at 9:36 PM Laurent Vivier wrote: > This patch allows to have a different binfmt_misc configuration > for each new user namespace. By default, the binfmt_misc configuration > is the one of the previous level, but if the binfmt_misc filesystem is > mounted in the new namespace a

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-07 Thread Andrei Vagin
On Sat, Oct 06, 2018 at 09:35:46PM +0200, Laurent Vivier wrote: > This patch allows to have a different binfmt_misc configuration > for each new user namespace. By default, the binfmt_misc configuration > is the one of the previous level, but if the binfmt_misc filesystem is > mounted in the new

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-07 Thread Andrei Vagin
On Sat, Oct 06, 2018 at 09:35:46PM +0200, Laurent Vivier wrote: > This patch allows to have a different binfmt_misc configuration > for each new user namespace. By default, the binfmt_misc configuration > is the one of the previous level, but if the binfmt_misc filesystem is > mounted in the new

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-07 Thread Laurent Vivier
Le 07/10/2018 à 07:02, Serge E. Hallyn a écrit : > On Sat, Oct 06, 2018 at 09:35:46PM +0200, Laurent Vivier wrote: >> This patch allows to have a different binfmt_misc configuration >> for each new user namespace. By default, the binfmt_misc configuration >> is the one of the previous level, but

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-07 Thread Laurent Vivier
Le 07/10/2018 à 07:02, Serge E. Hallyn a écrit : > On Sat, Oct 06, 2018 at 09:35:46PM +0200, Laurent Vivier wrote: >> This patch allows to have a different binfmt_misc configuration >> for each new user namespace. By default, the binfmt_misc configuration >> is the one of the previous level, but

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-06 Thread Serge E. Hallyn
On Sat, Oct 06, 2018 at 09:35:46PM +0200, Laurent Vivier wrote: > This patch allows to have a different binfmt_misc configuration > for each new user namespace. By default, the binfmt_misc configuration > is the one of the previous level, but if the binfmt_misc filesystem is > mounted in the new

Re: [RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-06 Thread Serge E. Hallyn
On Sat, Oct 06, 2018 at 09:35:46PM +0200, Laurent Vivier wrote: > This patch allows to have a different binfmt_misc configuration > for each new user namespace. By default, the binfmt_misc configuration > is the one of the previous level, but if the binfmt_misc filesystem is > mounted in the new

[RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-06 Thread Laurent Vivier
This patch allows to have a different binfmt_misc configuration for each new user namespace. By default, the binfmt_misc configuration is the one of the previous level, but if the binfmt_misc filesystem is mounted in the new namespace a new empty binfmt instance is created and used in this

[RFC v4 1/1] ns: add binfmt_misc to the user namespace

2018-10-06 Thread Laurent Vivier
This patch allows to have a different binfmt_misc configuration for each new user namespace. By default, the binfmt_misc configuration is the one of the previous level, but if the binfmt_misc filesystem is mounted in the new namespace a new empty binfmt instance is created and used in this