Searched refs:rseq_len (Results 1 – 6 of 6) sorted by relevance
/linux/kernel/ |
H A D | rseq.c | 96 if (!user_write_access_begin(rseq, t->rseq_len)) in rseq_update_cpu_node_id() 365 SYSCALL_DEFINE4(rseq, struct rseq __user *, rseq, u32, rseq_len, in SYSCALL_DEFINE4() argument 376 if (rseq_len != current->rseq_len) in SYSCALL_DEFINE4() 385 current->rseq_len = 0; in SYSCALL_DEFINE4() 398 if (current->rseq != rseq || rseq_len != current->rseq_len) in SYSCALL_DEFINE4() 416 if (rseq_len < ORIG_RSEQ_SIZE || in SYSCALL_DEFINE4() 417 (rseq_len == ORIG_RSEQ_SIZE && !IS_ALIGNED((unsigned long)rseq, ORIG_RSEQ_SIZE)) || in SYSCALL_DEFINE4() 418 (rseq_len != ORIG_RSEQ_SIZE && (!IS_ALIGNED((unsigned long)rseq, __alignof__(*rseq)) || in SYSCALL_DEFINE4() 419 rseq_len < offsetof(struct rseq, end)))) in SYSCALL_DEFINE4() 421 if (!access_ok(rseq, rseq_len)) in SYSCALL_DEFINE4() [all …]
|
H A D | ptrace.c | 797 .rseq_abi_size = task->rseq_len, in ptrace_get_rseq_configuration()
|
/linux/include/linux/ |
H A D | rseq.h | 72 t->rseq_len = 0; in rseq_fork() 77 t->rseq_len = current->rseq_len; in rseq_fork() 86 t->rseq_len = 0; in rseq_execve()
|
H A D | sched.h | 1370 u32 rseq_len; member
|
H A D | syscalls.h | 951 asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len,
|
/linux/tools/testing/selftests/rseq/ |
H A D | rseq.c | 80 static int sys_rseq(struct rseq_abi *rseq_abi, uint32_t rseq_len, in sys_rseq() argument 83 return syscall(__NR_rseq, rseq_abi, rseq_len, flags, sig); in sys_rseq()
|