--- IO-AIO/def0.h 2017/06/23 21:43:51 1.8 +++ IO-AIO/def0.h 2022/04/09 19:34:05 1.23 @@ -48,8 +48,8 @@ #ifndef POSIX_MADV_DONTNEED #define POSIX_MADV_DONTNEED 0 #endif -#ifndef POSIX_MADV_FREE -#define POSIX_MADV_FREE 0 +#ifndef O_ACCMODE +#define O_ACCMODE 0 #endif #ifndef O_RDONLY #define O_RDONLY 0 @@ -231,9 +231,51 @@ #ifndef MAP_STACK #define MAP_STACK 0 #endif +#ifndef MAP_FIXED_NOREPLACE +#define MAP_FIXED_NOREPLACE 0 +#endif +#ifndef MAP_SHARED_VALIDATE +#define MAP_SHARED_VALIDATE 0 +#endif +#ifndef MAP_SYNC +#define MAP_SYNC 0 +#endif +#ifndef MAP_UNINITIALIZED +#define MAP_UNINITIALIZED 0 +#endif +#ifndef MREMAP_MAYMOVE +#define MREMAP_MAYMOVE 0 +#endif +#ifndef MREMAP_FIXED +#define MREMAP_FIXED 0 +#endif +#ifndef MSG_CMSG_CLOEXEC +#define MSG_CMSG_CLOEXEC 0 +#endif +#ifndef SOCK_CLOEXEC +#define SOCK_CLOEXEC 0 +#endif #ifndef F_DUPFD_CLOEXEC #define F_DUPFD_CLOEXEC 0 #endif +#ifndef F_ADD_SEALS +#define F_ADD_SEALS 0 +#endif +#ifndef F_GET_SEALS +#define F_GET_SEALS 0 +#endif +#ifndef F_SEAL_SEAL +#define F_SEAL_SEAL 0 +#endif +#ifndef F_SEAL_SHRINK +#define F_SEAL_SHRINK 0 +#endif +#ifndef F_SEAL_GROW +#define F_SEAL_GROW 0 +#endif +#ifndef F_SEAL_WRITE +#define F_SEAL_WRITE 0 +#endif #ifndef F_OFD_GETLK #define F_OFD_GETLK 0 #endif @@ -453,3 +495,279 @@ #ifndef SPLICE_F_GIFT #define SPLICE_F_GIFT 0 #endif +#ifndef EFD_CLOEXEC +#define EFD_CLOEXEC 0 +#endif +#ifndef EFD_NONBLOCK +#define EFD_NONBLOCK 0 +#endif +#ifndef EFD_SEMAPHORE +#define EFD_SEMAPHORE 0 +#endif +#ifndef MFD_CLOEXEC +#define MFD_CLOEXEC 0 +#endif +#ifndef MFD_ALLOW_SEALING +#define MFD_ALLOW_SEALING 0 +#endif +#ifndef MFD_HUGETLB +#define MFD_HUGETLB 0 +#endif +#ifndef MFD_HUGETLB_2MB +#define MFD_HUGETLB_2MB 0 +#endif +#ifndef MFD_HUGETLB_1GB +#define MFD_HUGETLB_1GB 0 +#endif +#ifndef CLOCK_REALTIME +#define CLOCK_REALTIME 0 +#endif +#ifndef CLOCK_MONOTONIC +#define CLOCK_MONOTONIC 0 +#endif +#ifndef CLOCK_BOOTTIME +#define CLOCK_BOOTTIME 0 +#endif +#ifndef CLOCK_REALTIME_ALARM +#define CLOCK_REALTIME_ALARM 0 +#endif +#ifndef CLOCK_BOOTTIME_ALARM +#define CLOCK_BOOTTIME_ALARM 0 +#endif +#ifndef TFD_NONBLOCK +#define TFD_NONBLOCK 0 +#endif +#ifndef TFD_CLOEXEC +#define TFD_CLOEXEC 0 +#endif +#ifndef TFD_TIMER_ABSTIME +#define TFD_TIMER_ABSTIME 0 +#endif +#ifndef TFD_TIMER_CANCEL_ON_SET +#define TFD_TIMER_CANCEL_ON_SET 0 +#endif +#ifndef STATX_TYPE +#define STATX_TYPE 0 +#endif +#ifndef STATX_MODE +#define STATX_MODE 0 +#endif +#ifndef STATX_NLINK +#define STATX_NLINK 0 +#endif +#ifndef STATX_UID +#define STATX_UID 0 +#endif +#ifndef STATX_GID +#define STATX_GID 0 +#endif +#ifndef STATX_ATIME +#define STATX_ATIME 0 +#endif +#ifndef STATX_MTIME +#define STATX_MTIME 0 +#endif +#ifndef STATX_CTIME +#define STATX_CTIME 0 +#endif +#ifndef STATX_INO +#define STATX_INO 0 +#endif +#ifndef STATX_SIZE +#define STATX_SIZE 0 +#endif +#ifndef STATX_BLOCKS +#define STATX_BLOCKS 0 +#endif +#ifndef STATX_BASIC_STATS +#define STATX_BASIC_STATS 0 +#endif +#ifndef STATX_ALL +#define STATX_ALL 0 +#endif +#ifndef STATX_BTIME +#define STATX_BTIME 0 +#endif +#ifndef STATX_ATTR_COMPRESSED +#define STATX_ATTR_COMPRESSED 0 +#endif +#ifndef STATX_ATTR_IMMUTABLE +#define STATX_ATTR_IMMUTABLE 0 +#endif +#ifndef STATX_ATTR_APPEND +#define STATX_ATTR_APPEND 0 +#endif +#ifndef STATX_ATTR_NODUMP +#define STATX_ATTR_NODUMP 0 +#endif +#ifndef STATX_ATTR_ENCRYPTED +#define STATX_ATTR_ENCRYPTED 0 +#endif +#ifndef STATX_ATTR_AUTOMOUNT +#define STATX_ATTR_AUTOMOUNT 0 +#endif +#ifndef AT_FDCWD +#define AT_FDCWD 0 +#endif +#ifndef AT_SYMLINK_NOFOLLOW +#define AT_SYMLINK_NOFOLLOW 0 +#endif +#ifndef AT_EACCESS +#define AT_EACCESS 0 +#endif +#ifndef AT_REMOVEDIR +#define AT_REMOVEDIR 0 +#endif +#ifndef AT_SYMLINK_FOLLOW +#define AT_SYMLINK_FOLLOW 0 +#endif +#ifndef AT_NO_AUTOMOUNT +#define AT_NO_AUTOMOUNT 0 +#endif +#ifndef AT_EMPTY_PATH +#define AT_EMPTY_PATH 0 +#endif +#ifndef AT_STATX_SYNC_TYPE +#define AT_STATX_SYNC_TYPE 0 +#endif +#ifndef AT_STATX_AS_STAT +#define AT_STATX_AS_STAT 0 +#endif +#ifndef AT_STATX_FORCE_SYNC +#define AT_STATX_FORCE_SYNC 0 +#endif +#ifndef AT_STATX_DONT_SYNC +#define AT_STATX_DONT_SYNC 0 +#endif +#ifndef AT_RECURSIVE +#define AT_RECURSIVE 0 +#endif +#ifndef OPEN_TREE_CLONE +#define OPEN_TREE_CLONE 0 +#endif +#ifndef FSOPEN_CLOEXEC +#define FSOPEN_CLOEXEC 0 +#endif +#ifndef FSPICK_CLOEXEC +#define FSPICK_CLOEXEC 0 +#endif +#ifndef FSPICK_SYMLINK_NOFOLLOW +#define FSPICK_SYMLINK_NOFOLLOW 0 +#endif +#ifndef FSPICK_NO_AUTOMOUNT +#define FSPICK_NO_AUTOMOUNT 0 +#endif +#ifndef FSPICK_EMPTY_PATH +#define FSPICK_EMPTY_PATH 0 +#endif +#ifndef MOVE_MOUNT_F_SYMLINKS +#define MOVE_MOUNT_F_SYMLINKS 0 +#endif +#ifndef MOVE_MOUNT_F_AUTOMOUNTS +#define MOVE_MOUNT_F_AUTOMOUNTS 0 +#endif +#ifndef MOVE_MOUNT_F_EMPTY_PATH +#define MOVE_MOUNT_F_EMPTY_PATH 0 +#endif +#ifndef MOVE_MOUNT_T_SYMLINKS +#define MOVE_MOUNT_T_SYMLINKS 0 +#endif +#ifndef MOVE_MOUNT_T_AUTOMOUNTS +#define MOVE_MOUNT_T_AUTOMOUNTS 0 +#endif +#ifndef MOVE_MOUNT_T_EMPTY_PATH +#define MOVE_MOUNT_T_EMPTY_PATH 0 +#endif +#ifndef P_PID +#define P_PID 0 +#endif +#ifndef P_PIDFD +#define P_PIDFD 0 +#endif +#ifndef P_PGID +#define P_PGID 0 +#endif +#ifndef P_ALL +#define P_ALL 0 +#endif +#ifndef FSCONFIG_SET_FLAG +#define FSCONFIG_SET_FLAG 0 +#endif +#ifndef FSCONFIG_SET_STRING +#define FSCONFIG_SET_STRING 0 +#endif +#ifndef FSCONFIG_SET_BINARY +#define FSCONFIG_SET_BINARY 0 +#endif +#ifndef FSCONFIG_SET_PATH +#define FSCONFIG_SET_PATH 0 +#endif +#ifndef FSCONFIG_SET_PATH_EMPTY +#define FSCONFIG_SET_PATH_EMPTY 0 +#endif +#ifndef FSCONFIG_SET_FD +#define FSCONFIG_SET_FD 0 +#endif +#ifndef FSCONFIG_CMD_CREATE +#define FSCONFIG_CMD_CREATE 0 +#endif +#ifndef FSCONFIG_CMD_RECONFIGURE +#define FSCONFIG_CMD_RECONFIGURE 0 +#endif +#ifndef MOUNT_ATTR_RDONLY +#define MOUNT_ATTR_RDONLY 0 +#endif +#ifndef MOUNT_ATTR_NOSUID +#define MOUNT_ATTR_NOSUID 0 +#endif +#ifndef MOUNT_ATTR_NODEV +#define MOUNT_ATTR_NODEV 0 +#endif +#ifndef MOUNT_ATTR_NOEXEC +#define MOUNT_ATTR_NOEXEC 0 +#endif +#ifndef MOUNT_ATTR__ATIME +#define MOUNT_ATTR__ATIME 0 +#endif +#ifndef MOUNT_ATTR_RELATIME +#define MOUNT_ATTR_RELATIME 0 +#endif +#ifndef MOUNT_ATTR_NOATIME +#define MOUNT_ATTR_NOATIME 0 +#endif +#ifndef MOUNT_ATTR_STRICTATIME +#define MOUNT_ATTR_STRICTATIME 0 +#endif +#ifndef MOUNT_ATTR_NODIRATIME +#define MOUNT_ATTR_NODIRATIME 0 +#endif +#if HAVE_SYSCALL +# if __linux__ && !defined(SYS_pidfd_open) +# define SYS_pidfd_open 434 +# endif +#else +# undef SYS_pidfd_open +#endif +#ifndef SYS_pidfd_open +# define SYS_pidfd_open -1 +#endif +#if HAVE_SYSCALL +# if __linux__ && !defined(SYS_pidfd_send_signal) +# define SYS_pidfd_send_signal 424 +# endif +#else +# undef SYS_pidfd_send_signal +#endif +#ifndef SYS_pidfd_send_signal +# define SYS_pidfd_send_signal -1 +#endif +#if HAVE_SYSCALL +# if __linux__ && !defined(SYS_pidfd_getfd) +# define SYS_pidfd_getfd 438 +# endif +#else +# undef SYS_pidfd_getfd +#endif +#ifndef SYS_pidfd_getfd +# define SYS_pidfd_getfd -1 +#endif