Re: [systemd-devel] [PATCH 2/2] selinux: set selinux context applied on exec() before closing all fds

2014-10-13 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Oct 13, 2014 at 04:57:13PM +0200, Michal Sekletar wrote: > We need original socket_fd around otherwise label_get_child_mls_label fails > with > -EINVAL return code. > --- > src/core/execute.c | 58 > -- > 1 file changed, 30 insertions(+

[systemd-devel] [PATCH 2/2] selinux: set selinux context applied on exec() before closing all fds

2014-10-13 Thread Michal Sekletar
We need original socket_fd around otherwise label_get_child_mls_label fails with -EINVAL return code. --- src/core/execute.c | 58 -- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/src/core/execute.c b/src/core/execute.c index b1