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

Unified Diff: sandbox/linux/seccomp/maps.h

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/madvise.cc ('k') | sandbox/linux/seccomp/maps.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp/maps.h
===================================================================
--- sandbox/linux/seccomp/maps.h (revision 31339)
+++ sandbox/linux/seccomp/maps.h (working copy)
@@ -19,7 +19,7 @@
class Maps {
friend class Library;
public:
- Maps(const std::string& maps_file);
+ Maps(int proc_self_maps);
~Maps() { }
protected:
@@ -69,12 +69,12 @@
char* vsyscall() const { return vsyscall_; }
protected:
- const std::string maps_file_;
- const Iterator begin_iter_;
- const Iterator end_iter_;
+ const int proc_self_maps_;
+ const Iterator begin_iter_;
+ const Iterator end_iter_;
- LibraryMap libs_;
- char* vsyscall_;
+ LibraryMap libs_;
+ char* vsyscall_;
};
} // namespace
« no previous file with comments | « sandbox/linux/seccomp/madvise.cc ('k') | sandbox/linux/seccomp/maps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698