diff options
author | Davide Bettio <davide.bettio@ispirata.com> | 2015-05-15 16:36:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-15 16:36:28 +0200 |
commit | a2c7f25aec23b6d74ff5cf169e38159754e6dfe8 (patch) | |
tree | a6f08e48fb36b17096d2a8b1ccefe7959fb40666 /src/shared | |
parent | 42706f47c918b035dee82f4bad15bf6499592d1c (diff) |
core: don't consider umask for SocketMode=
https://bugs.freedesktop.org/show_bug.cgi?id=89248
Diffstat (limited to 'src/shared')
-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) { |