diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-12-13 12:11:29 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-12-13 14:39:30 +0100 |
commit | 2053593fccabc179881ed7a9b57afcaa8a878cd4 (patch) | |
tree | e29a100b48891b1e92137e44c74de76315a343ec /coccinelle | |
parent | nspawn: realign columns (diff) | |
download | systemd-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 'coccinelle')
-rw-r--r-- | coccinelle/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coccinelle/macros.h b/coccinelle/macros.h index f44b3f2d26..adfea5fbec 100644 --- a/coccinelle/macros.h +++ b/coccinelle/macros.h @@ -43,7 +43,7 @@ // src/basic/umask-util.h #define _cleanup_umask_ -#define RUN_WITH_UMASK(mask) \ +#define WITH_UMASK(mask) \ for (_cleanup_umask_ mode_t _saved_umask_ = umask(mask) | S_IFMT; \ FLAGS_SET(_saved_umask_, S_IFMT); \ _saved_umask_ &= 0777) |