| Index: trunk/src/sandbox/linux/suid/sandbox.c
|
| ===================================================================
|
| --- trunk/src/sandbox/linux/suid/sandbox.c (revision 251268)
|
| +++ trunk/src/sandbox/linux/suid/sandbox.c (working copy)
|
| @@ -58,12 +58,6 @@
|
| _exit(1);
|
| }
|
|
|
| -static void ExitWithErrorSignalHandler(int signal) {
|
| - const char msg[] = "\nThe setuid sandbox got signaled, exiting.\n";
|
| - write(2, msg, sizeof(msg) - 1);
|
| - _exit(1);
|
| -}
|
| -
|
| // We will chroot() to the helper's /proc/self directory. Anything there will
|
| // not exist anymore if we make sure to wait() for the helper.
|
| //
|
| @@ -201,15 +195,6 @@
|
| int exit_code = -1;
|
| siginfo_t reaped_child_info;
|
|
|
| - // Don't "Core" on SIGABRT. SIGABRT is sent by the Chrome OS session manager
|
| - // when things are hanging.
|
| - // Here, the current process is going to waitid() and _exit(), so there is no
|
| - // point in generating a crash report. The child process is the one
|
| - // blocking us.
|
| - if (signal(SIGABRT, ExitWithErrorSignalHandler) == SIG_ERR) {
|
| - FatalError("Failed to change signal handler");
|
| - }
|
| -
|
| int wait_ret =
|
| HANDLE_EINTR(waitid(P_PID, child_pid, &reaped_child_info, WEXITED));
|
|
|
|
|