Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/include/minsfi.h

Issue 539683002: MinSFI: Add loader (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #ifndef MINSFI_H
8 #define MINSFI_H
9
10 #include <stdbool.h>
11
12 /*
13 * Initializes the address subspace if it has not been initialized yet and
14 * invokes the entry function of the sandbox.
15 *
16 * Returns EXIT_FAILURE if the sandbox cannot be initialized. Otherwise returns
17 * the exit value returned by the sandbox.
18 */
19 int minsfi_exec(void);
20
21 /*
22 * Destroys the MinSFI address subspace if there is one. Returns FALSE if
23 * a subspace exists but could not be destroyed.
24 */
25 bool minsfi_destroy(void);
26
27 #endif // MINSFI_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698