blob: fc31dbb0f005cbae7d1e5cc808e2e09203d2b0fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* Copyright (c) 2010 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.
*/
/* This file contains NaCl private interfaces. */
/* PPB_NaCl_Private */
interface PPB_NaCl_Private_0_1 {
/* This function launches NaCl's sel_ldr process. On success, the function
* returns true, otherwise it returns false. When it returns true, it will
* write |socket_count| nacl::Handles to imc_handles and will write the
* nacl::Handle of the created process to |nacl_process_handle|. Finally,
* the function will write the process ID of the created process to
* |nacl_process_id|.
*/
bool LaunchSelLdr(
[in] str_t alleged_url,
[in] int32_t socket_count,
[out] mem_t imc_handles,
[out] mem_t nacl_process_handle,
[out] int32_t nacl_process_id);
/* On POSIX systems, this function returns the file descriptor of
* /dev/urandom. On non-POSIX systems, this function returns 0.
*/
int32_t UrandomFD();
};
|