chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemctl: accept -p more than once
[elogind.git]
/
src
/
socket-util.h
diff --git
a/src/socket-util.h
b/src/socket-util.h
index 993972c458380bdff080980f9be2c7bf18fea509..841570f002ffc826a0e4b48c7d23a8fcdc767c11 100644
(file)
--- a/
src/socket-util.h
+++ b/
src/socket-util.h
@@
-26,6
+26,7
@@
#include <netinet/in.h>
#include <sys/un.h>
#include <net/if.h>
#include <netinet/in.h>
#include <sys/un.h>
#include <net/if.h>
+#include <selinux/selinux.h>
#include "macro.h"
#include "util.h"
#include "macro.h"
#include "util.h"
@@
-68,11
+69,13
@@
int socket_address_listen(
int backlog,
SocketAddressBindIPv6Only only,
const char *bind_to_device,
int backlog,
SocketAddressBindIPv6Only only,
const char *bind_to_device,
+ bool free_bind,
mode_t directory_mode,
mode_t socket_mode,
mode_t directory_mode,
mode_t socket_mode,
+ security_context_t scon,
int *ret);
int *ret);
-bool socket_address_is(const SocketAddress *a, const char *s);
+bool socket_address_is(const SocketAddress *a, const char *s
, int type
);
bool socket_address_equal(const SocketAddress *a, const SocketAddress *b);
bool socket_address_equal(const SocketAddress *a, const SocketAddress *b);