summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2023-04-24 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2023-04-28 08:00:00 +0000
commit81fa6d45b3c86115440f490f43e0e5bbbb104c9a (patch)
tree071226bd84c8586c84b8a8b725f6c26502b8860a /src
parent0a629eedd659f60addb87cd4f653c9ccf8e4a5ed (diff)
downloadstrace-81fa6d45b3c86115440f490f43e0e5bbbb104c9a.tar.gz
xlat: update PR_* constants
* src/xlat/prctl_options.in (PR_SET_MDWE, PR_GET_MDWE): New constants introduced by Linux kernel commit v6.3-rc1~113^2~215. * src/prctl.c (SYS_FUNC(prctl)): Handle them. * NEWS: Mention this.
Diffstat (limited to 'src')
-rw-r--r--src/prctl.c2
-rw-r--r--src/xlat/prctl_options.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/prctl.c b/src/prctl.c
index 17e6073b8..6c1776522 100644
--- a/src/prctl.c
+++ b/src/prctl.c
@@ -500,6 +500,7 @@ SYS_FUNC(prctl)
case PR_SET_NO_NEW_PRIVS:
case PR_SET_THP_DISABLE:
case PR_SET_IO_FLUSHER:
+ case PR_SET_MDWE:
tprint_arg_next();
PRINT_VAL_U(arg2);
print_prctl_args(tcp, 2);
@@ -628,6 +629,7 @@ SYS_FUNC(prctl)
case PR_MPX_DISABLE_MANAGEMENT:
case PR_MPX_ENABLE_MANAGEMENT:
case PR_GET_IO_FLUSHER:
+ case PR_GET_MDWE:
default:
print_prctl_args(tcp, 1);
return RVAL_DECODED;
diff --git a/src/xlat/prctl_options.in b/src/xlat/prctl_options.in
index c714832e6..3ea2479f1 100644
--- a/src/xlat/prctl_options.in
+++ b/src/xlat/prctl_options.in
@@ -60,5 +60,7 @@ PR_PAC_GET_ENABLED_KEYS
PR_SCHED_CORE
PR_SME_SET_VL
PR_SME_GET_VL
+PR_SET_MDWE
+PR_GET_MDWE
PR_SET_VMA
PR_SET_PTRACER