Re: [systemd-devel] [PATCH 1/2] test: update policy tests to handle user namespaces

2014-09-08 Thread Djalal Harouni
On Mon, Sep 08, 2014 at 03:32:21PM +0200, Daniel Mack wrote: > On 09/08/2014 03:18 PM, Djalal Harouni wrote: > > Upstream kernels allow unprivileged users to create user namespaces > > and change their uid/gid. > > > > These patches update kdbus policy logic to handle this case and > > improve our

Re: [systemd-devel] [PATCH 1/2] test: update policy tests to handle user namespaces

2014-09-08 Thread Daniel Mack
On 09/08/2014 03:18 PM, Djalal Harouni wrote: > Upstream kernels allow unprivileged users to create user namespaces > and change their uid/gid. > > These patches update kdbus policy logic to handle this case and > improve our current checks across user namespaces. > > So this patch adds: > > * k

[systemd-devel] [PATCH 1/2] test: update policy tests to handle user namespaces

2014-09-08 Thread Djalal Harouni
Upstream kernels allow unprivileged users to create user namespaces and change their uid/gid. These patches update kdbus policy logic to handle this case and improve our current checks across user namespaces. So this patch adds: * kdbus_test_waitpid() to get exit code of childs. * kdbus_clone_us