summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-12-07 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-12-07 08:00:00 +0000
commit5236c9d4a81a9a507c443b3a8be7f50644ed1319 (patch)
treee06813978fc2bf105fae9bc8ee129a9f6eab5cf1 /linux
parent3828a9a7f7d1776ce719a91dc8ecb8829514e720 (diff)
downloadstrace-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.h1
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" },