summaryrefslogtreecommitdiff
path: root/src/label.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-31 01:02:00 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-31 01:02:00 +0200
commitf13e30d22a350168e5420cdb1fd9b6efbd092886 (patch)
tree4f730f78f8eb77799319f05a818d717696b82973 /src/label.h
parentde6c78f8795743894431a099d26ec562a8acf3df (diff)
label: introduce label_bind() and make use of it where necessary
https://bugzilla.redhat.com/show_bug.cgi?id=729997
Diffstat (limited to 'src/label.h')
-rw-r--r--src/label.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/label.h b/src/label.h
index 6e48efaa07..ead44837a4 100644
--- a/src/label.h
+++ b/src/label.h
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <stdbool.h>
+#include <sys/socket.h>
int label_init(void);
void label_finish(void);
@@ -45,4 +46,6 @@ int label_mkdir(const char *path, mode_t mode);
void label_retest_selinux(void);
+int label_bind(int fd, const struct sockaddr *addr, socklen_t addrlen);
+
#endif