| Age | Commit message (Collapse) | Author | Lines |
| 2022年03月08日 | sys/prctl.h: add PR_PAC_{SET,GET}_ENABLED_KEYS from linux v5.13 | Szabolcs Nagy | -0/+3 |
|
see
linux commit 201698626fbca1cf1a3b686ba14cf2a056500716
arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS)
|
| 2022年03月08日 | sys/prctl.h: add PR_SET_SYSCALL_USER_DISPATCH from linux v5.11 | Szabolcs Nagy | -0/+6 |
|
see
linux commit 1446e1df9eb183fdf81c3f0715402f1d7595d4cb
kernel: Implement selective syscall userspace redirection
linux commit 36a6c843fd0d8e02506681577e96dabd203dd8e8
entry: Use different define for selector variable in SUD
redirect syscalls to a userspace handler via SIGSYS, except for a specific
range of code. can be toggled via a memory write to a selector variable.
mainly for wine.
|
| 2021年02月15日 | sys/prctl.h: add MTE related constants from linux v5.10 | Szabolcs Nagy | -0/+7 |
|
these are for the aarch64 MTE (memory tagging extension), see
linux commit 1c101da8b971a36695319dce7a24711dc567a0dd
arm64: mte: Allow user control of the tag check mode via prctl()
linux commit af5ce95282dc99d08a27a407a02c763dde1c5558
arm64: mte: Allow user control of the generated random tags via prctl()
|
| 2020年09月09日 | sys/prctl.h: add PR_{SET,GET}_IO_FLUSHER from linux v5.6 | Szabolcs Nagy | -0/+3 |
|
needed for storage drivers with userspace component that may
run in the IO path, see
linux commit 8d19f1c8e1937baf74e1962aae9f90fa3aeab463
prctl: PR_{G,S}ET_IO_FLUSHER to support controlling memory reclaim
|
| 2019年12月30日 | sys/prctl.h: add PR_*_TAGGED_ADDR_* from linux v5.4 | Szabolcs Nagy | -0/+4 |
|
per thread prctl commands to relax the syscall abi such that top bits
of user pointers are ignored in the kernel. this allows the use of
those bits by hwasan or by mte to color pointers and memory on aarch64:
linux commit 63f0c60379650d82250f22e4cf4137ef3dc4f43d
arm64: Introduce prctl() options to control the tagged user addresses ABI
|
| 2019年07月01日 | sys/prctl.h: add PR_SPEC_DISABLE_NOEXEC from linux v5.1 | Szabolcs Nagy | -0/+1 |
|
allows specifying that the speculative store bypass disable bit should
be cleared on exec. see
linux commit 71368af9027f18fe5d1c6f372cfdff7e4bde8b48
x86/speculation: Add PR_SPEC_DISABLE_NOEXEC
|
| 2019年03月13日 | sys/prctl.h: add PR_PAC_RESET_KEYS from linux v5.0 | Szabolcs Nagy | -0/+7 |
|
aarch64 pointer authentication code related prctl that allows
reinitializing the key for the thread, added in linux commit
ba830885656414101b2f8ca88786524d4bb5e8c1
|
| 2019年03月13日 | sys/prctl.h: add PR_SPEC_INDIRECT_BRANCH from linux v4.20 | Szabolcs Nagy | -0/+1 |
|
prctls to allow per task control of indirect branch speculation on x86.
added in linux commit 9137bb27e60e554dab694eafa4cca241fa3a694f
|
| 2018年06月19日 | add speculation control prctls from linux v4.17 | Szabolcs Nagy | -0/+9 |
|
PR_{SET,GET}_SPECULATION_CTRL controls speculation related vulnerability
mitigations, new in commits
b617cfc858161140d69cc0b5cc211996b557a1c7
356e4bfff2c5489e016fdb925adbf12a1e3950ee
|
| 2018年02月22日 | sys/prctl.h: add new PR_SVE_* macros from linux v4.15 | Szabolcs Nagy | -0/+6 |
|
PR_SVE_SET_VL and PR_SVE_GET_VL controls are new in linux commit
2d2123bc7c7f843aa9db87720de159a049839862
related PR_SVE_* macros were added in
7582e22038a266444eb87bc07c372592ad647439
|
| 2016年01月26日 | add new PR_CAP_AMBIENT and related defines to sys/prctl.h | Szabolcs Nagy | -0/+6 |
|
ambient capability mask is new in linux v4.3, commit
58319057b7847667f0c9585b9de0e8932b0fdb08
|
| 2015年04月17日 | add PR_*_FP_MODE prctl options | Szabolcs Nagy | -0/+5 |
|
new in linux v4.0, commit 9791554b45a2acc28247f66a5fd5bbc212a6b8c8
used to work around a floating-point abi issue on mips
|
| 2015年04月17日 | add PR_MPX_*_MANAGEMENT prctl options | Szabolcs Nagy | -0/+3 |
|
new in linux v3.19, commit fe3d197f84319d3bce379a9c0dc17b1f48ad358c
used for on-demand kernel allocation of bounds tables for mpx on x86
|
| 2014年12月23日 | add new prctl command PR_SET_MM_MAP to sys/prctl.h | Szabolcs Nagy | -0/+21 |
|
PR_SET_MM_MAP was introduced as a subcommand for PR_SET_MM in
linux v3.18 commit f606b77f1a9e362451aca8f81d8f36a3a112139e
the associated struct type is replicated in sys/prctl.h using
libc types.
example usage:
struct prctl_mm_map *p;
...
prctl(PR_SET_MM, PR_SET_MM_MAP, p, sizeof *p);
the kernel side supported struct size may be queried with
the PR_SET_MM_MAP_SIZE subcommand.
|
| 2014年07月20日 | add new PR_SET_THP_DISABLE and PR_GET_THP_DISABLE prctl flags | Szabolcs Nagy | -0/+3 |
|
they can be used to set or query if transparent huge pages are disabled.
introduced in linux 3.15 commit a0715cc22601e8830ace98366c0c2bd8da52af52
|
| 2013年07月30日 | add macros for new(ish) prctl commands | Rich Felker | -0/+37 |
|
| 2013年07月30日 | fix some prctl macros that were incorrectly copied into this file | Rich Felker | -3/+3 |
|
| 2011年06月18日 | copy-paste error in prctl.h | Rich Felker | -1/+1 |
|
| 2011年02月12日 | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | -0/+64 |
|