Home
last modified time | relevance | path

Searched refs:_exit (Results 1 – 25 of 34) sorted by relevance

12

/bionic/libc/bionic/
Dspawn.cpp62 if (fd == -1) _exit(127); in Do()
65 if (dup2(fd, new_fd) == -1) _exit(127); in Do()
72 if (dup2(fd, new_fd) == -1) _exit(127); in Do()
110 if (sigaction64(s, nullptr, &current) == -1) _exit(127); in ApplyAttrs()
113 if (reset && sigaction64(s, &default_sa, nullptr) == -1) _exit(127); in ApplyAttrs()
116 if ((flags & POSIX_SPAWN_SETPGROUP) != 0 && setpgid(0, (*attr)->pgroup) == -1) _exit(127); in ApplyAttrs()
117 if ((flags & POSIX_SPAWN_SETSID) != 0 && setsid() == -1) _exit(127); in ApplyAttrs()
122 if (sched_setscheduler(0, (*attr)->schedpolicy, &(*attr)->schedparam) == -1) _exit(127); in ApplyAttrs()
124 if (sched_setparam(0, &(*attr)->schedparam) == -1) _exit(127); in ApplyAttrs()
128 if (seteuid(getuid()) == -1 || setegid(getgid()) == -1) _exit(127); in ApplyAttrs()
[all …]
Dexit.cpp41 _exit(status); in exit()
Dabort.cpp56 _exit(127); in abort()
Dpty.cpp170 _exit(1); in forkpty()
Dlibc_init_common.cpp134 _exit(EXIT_FAILURE); in __early_abort()
/bionic/tests/
Dpthread_dlfcn_test.cpp65 _exit(0); in TEST()
82 _exit(0); in TEST()
107 _exit(0); in TEST()
Dsys_ptrace_test.cpp165 _exit(1); in run_watchpoint_test()
170 _exit(2); in run_watchpoint_test()
174 _exit(0); in run_watchpoint_test()
212 _exit(3); in watchpoint_stress_child()
280 _exit(1); in breakpoint_fork_child()
285 _exit(2); in breakpoint_fork_child()
292 _exit(0); in breakpoint_fork_child()
Dheap_tagging_level_test.cpp82 _exit(2); in CheckSiCode()
84 _exit(1); in CheckSiCode()
Dunistd_test.cpp269 TEST(UNISTD_TEST, _exit) { in TEST() argument
274 _exit(99); in TEST()
453 _exit(1); in TEST()
459 _exit(1); in TEST()
462 _exit(0); in TEST()
548 TestGetPidCachingWithFork(vfork, _exit); in TEST()
687 _exit(0); in HwasanVforkTestChild()
1263 _exit(0); in TEST()
1293 _exit(0); in TEST()
Dmalloc_stress_test.cpp57 _exit(1); in TEST()
Dpty_test.cpp64 _exit(0); in TEST()
Dfdsan_test.cpp205 _exit(0); in TEST_F()
Dfenv_test.cpp209 _exit(123); in TEST()
Dfdtrack_test.cpp301 _exit(0);
Dclang_fortify_tests.cpp138 _exit(0); in ExitAfter()
Dspawn_test.cpp472 _exit(99); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Ddaemon.c47 _exit(0); in daemon()
/bionic/benchmarks/
Dunistd_benchmark.cpp48 _exit(1); in BM_unistd_fork_call()
/bionic/linker/
Dlinker_main.cpp256 _exit(EXIT_FAILURE); in __linker_error()
413 _exit(EXIT_FAILURE); in linker_main()
724 _exit(EXIT_SUCCESS); in __linker_init_post_relocation()
745 if (g_is_ldd) _exit(EXIT_SUCCESS); in __linker_init_post_relocation()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp502 _exit(1); in TEST()
509 _exit(1); in TEST()
/bionic/libc/include/
Dstdlib.h49 __noreturn void _Exit(int) __RENAME(_exit);
Dunistd.h78 __noreturn void _exit(int __status);
/bionic/tests/headers/posix/
Dunistd_h.c299 FUNCTION(_exit, void (*f)(int)); in unistd_h()
/bionic/libc/stdio/
Dstdio.cpp1224 if (dup2(fds[child], desired_child_fd) == -1) _exit(127); in popen()
1228 _exit(127); in popen()
/bionic/libc/
DSYSCALLS.TXT14 # the exported function name (example: the exit syscall is implemented by the _exit()
317 void _exit|_Exit:exit_group(int) all

12