summaryrefslogtreecommitdiff
path: root/tests/pure_executables.list
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2021-08-07 17:58:56 +0200
committerDmitry V. Levin <ldv@strace.io>2021-08-14 01:25:12 +0000
commita00dd88a530376de8dc7eeb65460c0e7208b2a8d (patch)
tree9769a2484b49839549d53a6728517c16c555fcbe /tests/pure_executables.list
parent7dd19ca64a6bb8a0dc805a9984a36c6b17f65885 (diff)
downloadstrace-a00dd88a530376de8dc7eeb65460c0e7208b2a8d.tar.gz
prctl: implement PR_PAC_[GS]ET_ENABLED_KEYS ops decoding
Introduced by Linux commit v5.13-rc1~17^2~18^2~1. * src/xlat/pr_pac_enabled_keys.in: New file. * src/xlat/pr_pac_keys.in (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY): Remove entries that moved to src/xlat/pr_pac_enabled_keys.in. * src/prctl.c: Include "xlat/pr_pac_enabled_keys.h". (SYS_FUNC(prctl)) <case PR_PAC_SET_ENABLED_KEYS, case PR_PAC_GET_ENABLED_KEYS>: Implement decoding. (SYS_FUNC(prctl)) <case PR_PAC_RESET_KEYS>: Call printflags_ex with both pr_pac_enabled_keys and pr_pac_keys. * tests/.gitignore: Add prctl-pac-enabled-keys, prctl-pac-enabled-keys-Xabbrev, prctl-pac-enabled-keys-Xraw, prctl-pac-enabled-keys-Xverbose, prctl-pac-enabled-keys-success, prctl-pac-enabled-keys-success-Xabbrev, prctl-pac-enabled-keys-success-Xraw, and prctl-pac-enabled-keys-success-Xverbose. * tests/Makefile.am (check_PROGRAMS): Add prctl-pac-enabled-keys-success, prctl-pac-enabled-keys-success-Xabbrev, prctl-pac-enabled-keys-success-Xraw, and prctl-pac-enabled-keys-success-Xverbose. * tests/prctl-pac-enabled-keys-Xabbrev.c: New file. * tests/prctl-pac-enabled-keys-Xraw.c: Likewise. * tests/prctl-pac-enabled-keys-Xverbose.c: Likewise. * tests/prctl-pac-enabled-keys-success-Xabbrev.c: Likewise. * tests/prctl-pac-enabled-keys-success-Xraw.c: Likewise. * tests/prctl-pac-enabled-keys-success-Xverbose.c: Likewise. * tests/prctl-pac-enabled-keys-success.c: Likewise. * tests/prctl-pac-enabled-keys.c: Likewise. * tests/gen_tests.in (prctl-pac-enabled-keys, prctl-pac-enabled-keys-Xabbrev, prctl-pac-enabled-keys-Xraw, prctl-pac-enabled-keys-Xverbose, prctl-pac-enabled-keys-success, prctl-pac-enabled-keys-success-Xabbrev, prctl-pac-enabled-keys-success-Xraw, prctl-pac-enabled-keys-success-Xverbose): New tests. * tests/pure_executables.list: Add prctl-pac-enabled-keys, prctl-pac-enabled-keys-Xabbrev, prctl-pac-enabled-keys-Xraw, and prctl-pac-enabled-keys-Xverbose.
Diffstat (limited to 'tests/pure_executables.list')
-rwxr-xr-xtests/pure_executables.list4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pure_executables.list b/tests/pure_executables.list
index ed35e3f6c..169af8e4c 100755
--- a/tests/pure_executables.list
+++ b/tests/pure_executables.list
@@ -466,6 +466,10 @@ prctl-dumpable
prctl-mce-kill
prctl-name
prctl-no-args
+prctl-pac-enabled-keys
+prctl-pac-enabled-keys-Xabbrev
+prctl-pac-enabled-keys-Xraw
+prctl-pac-enabled-keys-Xverbose
prctl-pac-reset-keys
prctl-pdeathsig
prctl-securebits