summaryrefslogtreecommitdiff
path: root/src/socket-util.c
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/socket-util.c
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/socket-util.c')
-rw-r--r--src/socket-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket-util.c b/src/socket-util.c
index e2e89886d4..acc4d33372 100644
--- a/src/socket-util.c
+++ b/src/socket-util.c
@@ -458,7 +458,7 @@ int socket_address_listen(
/* Include the original umask in our mask */
umask(~socket_mode | old_mask);
- r = bind(fd, &a->sockaddr.sa, a->size);
+ r = label_bind(fd, &a->sockaddr.sa, a->size);
if (r < 0 && errno == EADDRINUSE) {
/* Unlink and try again */