Home
last modified time | relevance | path

Searched refs:rseq_len (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/kernel/
H A Drseq.c96 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 Dptrace.c817 .rseq_abi_size = task->rseq_len, in ptrace_get_rseq_configuration()
/openbmc/linux/tools/testing/selftests/rseq/
H A Drseq.c80 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()
/openbmc/linux/include/linux/
H A Dsched.h1309 u32 rseq_len; member
2387 t->rseq_len = 0; in rseq_fork()
2392 t->rseq_len = current->rseq_len; in rseq_fork()
2401 t->rseq_len = 0; in rseq_execve()
H A Dsyscalls.h919 asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len,