aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/sys_amd64.const
diff options
context:
space:
mode:
authorJiaheng Hu <jiahengh@google.com>2020-06-23 19:37:13 +0000
committerEric Biggers <ebiggers3@gmail.com>2020-06-24 12:08:15 -0700
commit9d60b18e94847a3e124d344a2255a75fb175c06c (patch)
tree53c03e891f454a278f86bb7fdc7c6dbfe2b1ee08 /sys/linux/sys_amd64.const
parent41694dbf71b60ba591c77619e7a68e532eb6db6e (diff)
sys/linux: add openat2 description
Added the openat2 syscall for file and for directory. Details of the syscall can be seen at https://man7.org/linux/man-pages/man2/openat2.2.html.
Diffstat (limited to 'sys/linux/sys_amd64.const')
-rw-r--r--sys/linux/sys_amd64.const6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const
index f66b32056..a2d39af2a 100644
--- a/sys/linux/sys_amd64.const
+++ b/sys/linux/sys_amd64.const
@@ -392,6 +392,11 @@ READ_IMPLIES_EXEC = 4194304
RENAME_EXCHANGE = 2
RENAME_NOREPLACE = 1
RENAME_WHITEOUT = 4
+RESOLVE_BENEATH = 8
+RESOLVE_IN_ROOT = 16
+RESOLVE_NO_MAGICLINKS = 2
+RESOLVE_NO_SYMLINKS = 4
+RESOLVE_NO_XDEV = 1
RLIMIT_AS = 9
RLIMIT_CORE = 4
RLIMIT_CPU = 0
@@ -661,6 +666,7 @@ __NR_newfstatat = 262
__NR_open = 2
__NR_open_by_handle_at = 304
__NR_openat = 257
+__NR_openat2 = 437
__NR_pause = 34
__NR_personality = 135
__NR_pidfd_getfd = 438