migration: handle the error condition properly
[qemu/ar7.git] / include / sysemu / seccomp.h
blobfe859894f6b22ca19c7f2983754d525165514bb5
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 parse_sandbox(void *opaque, QemuOpts *opts, Error **errp);
26 #endif