chiark / gitweb /
systemctl: show exit code only if it is actually set
[elogind.git] / src / socket-util.h
index 841570f002ffc826a0e4b48c7d23a8fcdc767c11..86c9e47809c51a7f2725b6f37cbf857d19f45fd9 100644 (file)
@@ -26,7 +26,6 @@
 #include <netinet/in.h>
 #include <sys/un.h>
 #include <net/if.h>
-#include <selinux/selinux.h>
 
 #include "macro.h"
 #include "util.h"
@@ -72,7 +71,7 @@ int socket_address_listen(
                 bool free_bind,
                 mode_t directory_mode,
                 mode_t socket_mode,
-                security_context_t scon,
+                const char *label,
                 int *ret);
 
 bool socket_address_is(const SocketAddress *a, const char *s, int type);