]> granicus.if.org Git - strace/commit
prctl: add decoding of PR_SVE_SET_VL and PR_SVE_GET_VL commands
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 21 Feb 2018 19:57:16 +0000 (20:57 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 6 Mar 2018 23:52:08 +0000 (23:52 +0000)
commitbeafdd36e1db6e360976683cea50cd69c00d029b
tree6fba2c8fe1cbc82d15d291489e21a824b9845c59
parentfd02ce4ff82a6cda2a012dbdae5c6588158db44c
prctl: add decoding of PR_SVE_SET_VL and PR_SVE_GET_VL commands

These commands were introduced in Linux commit v4.15-rc1~110^2~9.

* xlat/pr_sve_vl_flags.in: New file.
* xlat/prctl_options.in: Likewise.
* prctl.c: Include "xstring.h" and "xlat/pr_sve_vl_flags.h".
[!PR_SVE_VL_LEN_MASK] (PR_SVE_VL_LEN_MASK): New macro constant.
(sprint_sve_val): New function.
(SYS_FUNC(prctl)): Add decoding for PR_SVE_GET_VL and PR_SVE_SET_VL
commands.
* NEWS: Mention it.
NEWS
prctl.c
xlat/pr_sve_vl_flags.in [new file with mode: 0644]
xlat/prctl_options.in