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

Unified Diff: sandbox/linux/services/libc_urandom_override.cc

Issue 14771026: Linux: remove unmaintained SELinux code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « sandbox/linux/services/libc_urandom_override.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/services/libc_urandom_override.cc
diff --git a/sandbox/linux/services/libc_urandom_override.cc b/sandbox/linux/services/libc_urandom_override.cc
index 3f9957222f922095281d4691039039f73a2bdb07..dfb4c269e3ffd10a14f425ceae1580474767372d 100644
--- a/sandbox/linux/services/libc_urandom_override.cc
+++ b/sandbox/linux/services/libc_urandom_override.cc
@@ -18,10 +18,6 @@
namespace sandbox {
-// With SELinux we can carve out a precise sandbox, so we don't have to play
-// with intercepting libc calls.
-#if !defined(CHROMIUM_SELINUX)
-
static bool g_override_urandom = false;
void InitLibcUrandomOverrides() {
@@ -162,6 +158,4 @@ int xstat64_override(int version, const char *path, struct stat64 *buf) {
#endif // !ADDRESS_SANITIZER
-#endif // !CHROMIUM_SELINUX
-
} // namespace content
« no previous file with comments | « sandbox/linux/services/libc_urandom_override.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698