Re: [Devel] [PATCH] binfmt_misc: Allow mount if capable(CAP_SYS_ADMIN)

2016-06-22 Thread Andrey Ryabinin
On 06/22/2016 04:42 PM, Kirill Tkhai wrote: > The patch allows to mount binfmt_misc in a CT with ve0's admin caps, > and it's need that for CRIU dump. This time, unmounted binfmt_misc > may be forced mounted back, and we don't want to change CRIU's user_ns > to do that. > > Signed-off-by: Kirill T

[Devel] [PATCH] binfmt_misc: Allow mount if capable(CAP_SYS_ADMIN)

2016-06-22 Thread Kirill Tkhai
The patch allows to mount binfmt_misc in a CT with ve0's admin caps, and it's need that for CRIU dump. This time, unmounted binfmt_misc may be forced mounted back, and we don't want to change CRIU's user_ns to do that. Signed-off-by: Kirill Tkhai --- fs/binfmt_misc.c |2 +- 1 file changed, 1