diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2021-08-01 18:27:32 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-08-02 00:04:17 +0000 |
commit | b65a09a495c53e9493803e3f1bbc90e752489eca (patch) | |
tree | f7ade8dc64a480e5cb4a3ceb6ac9afe8be9ddb25 | |
parent | 7b48b30651a4e10bc46f4f1a0d3d165e3a83b62d (diff) | |
download | strace-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-- | NEWS | 1 | ||||
-rw-r--r-- | src/xlat/madvise_cmds.in | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -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 |