OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /* | 7 /* |
8 * NaCl Service Runtime. I/O Descriptor / Handle abstraction. | 8 * NaCl Service Runtime. I/O Descriptor / Handle abstraction. |
9 */ | 9 */ |
10 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 NACL_DESC_BOUND_SOCKET, | 83 NACL_DESC_BOUND_SOCKET, |
84 NACL_DESC_CONNECTED_SOCKET, | 84 NACL_DESC_CONNECTED_SOCKET, |
85 NACL_DESC_SHM, | 85 NACL_DESC_SHM, |
86 NACL_DESC_MUTEX, | 86 NACL_DESC_MUTEX, |
87 NACL_DESC_CONDVAR, | 87 NACL_DESC_CONDVAR, |
88 NACL_DESC_SEMAPHORE, | 88 NACL_DESC_SEMAPHORE, |
89 NACL_DESC_SYNC_SOCKET, | 89 NACL_DESC_SYNC_SOCKET, |
90 NACL_DESC_TRANSFERABLE_DATA_SOCKET, | 90 NACL_DESC_TRANSFERABLE_DATA_SOCKET, |
91 NACL_DESC_IMC_SOCKET, | 91 NACL_DESC_IMC_SOCKET, |
92 NACL_DESC_QUOTA, | 92 NACL_DESC_QUOTA, |
93 NACL_DESC_DEVICE_RNG, | |
94 NACL_DESC_DEVICE_POSTMESSAGE, | 93 NACL_DESC_DEVICE_POSTMESSAGE, |
95 NACL_DESC_CUSTOM, | 94 NACL_DESC_CUSTOM, |
96 NACL_DESC_NULL | 95 NACL_DESC_NULL |
97 /* | 96 /* |
98 * Add new NaClDesc subclasses here. | 97 * Add new NaClDesc subclasses here. |
99 * | 98 * |
100 * NB: when we add new tag types, NaClDescInternalize[] **MUST** | 99 * NB: when we add new tag types, NaClDescInternalize[] **MUST** |
101 * also be updated to add new internalization functions. | 100 * also be updated to add new internalization functions. |
102 */ | 101 */ |
103 }; | 102 }; |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 int NaClDescIsSafeForMmap(struct NaClDesc *self); | 665 int NaClDescIsSafeForMmap(struct NaClDesc *self); |
667 | 666 |
668 void NaClDescMarkSafeForMmap(struct NaClDesc *self); | 667 void NaClDescMarkSafeForMmap(struct NaClDesc *self); |
669 | 668 |
670 void NaClDescMarkUnsafeForMmap(struct NaClDesc *self); | 669 void NaClDescMarkUnsafeForMmap(struct NaClDesc *self); |
671 | 670 |
672 | 671 |
673 EXTERN_C_END | 672 EXTERN_C_END |
674 | 673 |
675 #endif // NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_BASE_H_ | 674 #endif // NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_BASE_H_ |
OLD | NEW |