From: Yu Watanabe Date: Mon, 3 Mar 2025 04:25:52 +0000 (+0900) Subject: missing_syscall: drop unnecessary definition of AT_EMPTY_PATH X-Git-Tag: v258-rc1~1195^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b557580fe111ad20a962c84a5887d90045a3237;p=thirdparty%2Fsystemd.git missing_syscall: drop unnecessary definition of AT_EMPTY_PATH It is defined since glibc-2.14 (46998f745736b3c8df5901a27b6c2a19f5cc5e98), and the value was never changed. --- diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 6bf9c0d5ae4..ebdb1c30b95 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -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