summaryrefslogtreecommitdiffstats
path: root/src/shared/socket-label.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-12-13 12:11:29 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-12-13 14:39:30 +0100
commit2053593fccabc179881ed7a9b57afcaa8a878cd4 (patch)
treee29a100b48891b1e92137e44c74de76315a343ec /src/shared/socket-label.c
parentnspawn: realign columns (diff)
downloadsystemd-2053593fccabc179881ed7a9b57afcaa8a878cd4.tar.xz
systemd-2053593fccabc179881ed7a9b57afcaa8a878cd4.zip
treewide: drop "RUN_" from "RUN_WITH_UMASK"
RUN_WITH_UMASK was initially conceived for spawning externals progs with the umask set. But nowadays we use it various syscalls and stuff that doesn't "run" anything, so the "RUN_" prefix has outlived its usefulness.
Diffstat (limited to 'src/shared/socket-label.c')
-rw-r--r--src/shared/socket-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/socket-label.c b/src/shared/socket-label.c
index 8094ad7643..5195ca410c 100644
--- a/src/shared/socket-label.c
+++ b/src/shared/socket-label.c
@@ -101,7 +101,7 @@ int socket_address_listen(
(void) mkdir_parents_label(p, directory_mode);
/* Enforce the right access mode for the socket */
- RUN_WITH_UMASK(~socket_mode) {
+ WITH_UMASK(~socket_mode) {
r = mac_selinux_bind(fd, &a->sockaddr.sa, a->size);
if (r == -EADDRINUSE) {
/* Unlink and try again */