]> granicus.if.org Git - strace/commit
prctl: add PR_GET_SPECULATION_CTRL/PR_SET_SPECULATION_CTRL decoding
authorEugene Syromyatnikov <evgsyr@gmail.com>
Tue, 22 May 2018 17:13:30 +0000 (19:13 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 25 May 2018 09:15:03 +0000 (09:15 +0000)
commitbe0d6a847bce9eae17f3d02d13ab1807ced529d5
treeabb5dc30fa588e4cd8d827c85ca6c3071f759e6b
parent42c9ff9cfe3fed788de74f2e91471612148643c0
prctl: add PR_GET_SPECULATION_CTRL/PR_SET_SPECULATION_CTRL decoding

* xlat/pr_spec_cmds.in: New fille.
* xlat/pr_spec_get_store_bypass_flags.in: Likewise.
* xlat/pr_spec_set_store_bypass_flags.in: Likewise.
* xlat/prctl_options.in (PR_GET_SPECULATION_CTRL,
PR_SET_SPECULATION_CTRL): New constants, introduced by Linux commit
v4.17-rc3-15-gb617cfc.
* prctl.c (SYS_FUNC(prctl)) <case PR_GET_SPECULATION_CTRL,
case PR_SET_SPECULATION_CTRL>: Implement decoding of new prctl options.
* tests/Makefile.am (check_PROGRAMS): Add prctl-spec-inject.
(DECODER_TESTS): Add prctl-spec-inject.test.
* tests/prctl-spec-inject.c: New file.
* tests/prctl-spec-inject.test: New test.
* tests/.gitignore: Add prctl-spec-inject.
prctl.c
tests/.gitignore
tests/Makefile.am
tests/prctl-spec-inject.c [new file with mode: 0644]
tests/prctl-spec-inject.test [new file with mode: 0755]
xlat/pr_spec_cmds.in [new file with mode: 0644]
xlat/pr_spec_get_store_bypass_flags.in [new file with mode: 0644]
xlat/pr_spec_set_store_bypass_flags.in [new file with mode: 0644]
xlat/prctl_options.in