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

Unified Diff: sandbox/linux/seccomp/exit.cc

Issue 371047: Allow the seccomp sandbox to be enabled, even if the suid sandbox has... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « sandbox/linux/seccomp/clone.cc ('k') | sandbox/linux/seccomp/ioctl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp/exit.cc
===================================================================
--- sandbox/linux/seccomp/exit.cc (revision 31339)
+++ sandbox/linux/seccomp/exit.cc (working copy)
@@ -22,10 +22,11 @@
}
}
-bool Sandbox::process_exit(int parentProc, int sandboxFd, int threadFdPub,
+bool Sandbox::process_exit(int parentMapsFd, int sandboxFd, int threadFdPub,
int threadFd, SecureMem::Args* mem) {
- SecureMem::lockSystemCall(parentProc, mem);
- SecureMem::sendSystemCall(threadFdPub, true, parentProc, mem, __NR_exit, 0);
+ SecureMem::lockSystemCall(parentMapsFd, mem);
+ SecureMem::sendSystemCall(threadFdPub, true, parentMapsFd, mem,
+ __NR_exit, 0);
return true;
}
Property changes on: sandbox/linux/seccomp/exit.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « sandbox/linux/seccomp/clone.cc ('k') | sandbox/linux/seccomp/ioctl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698