Searched refs:set_tid (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/clone3/ |
A D | clone3_set_tid.c | 52 .set_tid = ptr_to_u64(set_tid), in call_clone3_set_tid() 176 memset(&set_tid, 0, sizeof(set_tid)); in main() 192 memset(&set_tid, 0xff, sizeof(set_tid)); in main() 208 memset(&set_tid, 0, sizeof(set_tid)); in main() 210 set_tid[0] = 0; in main() 213 set_tid[0] = -1; in main() 226 set_tid[0] = 1; in main() 277 set_tid[0] = 1; in main() 307 set_tid[0] = 2; in main() 310 set_tid[0] = 1; in main() [all …]
|
A D | clone3_cap_checkpoint_restore.c | 42 pid_t *set_tid, size_t set_tid_size) in call_clone3_set_tid() argument 49 .set_tid = ptr_to_u64(set_tid), in call_clone3_set_tid() 65 if (set_tid[0] != getpid()) in call_clone3_set_tid() 84 pid_t *set_tid, size_t set_tid_size) in test_clone3_set_tid() argument 89 ret = call_clone3_set_tid(_metadata, set_tid, set_tid_size); in test_clone3_set_tid() 143 pid_t set_tid[1]; in TEST() local 150 memset(&set_tid, 0, sizeof(set_tid)); in TEST() 162 set_tid[0] = pid; in TEST() 173 set_tid[0] = pid; in TEST() 175 ASSERT_EQ(test_clone3_set_tid(_metadata, set_tid, 1), -EPERM); in TEST() [all …]
|
A D | clone3_selftests.h | 38 __aligned_u64 set_tid; member
|
/linux/tools/include/uapi/linux/ |
A D | sched.h | 101 __aligned_u64 set_tid; member
|
/linux/include/uapi/linux/ |
A D | sched.h | 101 __aligned_u64 set_tid; member
|
/linux/kernel/ |
A D | fork.c | 2207 pid = alloc_pid(p->nsproxy->pid_ns_for_children, args->set_tid, in copy_process() 2711 pid_t *kset_tid = kargs->set_tid; in copy_clone_args_from_user() 2733 if (unlikely(!args.set_tid && args.set_tid_size > 0)) in copy_clone_args_from_user() 2736 if (unlikely(args.set_tid && args.set_tid_size == 0)) in copy_clone_args_from_user() 2764 if (args.set_tid && in copy_clone_args_from_user() 2765 copy_from_user(kset_tid, u64_to_user_ptr(args.set_tid), in copy_clone_args_from_user() 2769 kargs->set_tid = kset_tid; in copy_clone_args_from_user() 2846 pid_t set_tid[MAX_PID_NS_LEVEL]; in SYSCALL_DEFINE2() local 2848 kargs.set_tid = set_tid; in SYSCALL_DEFINE2()
|
A D | pid.c | 159 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, in alloc_pid() argument 191 tid = set_tid[ns->level - i]; in alloc_pid()
|
/linux/include/linux/sched/ |
A D | task.h | 30 pid_t *set_tid; member
|
/linux/include/linux/ |
A D | pid.h | 136 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
|
Completed in 21 milliseconds