From 81fa6d45b3c86115440f490f43e0e5bbbb104c9a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 24 Apr 2023 08:00:00 +0000 Subject: 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. --- src/prctl.c | 2 ++ src/xlat/prctl_options.in | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src') 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 -- cgit v1.2.1