diff options
author | Michal Sekletar <msekleta@redhat.com> | 2014-11-12 13:53:27 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-04 03:00:01 +0100 |
commit | 9008e1ac925afcdef7b45042c03fa5444f1c52c2 (patch) | |
tree | bf56221d70f9c3acc210058e98294ba9f058aaf2 /src/core/scope.c | |
parent | fe0b9cd3ba25fb5063b6782983dde0a0c9915660 (diff) |
selinux: figure out selinux context applied on exec() before closing all fds
We need original socket_fd around otherwise mac_selinux_get_child_mls_label
fails with -EINVAL return code. Also don't call setexeccon twice but rather pass
context value of SELinuxContext option as an extra argument.
Diffstat (limited to 'src/core/scope.c')
0 files changed, 0 insertions, 0 deletions