diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-03-10 17:20:21 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-03-10 18:40:31 +0100 |
| commit | c2ca1f2a94f7bc6f676d2e6a3313aa0817be2869 (patch) | |
| tree | 8b77c0f05dfc4e751f59c542e4a66b5392d1391b /sys/linux/prctl.txt | |
| parent | 764067f3e1106ab958069c12c978aac62592f5ef (diff) | |
sys/linux: add new prctl's
Diffstat (limited to 'sys/linux/prctl.txt')
| -rw-r--r-- | sys/linux/prctl.txt | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/linux/prctl.txt b/sys/linux/prctl.txt index 56bddb17b..bbae46c62 100644 --- a/sys/linux/prctl.txt +++ b/sys/linux/prctl.txt @@ -131,7 +131,7 @@ prctl$PR_GET_FP_MODE(option const[PR_GET_FP_MODE]) (breaks_returns, ignore_retur prctl_fp_mode = PR_FP_MODE_FR, PR_FP_MODE_FRE -prctl$PR_CAP_AMBIENT(option const[PR_CAP_AMBIENT], arg2 flags[prctl_cap_ambient], arg3 int32[0:CAP_LAST_CAP]) (breaks_returns, ignore_return) +prctl$PR_CAP_AMBIENT(option const[PR_CAP_AMBIENT], arg2 flags[prctl_cap_ambient], arg3 intptr[0:CAP_LAST_CAP]) (breaks_returns, ignore_return) prctl_cap_ambient = PR_CAP_AMBIENT_IS_SET, PR_CAP_AMBIENT_RAISE, PR_CAP_AMBIENT_LOWER, PR_CAP_AMBIENT_CLEAR_ALL @@ -143,6 +143,21 @@ prctl$PR_SET_SPECULATION_CTRL(option const[PR_SET_SPECULATION_CTRL], arg2 const[ pr_spec_mode = PR_SPEC_ENABLE, PR_SPEC_DISABLE, PR_SPEC_FORCE_DISABLE +prctl$PR_PAC_RESET_KEYS(option const[PR_PAC_RESET_KEYS], arg2 flags[prctl_pac_keys]) (breaks_returns, ignore_return) + +prctl_pac_keys = PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY, PR_PAC_APGAKEY + +prctl$PR_SET_TAGGED_ADDR_CTRL(option const[PR_SET_TAGGED_ADDR_CTRL], arg2 flags[prctl_mte_ctl]) (breaks_returns, ignore_return) +prctl$PR_GET_TAGGED_ADDR_CTRL(option const[PR_GET_TAGGED_ADDR_CTRL]) (breaks_returns, ignore_return) + +prctl_mte_ctl = PR_TAGGED_ADDR_ENABLE, PR_MTE_TCF_NONE, PR_MTE_TCF_SYNC, PR_MTE_TCF_ASYNC, PR_MTE_TAG_MASK + +prctl$PR_SET_IO_FLUSHER(option const[PR_SET_IO_FLUSHER], arg2 boolptr) (breaks_returns, ignore_return) +prctl$PR_GET_IO_FLUSHER(option const[PR_GET_IO_FLUSHER]) (breaks_returns, ignore_return) + +prctl$PR_SET_SYSCALL_USER_DISPATCH_OFF(option const[PR_SET_SYSCALL_USER_DISPATCH], mode const[PR_SYS_DISPATCH_OFF]) (breaks_returns, ignore_return) +prctl$PR_SET_SYSCALL_USER_DISPATCH_ON(option const[PR_SET_SYSCALL_USER_DISPATCH], mode const[PR_SYS_DISPATCH_ON], offset intptr, len intptr, selector ptr[in, bool8]) (breaks_returns, ignore_return) + arch_prctl$ARCH_GET_FS(code const[ARCH_GET_FS], arg ptr[out, intptr]) arch_prctl$ARCH_GET_GS(code const[ARCH_GET_GS], arg ptr[out, intptr]) arch_prctl$ARCH_SET_GS(code const[ARCH_SET_GS], arg ptr[out, intptr]) |
