strace/xlat/prctl_options.in
Eugene Syromyatnikov beafdd36e1 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.
2018-03-06 23:52:08 +00:00

50 lines
956 B
Plaintext

PR_SET_PDEATHSIG 1
PR_GET_PDEATHSIG 2
PR_GET_DUMPABLE 3
PR_SET_DUMPABLE 4
PR_GET_UNALIGN 5
PR_SET_UNALIGN 6
PR_GET_KEEPCAPS 7
PR_SET_KEEPCAPS 8
PR_GET_FPEMU 9
PR_SET_FPEMU 10
PR_GET_FPEXC 11
PR_SET_FPEXC 12
PR_GET_TIMING 13
PR_SET_TIMING 14
PR_SET_NAME 15
PR_GET_NAME 16
PR_GET_ENDIAN 19
PR_SET_ENDIAN 20
PR_GET_SECCOMP 21
PR_SET_SECCOMP 22
PR_CAPBSET_READ 23
PR_CAPBSET_DROP 24
PR_GET_TSC 25
PR_SET_TSC 26
PR_GET_SECUREBITS 27
PR_SET_SECUREBITS 28
PR_SET_TIMERSLACK 29
PR_GET_TIMERSLACK 30
PR_TASK_PERF_EVENTS_DISABLE 31
PR_TASK_PERF_EVENTS_ENABLE 32
PR_MCE_KILL 33
PR_MCE_KILL_GET 34
PR_SET_MM 35
PR_SET_PTRACER 0x59616d61
PR_SET_CHILD_SUBREAPER 36
PR_GET_CHILD_SUBREAPER 37
PR_SET_NO_NEW_PRIVS 38
PR_GET_NO_NEW_PRIVS 39
PR_GET_TID_ADDRESS 40
PR_SET_THP_DISABLE 41
PR_GET_THP_DISABLE 42
PR_MPX_ENABLE_MANAGEMENT 43
PR_MPX_DISABLE_MANAGEMENT 44
PR_SET_FP_MODE 45
PR_GET_FP_MODE 46
PR_CAP_AMBIENT 47
PR_SVE_SET_VL 50
PR_SVE_GET_VL 51
PR_SET_VMA 0x53564d41