]>
Commit | Line | Data |
---|---|---|
2f668be7 EO |
1 | /* |
2 | * QEMU seccomp mode 2 support with libseccomp | |
3 | * | |
4 | * Copyright IBM, Corp. 2012 | |
5 | * | |
6 | * Authors: | |
7 | * Eduardo Otubo <[email protected]> | |
8 | * | |
9 | * This work is licensed under the terms of the GNU GPL, version 2. See | |
10 | * the COPYING file in the top-level directory. | |
11 | * | |
12 | * Contributions after 2012-01-13 are licensed under the terms of the | |
13 | * GNU GPL, version 2 or (at your option) any later version. | |
14 | */ | |
15 | #ifndef QEMU_SECCOMP_H | |
16 | #define QEMU_SECCOMP_H | |
17 | ||
1bd6152a | 18 | #define QEMU_SECCOMP_SET_DEFAULT (1 << 0) |
2b716fa6 | 19 | #define QEMU_SECCOMP_SET_OBSOLETE (1 << 1) |
73a1e647 | 20 | #define QEMU_SECCOMP_SET_PRIVILEGED (1 << 2) |
995a226f | 21 | #define QEMU_SECCOMP_SET_SPAWN (1 << 3) |
24f8cdc5 | 22 | #define QEMU_SECCOMP_SET_RESOURCECTL (1 << 4) |
1bd6152a | 23 | |
9d0fdecb YMZ |
24 | int parse_sandbox(void *opaque, QemuOpts *opts, Error **errp); |
25 | ||
2f668be7 | 26 | #endif |