Remove abort from ExecuteProcess

Otherwise ExecuteProcess is implicitly `[[noreturn]]` and this
might cause policy violations in `__asan_handle_no_return`
for ASAN builds.

PiperOrigin-RevId: 319203128
Change-Id: I5c8ba71ce88261f803aa3f16730eccea0d803dd1
This commit is contained in:
Wiktor Garbacz 2020-07-01 04:53:52 -07:00 committed by Copybara-Service
parent c3f58825f1
commit 0d375e69e1

View File

@ -624,7 +624,6 @@ void ForkServer::ExecuteProcess(int execve_fd, const char** argv,
} }
util::Syscall(__NR_exit_group, EXIT_FAILURE); util::Syscall(__NR_exit_group, EXIT_FAILURE);
abort();
} }
void ForkServer::InitializeNamespaces(const ForkRequest& request, uid_t uid, void ForkServer::InitializeNamespaces(const ForkRequest& request, uid_t uid,