Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: sandbox/linux/suid/init_process.c

Issue 9661001: If using the suid sandbox, but not using the seccomp sandbox, there is a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/suid/init_process.c
===================================================================
--- sandbox/linux/suid/init_process.c (revision 125700)
+++ sandbox/linux/suid/init_process.c (working copy)
@@ -140,10 +140,6 @@
// Handle dying processes that have been re-parented to the "init" process
for (;;) {
- // Wait until we receive a SIGCHLD signal. Our signal handler doesn't
- // actually need to do anything, though
- sigwaitinfo(&mask, NULL);
-
bool retry = false;
do {
for (;;) {
@@ -197,5 +193,9 @@
}
}
} while (retry);
+
+ // Wait until we receive a SIGCHLD signal. Our signal handler doesn't
+ // actually need to do anything, though
+ sigwaitinfo(&mask, NULL);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698