mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
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:
parent
c3f58825f1
commit
0d375e69e1
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user