diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-04-24 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-04-28 08:00:00 +0000 |
commit | 81fa6d45b3c86115440f490f43e0e5bbbb104c9a (patch) | |
tree | 071226bd84c8586c84b8a8b725f6c26502b8860a | |
parent | 0a629eedd659f60addb87cd4f653c9ccf8e4a5ed (diff) | |
download | strace-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.
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/prctl.c | 2 | ||||
-rw-r--r-- | src/xlat/prctl_options.in | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -9,7 +9,7 @@ Noteworthy changes in release ?.? (????-??-??) * Implemented decoding of IFLA_BRPORT_MCAST_N_GROUPS, IFLA_BRPORT_MCAST_MAX_GROUPS, IFLA_GSO_IPV4_MAX_SIZE, and IFLA_GRO_IPV4_MAX_SIZE netlink attributes. - * Updated lists of F_SEAL_*, IFLA_*, IORING_*, IP_*, MFD_*, and NFT_* + * Updated lists of F_SEAL_*, IFLA_*, IORING_*, IP_*, MFD_*, NFT_*, and PR_* constants. * Updated lists of ioctl commands from Linux 6.3. 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 |