tcg: enable multiple TCG contexts in softmmu
[qemu/ar7.git] / include / sysemu / seccomp.h
blob9b092aa23f611dcc31c0316776b0589a5eb82bc4
1 /*
2 * QEMU seccomp mode 2 support with libseccomp
4 * Copyright IBM, Corp. 2012
6 * Authors:
7 * Eduardo Otubo <eotubo@br.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
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.
15 #ifndef QEMU_SECCOMP_H
16 #define QEMU_SECCOMP_H
18 #define QEMU_SECCOMP_SET_DEFAULT (1 << 0)
19 #define QEMU_SECCOMP_SET_OBSOLETE (1 << 1)
20 #define QEMU_SECCOMP_SET_PRIVILEGED (1 << 2)
21 #define QEMU_SECCOMP_SET_SPAWN (1 << 3)
22 #define QEMU_SECCOMP_SET_RESOURCECTL (1 << 4)
24 int seccomp_start(uint32_t seccomp_opts);
25 #endif