Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/
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 …]
A Dptrace.c816 .rseq_abi_size = task->rseq_len, in ptrace_get_rseq_configuration()
/linux-6.3-rc2/tools/testing/selftests/rseq/
A Drseq.c76 static int sys_rseq(struct rseq_abi *rseq_abi, uint32_t rseq_len, in sys_rseq() argument
79 return syscall(__NR_rseq, rseq_abi, rseq_len, flags, sig); in sys_rseq()
/linux-6.3-rc2/include/linux/
A Dsched.h1305 u32 rseq_len; member
2361 t->rseq_len = 0; in rseq_fork()
2366 t->rseq_len = current->rseq_len; in rseq_fork()
2375 t->rseq_len = 0; in rseq_execve()
A Dsyscalls.h1034 asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len,

Completed in 16 milliseconds