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

Unified Diff: sandbox/linux/suid/client/setuid_sandbox_client.h

Issue 10837081: Revert 149692 - Create a LinuxSandbox class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « content/zygote/zygote_main_linux.cc ('k') | sandbox/linux/suid/client/setuid_sandbox_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/suid/client/setuid_sandbox_client.h
===================================================================
--- sandbox/linux/suid/client/setuid_sandbox_client.h (revision 149703)
+++ sandbox/linux/suid/client/setuid_sandbox_client.h (working copy)
@@ -6,9 +6,8 @@
#define SANDBOX_LINUX_SUID_SETUID_SANDBOX_CLIENT_H_
#include "base/basictypes.h"
+#include "base/environment.h"
-namespace base { class Environment; }
-
namespace sandbox {
// Helper class to use the setuid sandbox. This class is to be used both
@@ -39,8 +38,6 @@
bool IsInNewPIDNamespace() const;
// Did the setuid helper create a new network namespace ?
bool IsInNewNETNamespace() const;
- // Are we done and fully sandboxed ?
- bool IsSandboxed() const;
// Set-up the environment. This should be done prior to launching the setuid
// helper.
@@ -49,7 +46,6 @@
private:
// Holds the environment. Will never be NULL.
base::Environment* env_;
- bool sandboxed_;
DISALLOW_IMPLICIT_CONSTRUCTORS(SetuidSandboxClient);
};
« no previous file with comments | « content/zygote/zygote_main_linux.cc ('k') | sandbox/linux/suid/client/setuid_sandbox_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698