diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-12-07 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-12-07 08:00:00 +0000 |
commit | 5236c9d4a81a9a507c443b3a8be7f50644ed1319 (patch) | |
tree | e06813978fc2bf105fae9bc8ee129a9f6eab5cf1 /linux | |
parent | 3828a9a7f7d1776ce719a91dc8ecb8829514e720 (diff) | |
download | strace-5236c9d4a81a9a507c443b3a8be7f50644ed1319.tar.gz |
Implement decoding of process_madvise syscall
Introduced by Linux kernel commit v5.10-rc1~87^2~14.
* mem.c (SYS_FUNC(process_madvise)): New function.
* linux/syscallent-common.h [BASE_NR + 440]: Wire up process_madvise.
* NEWS: Mention this change.
* tests/process_madvise.c: New file.
* tests/process_madvise-y.c: Likewise.
* tests/process_madvise-yy.c: Likewise.
* tests/gen_tests.in (process_madvise, process_madvise-y,
process_madvise-yy): New entries.
* tests/pure_executables.list: Add process_madvise, process_madvise-y,
and process_madvise-yy.
* tests/.gitignore: Likewise.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/syscallent-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/syscallent-common.h b/linux/syscallent-common.h index 6ca296ac1..3062c19f6 100644 --- a/linux/syscallent-common.h +++ b/linux/syscallent-common.h @@ -24,3 +24,4 @@ [BASE_NR + 437] = { 4, TD|TF, SEN(openat2), "openat2" }, [BASE_NR + 438] = { 3, TD, SEN(pidfd_getfd), "pidfd_getfd" }, [BASE_NR + 439] = { 4, TD|TF, SEN(faccessat2), "faccessat2" }, +[BASE_NR + 440] = { 5, TD, SEN(process_madvise), "process_madvise" }, |