/linux/arch/x86/um/ |
H A D | syscalls_64.c | 16 long arch_prctl(struct task_struct *task, int option, in arch_prctl() function 43 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument 45 return arch_prctl(current, option, (unsigned long __user *) arg2); in SYSCALL_DEFINE2()
|
H A D | syscalls_32.c | 5 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
|
H A D | ptrace_64.c | 211 ret = arch_prctl(child, data, (void __user *) addr); in subarch_ptrace()
|
/linux/Documentation/arch/x86/x86_64/ |
H A D | fsgs.rst | 46 - the arch_prctl() system call 50 Accessing FS/GS base with arch_prctl() 53 The arch_prctl(2) based mechanism is available on all 64-bit CPUs and all 58 arch_prctl(ARCH_GET_FS, &fsbase); 59 arch_prctl(ARCH_GET_GS, &gsbase); 63 arch_prctl(ARCH_SET_FS, fsbase); 64 arch_prctl(ARCH_SET_GS, gsbase); 84 The instructions avoid the overhead of the arch_prctl() syscall and allow 99 arch_prctl(). Allowing user space to write arbitrary values to GS base
|
/linux/Documentation/arch/x86/ |
H A D | xstate.rst | 33 The kernel provides an arch_prctl(2) based mechanism for applications to 34 request the usage of such features. The arch_prctl(2) options related to 39 arch_prctl(ARCH_GET_XCOMP_SUPP, &features); 46 arch_prctl(ARCH_GET_XCOMP_PERM, &features); 54 arch_prctl(ARCH_REQ_XCOMP_PERM, feature_nr); 156 arch_prctl(ARCH_GET_XCOMP_GUEST_PERM, &features); 164 arch_prctl(ARCH_REQ_XCOMP_GUEST_PERM, feature_nr);
|
H A D | shstk.rst | 55 Enabling arch_prctl()'s 58 Elf features should be enabled by the loader using the below arch_prctl's. They 64 arch_prctl(ARCH_SHSTK_ENABLE, unsigned long feature) 68 arch_prctl(ARCH_SHSTK_DISABLE, unsigned long feature) 72 arch_prctl(ARCH_SHSTK_LOCK, unsigned long features) 78 arch_prctl(ARCH_SHSTK_UNLOCK, unsigned long features) 82 arch_prctl(ARCH_SHSTK_STATUS, unsigned long addr)
|
/linux/tools/perf/trace/beauty/ |
H A D | Build | 14 perf-y += arch_prctl.o
|
/linux/arch/x86/um/asm/ |
H A D | ptrace.h | 94 extern long arch_prctl(struct task_struct *task, int option,
|
/linux/arch/x86/kernel/ |
H A D | process_32.c | 219 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
|
H A D | process_64.c | 983 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument 995 COMPAT_SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in COMPAT_SYSCALL_DEFINE2() argument
|
/linux/Documentation/admin-guide/ |
H A D | workload-tracing.rst | 488 | arch_prctl | 2 | Process Mgmt. | sys_arch_prctl() | 588 | arch_prctl | 2 | Process Mgmt. | sys_arch_prctl() |
|
/linux/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 170 158 common arch_prctl sys_arch_prctl
|
/linux/tools/perf/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 170 158 common arch_prctl sys_arch_prctl
|
H A D | syscall_32.tbl | 399 384 i386 arch_prctl sys_arch_prctl compat_sys_arch_prctl
|