Home
last modified time | relevance | path

Searched refs:rseq (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/kernel/
Drseq.c88 if (put_user(cpu_id, &t->rseq->cpu_id_start)) in rseq_update_cpu_id()
90 if (put_user(cpu_id, &t->rseq->cpu_id)) in rseq_update_cpu_id()
103 if (put_user(cpu_id_start, &t->rseq->cpu_id_start)) in rseq_reset_rseq_cpu_id()
110 if (put_user(cpu_id, &t->rseq->cpu_id)) in rseq_reset_rseq_cpu_id()
123 if (copy_from_user(&ptr, &t->rseq->rseq_cs.ptr64, sizeof(ptr))) in rseq_get_rseq_cs()
167 ret = get_user(flags, &t->rseq->flags); in rseq_need_restart()
207 if (clear_user(&t->rseq->rseq_cs.ptr64, sizeof(t->rseq->rseq_cs.ptr64))) in clear_rseq_cs()
270 if (unlikely(!access_ok(VERIFY_WRITE, t->rseq, sizeof(*t->rseq)))) in __rseq_handle_notify_resume()
296 if (!t->rseq) in rseq_syscall()
298 if (!access_ok(VERIFY_READ, t->rseq, sizeof(*t->rseq)) || in rseq_syscall()
[all …]
DMakefile118 obj-$(CONFIG_RSEQ) += rseq.o
Dsys_ni.c437 COND_SYSCALL(rseq);
/Linux-v4.19/tools/testing/selftests/rseq/
DMakefile18 $(OUTPUT)/librseq.so: rseq.c rseq.h rseq-*.h
21 $(OUTPUT)/%: %.c $(TEST_GEN_PROGS_EXTENDED) rseq.h rseq-*.h
25 rseq.h rseq-*.h
29 rseq.h rseq-*.h
Drseq.c34 volatile struct rseq __rseq_abi = {
61 static int sys_rseq(volatile struct rseq *rseq_abi, uint32_t rseq_len, in sys_rseq()
75 rc = sys_rseq(&__rseq_abi, sizeof(struct rseq), 0, RSEQ_SIG); in rseq_register_current_thread()
97 rc = sys_rseq(&__rseq_abi, sizeof(struct rseq), in rseq_unregister_current_thread()
Drseq.h47 extern __thread volatile struct rseq __rseq_abi;
/Linux-v4.19/include/linux/
Dsched.h1057 struct rseq __user *rseq; member
1790 if (t->rseq) in rseq_set_notify_resume()
1799 if (current->rseq) in rseq_handle_notify_resume()
1833 t->rseq = NULL; in rseq_fork()
1838 t->rseq = current->rseq; in rseq_fork()
1847 t->rseq = NULL; in rseq_execve()
Dsyscalls.h70 struct rseq;
907 asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len,
/Linux-v4.19/include/uapi/linux/
Drseq.h62 struct rseq { struct
/Linux-v4.19/include/trace/events/
Drseq.h3 #define TRACE_SYSTEM rseq
/Linux-v4.19/arch/s390/kernel/
Dcompat_wrapper.c186 COMPAT_SYSCALL_WRAP4(rseq, struct rseq __user *, rseq, u32, rseq_len, int, flags, u32, sig)
/Linux-v4.19/tools/testing/selftests/
DMakefile32 TARGETS += rseq
/Linux-v4.19/arch/powerpc/include/asm/
Dsystbl.h395 SYSCALL(rseq)
/Linux-v4.19/arch/x86/entry/syscalls/
Dsyscall_64.tbl345 334 common rseq __x64_sys_rseq
Dsyscall_32.tbl400 386 i386 rseq sys_rseq __ia32_sys_rseq
/Linux-v4.19/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl345 334 common rseq __x64_sys_rseq
/Linux-v4.19/arch/arm/tools/
Dsyscall.tbl415 398 common rseq sys_rseq
/Linux-v4.19/arch/s390/kernel/syscalls/
Dsyscall.tbl393 383 common rseq sys_rseq compat_sys_rseq
/Linux-v4.19/init/
DKconfig1483 bool "Enable rseq() system call" if EXPERT
1498 bool "Enabled debugging of rseq() system call" if EXPERT
1501 Enable extra debugging checks for the rseq system call.
/Linux-v4.19/
DMAINTAINERS12427 F: kernel/rseq.c
12428 F: include/uapi/linux/rseq.h
12429 F: include/trace/events/rseq.h
12430 F: tools/testing/selftests/rseq/