| Index: content/common/sandbox_linux/sandbox_linux.h
|
| diff --git a/content/common/sandbox_linux/sandbox_linux.h b/content/common/sandbox_linux/sandbox_linux.h
|
| index 3836a8d9c18cf7a1287ffd3f9152ad7366e0b3ba..6b15562119094fa40c308f2f066a8d9b5402beab 100644
|
| --- a/content/common/sandbox_linux/sandbox_linux.h
|
| +++ b/content/common/sandbox_linux/sandbox_linux.h
|
| @@ -11,6 +11,8 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| +#include "base/posix/global_descriptors.h"
|
| +#include "content/public/common/content_descriptors.h"
|
| #include "content/public/common/sandbox_linux.h"
|
|
|
| #if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) || \
|
| @@ -29,6 +31,10 @@ namespace sandbox { class SetuidSandboxClient; }
|
|
|
| namespace content {
|
|
|
| +inline int GetSandboxFD() {
|
| + return kSandboxIPCChannel + base::GlobalDescriptors::kBaseDescriptor;
|
| +}
|
| +
|
| // A singleton class to represent and change our sandboxing state for the
|
| // three main Linux sandboxes.
|
| // The sandboxing model allows using two layers of sandboxing. The first layer
|
|
|