diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/socket-label.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/shared/socket-label.c b/src/shared/socket-label.c index dfb8a1a431..cbe3ff216e 100644 --- a/src/shared/socket-label.c +++ b/src/shared/socket-label.c @@ -109,9 +109,6 @@ int socket_address_listen( /* Enforce the right access mode for the socket */ old_mask = umask(~ socket_mode); - /* Include the original umask in our mask */ - umask(~socket_mode | old_mask); - r = mac_selinux_bind(fd, &a->sockaddr.sa, a->size); if (r < 0 && errno == EADDRINUSE) { |