[lxc-devel] [PATCH 1/9] lxc_user_nic: add a check to make sure caller owns target netns

2013-11-19 Thread Serge Hallyn
From: Serge Hallyn serge.hal...@ubuntu.com Temporarily set our euid back to the calling ruid, so that the access(2) check can succeed based on the euid being the userns creator. Also switch from atoi to strtol Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com --- src/lxc/lxc_user_nic.c | 64

Re: [lxc-devel] [PATCH 1/9] lxc_user_nic: add a check to make sure caller owns target netns

2013-11-19 Thread Stéphane Graber
On Tue, Nov 19, 2013 at 04:17:44PM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com Temporarily set our euid back to the calling ruid, so that the access(2) check can succeed based on the euid being the userns creator. Also switch from atoi to strtol Signed-off-by: