diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-11-20 16:40:49 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-11-21 09:14:00 +0100 |
commit | 8d38b8ad56c74782a986e86ddbd2f7b652d661c6 (patch) | |
tree | 9c3c3f4bb50c77dec83172f4d38bf3725ecece33 /src/shared | |
parent | systemctl: define main through macro and call ask_password_agent_close() from... (diff) | |
download | systemd-8d38b8ad56c74782a986e86ddbd2f7b652d661c6.tar.xz systemd-8d38b8ad56c74782a986e86ddbd2f7b652d661c6.zip |
Call mac_selinux_close() from main func macros, convert user-sessions and test-udev
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/main-func.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/main-func.h b/src/shared/main-func.h index a2b9bc09e0..ab6b272117 100644 --- a/src/shared/main-func.h +++ b/src/shared/main-func.h @@ -4,6 +4,7 @@ #include <stdlib.h> #include "pager.h" +#include "selinux-util.h" #include "spawn-ask-password-agent.h" #include "spawn-polkit-agent.h" #include "static-destruct.h" @@ -15,6 +16,7 @@ static_destruct(); \ ask_password_agent_close(); \ polkit_agent_close(); \ + mac_selinux_finish(); \ pager_close(); \ return ret; \ } |