diff options
| author | Jiaheng Hu <jiahengh@google.com> | 2020-07-03 17:41:01 +0000 |
|---|---|---|
| committer | Eric Biggers <ebiggers3@gmail.com> | 2020-07-07 18:08:11 -0700 |
| commit | 5962a2dc88f6511b77100acdf687c1088f253f6b (patch) | |
| tree | 31d538dd8adf27f9f5fdceb18ba5c83508f30c47 /sys/linux | |
| parent | 789dd0861df4e383ca8a259452db4aa97adcef8c (diff) | |
sys/linux: add process_madvise
Adde description for process_madvise syscall in
linux-next (https://lore.kernel.org/lkml/20200622192900.22757-4-minchan@kernel.org).
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/sys.txt | 1 | ||||
| -rw-r--r-- | sys/linux/sys_386.const | 1 | ||||
| -rw-r--r-- | sys/linux/sys_amd64.const | 1 | ||||
| -rw-r--r-- | sys/linux/sys_arm.const | 1 | ||||
| -rw-r--r-- | sys/linux/sys_arm64.const | 1 | ||||
| -rw-r--r-- | sys/linux/sys_mips64le.const | 1 | ||||
| -rw-r--r-- | sys/linux/sys_ppc64le.const | 1 | ||||
| -rw-r--r-- | sys/linux/sys_riscv64.const | 1 | ||||
| -rw-r--r-- | sys/linux/sys_s390x.const | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index a39b0f358..e1d80e3ec 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -153,6 +153,7 @@ remap_file_pages(addr vma, size len[addr], prot flags[mmap_prot], pgoff intptr, mprotect(addr vma, len len[addr], prot flags[mmap_prot]) msync(addr vma, len len[addr], f flags[msync_flags]) madvise(addr vma, len len[addr], advice flags[madvise_flags]) +process_madvise(pidfd fd_pidfd, vec ptr[in, array[iovec_in]], vlen len[vec], advice flags[madvise_flags], flags const[0]) fadvise64(fd fd, offset fileoff, len intptr, advice flags[fadvise_flags]) readahead(fd fd, off intptr, count intptr) mbind(addr vma, len len[addr], mode flags[mbind_mode], nodemask ptr[in, int64], maxnode intptr, flags flags[mbind_flags]) diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const index ff2cd0685..2d7dc90a1 100644 --- a/sys/linux/sys_386.const +++ b/sys/linux/sys_386.const @@ -716,6 +716,7 @@ __NR_ppoll = 309 __NR_pread64 = 180 __NR_preadv = 333 __NR_prlimit64 = 340 +__NR_process_madvise = 443 __NR_process_vm_readv = 347 __NR_process_vm_writev = 348 __NR_pselect6 = 308 diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const index 1b87eabf5..9698ffb80 100644 --- a/sys/linux/sys_amd64.const +++ b/sys/linux/sys_amd64.const @@ -716,6 +716,7 @@ __NR_ppoll = 271 __NR_pread64 = 17 __NR_preadv = 295 __NR_prlimit64 = 302 +__NR_process_madvise = 443 __NR_process_vm_readv = 310 __NR_process_vm_writev = 311 __NR_pselect6 = 270 diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const index b85099cd6..a50fa49d2 100644 --- a/sys/linux/sys_arm.const +++ b/sys/linux/sys_arm.const @@ -716,6 +716,7 @@ __NR_ppoll = 336 __NR_pread64 = 180 __NR_preadv = 361 __NR_prlimit64 = 369 +__NR_process_madvise = 443 __NR_process_vm_readv = 376 __NR_process_vm_writev = 377 __NR_pselect6 = 335 diff --git a/sys/linux/sys_arm64.const b/sys/linux/sys_arm64.const index e620db4ca..d34f16d24 100644 --- a/sys/linux/sys_arm64.const +++ b/sys/linux/sys_arm64.const @@ -716,6 +716,7 @@ __NR_ppoll = 73 __NR_pread64 = 67 __NR_preadv = 69 __NR_prlimit64 = 261 +__NR_process_madvise = 443 __NR_process_vm_readv = 270 __NR_process_vm_writev = 271 __NR_pselect6 = 72 diff --git a/sys/linux/sys_mips64le.const b/sys/linux/sys_mips64le.const index 36394ce2a..2c53e161d 100644 --- a/sys/linux/sys_mips64le.const +++ b/sys/linux/sys_mips64le.const @@ -716,6 +716,7 @@ __NR_ppoll = 5261 __NR_pread64 = 5016 __NR_preadv = 5289 __NR_prlimit64 = 5297 +__NR_process_madvise = 5443 __NR_process_vm_readv = 5304 __NR_process_vm_writev = 5305 __NR_pselect6 = 5260 diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const index bccf6885a..16fe3aad3 100644 --- a/sys/linux/sys_ppc64le.const +++ b/sys/linux/sys_ppc64le.const @@ -716,6 +716,7 @@ __NR_ppoll = 281 __NR_pread64 = 179 __NR_preadv = 320 __NR_prlimit64 = 325 +__NR_process_madvise = 443 __NR_process_vm_readv = 351 __NR_process_vm_writev = 352 __NR_pselect6 = 280 diff --git a/sys/linux/sys_riscv64.const b/sys/linux/sys_riscv64.const index 236b27b7d..60f8a85a5 100644 --- a/sys/linux/sys_riscv64.const +++ b/sys/linux/sys_riscv64.const @@ -716,6 +716,7 @@ __NR_ppoll = 73 __NR_pread64 = 67 __NR_preadv = 69 __NR_prlimit64 = 261 +__NR_process_madvise = 443 __NR_process_vm_readv = 270 __NR_process_vm_writev = 271 __NR_pselect6 = 72 diff --git a/sys/linux/sys_s390x.const b/sys/linux/sys_s390x.const index c655de046..c67be4326 100644 --- a/sys/linux/sys_s390x.const +++ b/sys/linux/sys_s390x.const @@ -716,6 +716,7 @@ __NR_ppoll = 302 __NR_pread64 = 180 __NR_preadv = 328 __NR_prlimit64 = 334 +__NR_process_madvise = 443 __NR_process_vm_readv = 340 __NR_process_vm_writev = 341 __NR_pselect6 = 301 |
