From 9d60b18e94847a3e124d344a2255a75fb175c06c Mon Sep 17 00:00:00 2001 From: Jiaheng Hu Date: Tue, 23 Jun 2020 19:37:13 +0000 Subject: 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. --- sys/linux/sys_ppc64le.const | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/linux/sys_ppc64le.const') diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const index af43719c4..1c95fe8d4 100644 --- a/sys/linux/sys_ppc64le.const +++ b/sys/linux/sys_ppc64le.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 = 291 __NR_open = 5 __NR_open_by_handle_at = 346 __NR_openat = 286 +__NR_openat2 = 437 __NR_pause = 29 __NR_personality = 136 __NR_pidfd_getfd = 438 -- cgit mrf-deployment