summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2021-08-01 18:27:32 +0200
committerDmitry V. Levin <ldv@strace.io>2021-08-02 00:04:17 +0000
commitb65a09a495c53e9493803e3f1bbc90e752489eca (patch)
treef7ade8dc64a480e5cb4a3ceb6ac9afe8be9ddb25
parent7b48b30651a4e10bc46f4f1a0d3d165e3a83b62d (diff)
downloadstrace-b65a09a495c53e9493803e3f1bbc90e752489eca.tar.gz
xlat: update MADV_* constants
* src/xlat/madvise_cmds.in (MADV_POPULATE_READ, MADV_POPULATE_WRITE): New constants, introduced by Linux commit v5.14-rc1~107^2~91. * NEWS: Mention this.
-rw-r--r--NEWS1
-rw-r--r--src/xlat/madvise_cmds.in4
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 890da39a4..ddb1fe5d9 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ Noteworthy changes in release ?.?? (????-??-??)
* Improvements
* Implemented decoding of memfd_secret and quotactl_fd syscalls,
introduced in Linux 5.14.
+ * Updated list of MADV_* constants.
* Bug fixes
* Fixed build using bionic libc.
diff --git a/src/xlat/madvise_cmds.in b/src/xlat/madvise_cmds.in
index 3e8d63580..4b7ff8fb0 100644
--- a/src/xlat/madvise_cmds.in
+++ b/src/xlat/madvise_cmds.in
@@ -74,6 +74,10 @@ MADV_COLD 20
MADV_PAGEOUT 21
+MADV_POPULATE_READ 22
+
+MADV_POPULATE_WRITE 23
+
MADV_HWPOISON 100
MADV_SOFT_OFFLINE 101