diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-08-31 01:02:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-08-31 01:02:00 +0200 |
commit | f13e30d22a350168e5420cdb1fd9b6efbd092886 (patch) | |
tree | 4f730f78f8eb77799319f05a818d717696b82973 /src/socket-util.c | |
parent | de6c78f8795743894431a099d26ec562a8acf3df (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.c | 2 |
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 */ |