musl/include/sys/prctl.h, branch master musl - an implementation of the standard library for Linux-based systems sys/prctl.h: add PR_PAC_{SET,GET}_ENABLED_KEYS from linux v5.13 2022年03月08日T22:21:26+00:00 Szabolcs Nagy nsz@port70.net 2021年07月07日T17:43:30+00:00 aa3bab6ce48d4e210ba3a86fed62e589df789ff4 see linux commit 201698626fbca1cf1a3b686ba14cf2a056500716 arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS)
see
 linux commit 201698626fbca1cf1a3b686ba14cf2a056500716
 arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS)
sys/prctl.h: add PR_SET_SYSCALL_USER_DISPATCH from linux v5.11 2022年03月08日T22:19:38+00:00 Szabolcs Nagy nsz@port70.net 2021年03月07日T20:50:17+00:00 f35b99b38721c0e76152069254b642dd345da784 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.
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.
sys/prctl.h: add MTE related constants from linux v5.10 2021年02月15日T14:16:06+00:00 Szabolcs Nagy nsz@port70.net 2020年12月19日T21:10:26+00:00 19239cde94ff08c008b72f041676712dc447b80f 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()
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()
sys/prctl.h: add PR_{SET,GET}_IO_FLUSHER from linux v5.6 2020年09月09日T21:20:22+00:00 Szabolcs Nagy nsz@port70.net 2020年03月31日T20:26:53+00:00 8f4aa78a0cb86002273d2884b05618fc05827292 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
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
sys/prctl.h: add PR_*_TAGGED_ADDR_* from linux v5.4 2019年12月30日T23:14:08+00:00 Szabolcs Nagy nsz@port70.net 2019年12月22日T10:51:37+00:00 5675aaa5595619135baf33923de52a44307af9fb 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
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
sys/prctl.h: add PR_SPEC_DISABLE_NOEXEC from linux v5.1 2019年07月01日T18:12:06+00:00 Szabolcs Nagy nsz@port70.net 2019年05月09日T18:59:51+00:00 c7081edcf838d7bb830819a7de35737b1dd9755d 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
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
sys/prctl.h: add PR_PAC_RESET_KEYS from linux v5.0 2019年03月13日T16:34:56+00:00 Szabolcs Nagy nsz@port70.net 2019年03月07日T21:53:48+00:00 cff993cf32da345430724882214a4e493d4899fc aarch64 pointer authentication code related prctl that allows reinitializing the key for the thread, added in linux commit ba830885656414101b2f8ca88786524d4bb5e8c1
aarch64 pointer authentication code related prctl that allows
reinitializing the key for the thread, added in linux commit
ba830885656414101b2f8ca88786524d4bb5e8c1
sys/prctl.h: add PR_SPEC_INDIRECT_BRANCH from linux v4.20 2019年03月13日T16:33:04+00:00 Szabolcs Nagy nsz@port70.net 2019年01月23日T20:50:55+00:00 13c73da72f4c0926c82ce46964afc40c41cc7025 prctls to allow per task control of indirect branch speculation on x86. added in linux commit 9137bb27e60e554dab694eafa4cca241fa3a694f
prctls to allow per task control of indirect branch speculation on x86.
added in linux commit 9137bb27e60e554dab694eafa4cca241fa3a694f
add speculation control prctls from linux v4.17 2018年06月19日T17:27:08+00:00 Szabolcs Nagy nsz@port70.net 2018年06月09日T21:23:54+00:00 da9f2b2ac8d91e556125d5b0f94830f88f1bc487 PR_{SET,GET}_SPECULATION_CTRL controls speculation related vulnerability mitigations, new in commits b617cfc858161140d69cc0b5cc211996b557a1c7 356e4bfff2c5489e016fdb925adbf12a1e3950ee
PR_{SET,GET}_SPECULATION_CTRL controls speculation related vulnerability
mitigations, new in commits
b617cfc858161140d69cc0b5cc211996b557a1c7
356e4bfff2c5489e016fdb925adbf12a1e3950ee
sys/prctl.h: add new PR_SVE_* macros from linux v4.15 2018年02月22日T23:49:34+00:00 Szabolcs Nagy nsz@port70.net 2018年02月02日T21:04:51+00:00 121d18d2f254fceb7e489d7a99527124f4084b5b PR_SVE_SET_VL and PR_SVE_GET_VL controls are new in linux commit 2d2123bc7c7f843aa9db87720de159a049839862 related PR_SVE_* macros were added in 7582e22038a266444eb87bc07c372592ad647439
PR_SVE_SET_VL and PR_SVE_GET_VL controls are new in linux commit
2d2123bc7c7f843aa9db87720de159a049839862
related PR_SVE_* macros were added in
7582e22038a266444eb87bc07c372592ad647439

AltStyle によって変換されたページ (->オリジナル) /