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

Unified Diff: sandbox/linux/seccomp/mprotect.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/mmap.cc ('k') | sandbox/linux/seccomp/munmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp/mprotect.cc
===================================================================
--- sandbox/linux/seccomp/mprotect.cc (revision 31339)
+++ sandbox/linux/seccomp/mprotect.cc (working copy)
@@ -26,8 +26,9 @@
return static_cast<int>(rc);
}
-bool Sandbox::process_mprotect(int parentProc, int sandboxFd, int threadFdPub,
- int threadFd, SecureMem::Args* mem) {
+bool Sandbox::process_mprotect(int parentMapsFd, int sandboxFd,
+ int threadFdPub, int threadFd,
+ SecureMem::Args* mem) {
// Read request
SysCalls sys;
MProtect mprotect_req;
Property changes on: sandbox/linux/seccomp/mprotect.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « sandbox/linux/seccomp/mmap.cc ('k') | sandbox/linux/seccomp/munmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698