Searched refs:test_clone3_set_tid (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/tools/testing/selftests/clone3/ |
D | clone3_set_tid.c | 119 static void test_clone3_set_tid(pid_t *set_tid, in test_clone3_set_tid() function 177 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL + 1, 0, -EINVAL, 0, 0); in main() 179 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL * 2, 0, -EINVAL, 0, 0); in main() 181 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL * 2 + 1, 0, in main() 184 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL * 42, 0, -EINVAL, 0, 0); in main() 190 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL - 1, 0, -EINVAL, 0, 0); in main() 193 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL + 1, 0, -EINVAL, 0, 0); in main() 195 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL * 2, 0, -EINVAL, 0, 0); in main() 197 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL * 2 + 1, 0, in main() 200 test_clone3_set_tid(set_tid, MAX_PID_NS_LEVEL * 42, 0, -EINVAL, 0, 0); in main() [all …]
|
D | clone3_cap_checkpoint_restore.c | 83 static int test_clone3_set_tid(struct __test_metadata *_metadata, in test_clone3_set_tid() function 175 ASSERT_EQ(test_clone3_set_tid(_metadata, set_tid, 1), -EPERM); in TEST() 179 ASSERT_EQ(test_clone3_set_tid(_metadata, set_tid, 1), 0); in TEST()
|