Home
last modified time | relevance | path

Searched refs:arch_prctl (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/arch/x86/um/
A Dsyscalls_64.c16 long arch_prctl(struct task_struct *task, int option, in arch_prctl() function
79 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
81 return arch_prctl(current, option, (unsigned long __user *) arg2); in SYSCALL_DEFINE2()
89 arch_prctl(to, ARCH_SET_FS, (void __user *) to->thread.arch.fs); in arch_switch_to()
A Dsyscalls_32.c5 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
A Dptrace_64.c262 ret = arch_prctl(child, data, (void __user *) addr); in subarch_ptrace()
/linux-6.3-rc2/Documentation/x86/x86_64/
A Dfsgs.rst46 - 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-6.3-rc2/Documentation/x86/
A Dxstate.rst17 The kernel provides an arch_prctl(2) based mechanism for applications to
18 request the usage of such features. The arch_prctl(2) options related to
23 arch_prctl(ARCH_GET_XCOMP_SUPP, &features);
30 arch_prctl(ARCH_GET_XCOMP_PERM, &features);
38 arch_prctl(ARCH_REQ_XCOMP_PERM, feature_nr);
/linux-6.3-rc2/tools/perf/trace/beauty/
A DBuild13 perf-y += arch_prctl.o
/linux-6.3-rc2/arch/x86/um/asm/
A Dptrace.h82 extern long arch_prctl(struct task_struct *task, int option,
/linux-6.3-rc2/arch/x86/kernel/
A Dprocess_32.c220 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
A Dprocess_64.c842 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
854 COMPAT_SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in COMPAT_SYSCALL_DEFINE2() argument
/linux-6.3-rc2/arch/x86/entry/syscalls/
A Dsyscall_64.tbl169 158 common arch_prctl sys_arch_prctl
A Dsyscall_32.tbl398 384 i386 arch_prctl sys_arch_prctl compat_sys_arch_prctl
/linux-6.3-rc2/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl169 158 common arch_prctl sys_arch_prctl
/linux-6.3-rc2/Documentation/admin-guide/
A Dworkload-tracing.rst488 | arch_prctl | 2 | Process Mgmt. | sys_arch_prctl() |
588 | arch_prctl | 2 | Process Mgmt. | sys_arch_prctl() |
/linux-6.3-rc2/Documentation/virt/kvm/
A Dapi.rst1622 enabled with ``arch_prctl()``, but this may change in the future.
1723 ``arch_prctl()`` before calling this ioctl. Feature bits that have not
5935 enabled with ``arch_prctl()``, but this may change in the future.

Completed in 26 milliseconds