diff options
author | Dmitry V. Levin <ldv@strace.io> | 2022-12-11 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2022-12-11 08:00:00 +0000 |
commit | a108d9b19b70a6186d1cc21228f1ac151058a33e (patch) | |
tree | 2887dc32e4d8aca49713b80e75d3dc24b7da993c | |
parent | a04d9faa080c35558a249ab42e53e4a4038fd844 (diff) | |
download | strace-a108d9b19b70a6186d1cc21228f1ac151058a33e.tar.gz |
xlat: update MADV_* constants
* src/xlat/madvise_cmds.in (MADV_COLLAPSE): New constant
introduced by Linux kernel commit v6.1-rc1~21^2~577.
* NEWS: Mention this.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/xlat/madvise_cmds.in | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -3,6 +3,7 @@ Noteworthy changes in release ?.? (????-??-??) * Improvements * Enhanced decoding of terminal ioctl commands. + * Updated the list of MADV_* constants. * Updated lists of ioctl commands from Linux 6.1. * Bug fixes diff --git a/src/xlat/madvise_cmds.in b/src/xlat/madvise_cmds.in index ddc536c32..8a1f9d8e2 100644 --- a/src/xlat/madvise_cmds.in +++ b/src/xlat/madvise_cmds.in @@ -80,6 +80,12 @@ MADV_POPULATE_WRITE 23 MADV_DONTNEED_LOCKED 24 +#if defined __hppa__ +MADV_COLLAPSE 73 +#else +MADV_COLLAPSE 25 +#endif + MADV_HWPOISON 100 MADV_SOFT_OFFLINE 101 |