| 1583 | } |
| 1584 | |
| 1585 | void exit(int status) { |
| 1586 | void (*libc_exit)(int) = (void (*)(int))dlsym(RTLD_NEXT, "exit"); |
| 1587 | if (libc_exit) { |
| 1588 | libc_exit(status); |
| 1589 | } |
| 1590 | abort(); |
| 1591 | } |
| 1592 | |
| 1593 | /* Keep the original-image obligation across both successful and failed exec. */ |
| 1594 | int execve(const char *path, char *const argv[], char *const envp[]) { |
no test coverage detected