Index: content/zygote/zygote_libc_override_linux.h |
diff --git a/content/zygote/zygote_libc_override_linux.h b/content/zygote/zygote_libc_override_linux.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f3f5f52cfbf24a1748191efb2679db94bb01db84 |
--- /dev/null |
+++ b/content/zygote/zygote_libc_override_linux.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_ZYGOTE_ZYGOTE_LIBC_OVERRIDE_LINUX_H_ |
Sergey Ulanov
2012/07/10 22:42:04
not sure if this is the best location for this fil
Nick Bray (chromium)
2012/07/11 00:06:11
Done.
|
+#define CONTENT_ZYGOTE_ZYGOTE_LIBC_OVERRIDE_LINUX_H_ |
+ |
+namespace content { |
+ |
+#if !defined(CHROMIUM_SELINUX) |
+ |
+// Used to control if calls to libc are intercepted or not. |
+extern bool g_am_zygote_or_renderer; |
Sergey Ulanov
2012/07/10 22:42:04
instead of exposing this variable it's better to h
Nick Bray (chromium)
2012/07/11 00:06:11
Done.
|
+ |
+#endif |
Sergey Ulanov
2012/07/10 22:42:04
// !defined (CHROMIUM_SELINUX)
Nick Bray (chromium)
2012/07/11 00:06:11
Done.
|
+ |
+} |
Sergey Ulanov
2012/07/10 22:42:04
// namespace content
Nick Bray (chromium)
2012/07/11 00:06:11
Done.
|
+ |
+#endif // CONTENT_ZYGOTE_ZYGOTE_LIBC_OVERRIDE_LINUX_H_ |