Searched refs:CHILD_STACK_SIZE (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_fdinfo_test.c | 84 #define CHILD_STACK_SIZE 8192 macro 101 ret.stack = mmap(NULL, CHILD_STACK_SIZE, PROT_READ | PROT_WRITE, in clone_newns() 109 ret.pid = __clone2(fn, ret.stack, CHILD_STACK_SIZE, flags, args, &ret.fd); in clone_newns() 111 ret.pid = clone(fn, ret.stack + CHILD_STACK_SIZE, flags, args, &ret.fd); in clone_newns() 141 if (munmap(child->stack, CHILD_STACK_SIZE)) { in child_join()
|