]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing_syscall: drop unnecessary definition of AT_EMPTY_PATH
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 3 Mar 2025 04:25:52 +0000 (13:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 3 Mar 2025 17:24:49 +0000 (02:24 +0900)
It is defined since glibc-2.14 (46998f745736b3c8df5901a27b6c2a19f5cc5e98),
and the value was never changed.

src/basic/missing_syscall.h

index 6bf9c0d5ae47aad58122e3f9436355710a85dfa1..ebdb1c30b95809df4470b61509c6f657f4f4cc5e 100644 (file)
@@ -191,8 +191,6 @@ static inline int missing_execveat(int dirfd, const char *pathname,
         return syscall(__NR_execveat, dirfd, pathname, argv, envp, flags);
 }
 
-#  undef AT_EMPTY_PATH
-#  define AT_EMPTY_PATH 0x1000
 #  define execveat missing_execveat
 #endif