OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // A mini-zygote specifically for Native Client. |
| 6 |
| 7 // Please do not include Chrome-specific include files here. |
| 8 // This include file is meant to be usable outside of Chrome. |
| 9 #ifndef CHROME_COMMON_NACL_HELPER_LINUX_H_ |
| 10 #define CHROME_COMMON_NACL_HELPER_LINUX_H_ |
| 11 #pragma once |
| 12 |
| 13 static const char kNaClHelperMagic[] = "NACLHELPER_OK"; |
| 14 static const char kNaClForkRequest[] = "NACLFORK"; |
| 15 static const int kNaClZygoteDescriptor = 3; |
| 16 static const int kNaClSandboxDescriptor = 5; |
| 17 |
| 18 static const int kNaClBrowserFDIndex = 0; |
| 19 static const int kNaClSandboxFDIndex = 1; |
| 20 static const int kNaClDummyFDIndex = 2; |
| 21 static const int kNaClParentFDIndex = 3; |
| 22 |
| 23 #endif // CHROME_COMMON_NACL_HELPER_LINUX_H_ |
OLD | NEW |