Searched refs:_exit (Results 1 – 25 of 34) sorted by relevance
12
/bionic/libc/bionic/ |
D | spawn.cpp | 62 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, ¤t) == -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 …]
|
D | exit.cpp | 41 _exit(status); in exit()
|
D | abort.cpp | 56 _exit(127); in abort()
|
D | pty.cpp | 170 _exit(1); in forkpty()
|
D | libc_init_common.cpp | 134 _exit(EXIT_FAILURE); in __early_abort()
|
/bionic/tests/ |
D | pthread_dlfcn_test.cpp | 65 _exit(0); in TEST() 82 _exit(0); in TEST() 107 _exit(0); in TEST()
|
D | sys_ptrace_test.cpp | 165 _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()
|
D | heap_tagging_level_test.cpp | 82 _exit(2); in CheckSiCode() 84 _exit(1); in CheckSiCode()
|
D | unistd_test.cpp | 269 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()
|
D | malloc_stress_test.cpp | 57 _exit(1); in TEST()
|
D | pty_test.cpp | 64 _exit(0); in TEST()
|
D | fdsan_test.cpp | 205 _exit(0); in TEST_F()
|
D | fenv_test.cpp | 209 _exit(123); in TEST()
|
D | fdtrack_test.cpp | 301 _exit(0);
|
D | clang_fortify_tests.cpp | 138 _exit(0); in ExitAfter()
|
D | spawn_test.cpp | 472 _exit(99); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 47 _exit(0); in daemon()
|
/bionic/benchmarks/ |
D | unistd_benchmark.cpp | 48 _exit(1); in BM_unistd_fork_call()
|
/bionic/linker/ |
D | linker_main.cpp | 256 _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/ |
D | malloc_debug_system_tests.cpp | 502 _exit(1); in TEST() 509 _exit(1); in TEST()
|
/bionic/libc/include/ |
D | stdlib.h | 49 __noreturn void _Exit(int) __RENAME(_exit);
|
D | unistd.h | 78 __noreturn void _exit(int __status);
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 299 FUNCTION(_exit, void (*f)(int)); in unistd_h()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 1224 if (dup2(fds[child], desired_child_fd) == -1) _exit(127); in popen() 1228 _exit(127); in popen()
|
/bionic/libc/ |
D | SYSCALLS.TXT | 14 # the exported function name (example: the exit syscall is implemented by the _exit() 317 void _exit|_Exit:exit_group(int) all
|
12