diff options
author | Eduardo Otubo <otubo@redhat.com> | 2017-03-01 23:17:29 +0100 |
---|---|---|
committer | Eduardo Otubo <otubo@redhat.com> | 2017-09-15 10:15:05 +0200 |
commit | 2b716fa6d63a183a42b789595c3944f53c0ded7c (patch) | |
tree | a460580478014b6b51768ba9c2e407c11fff8875 /include/sysemu | |
parent | 1bd6152ae23549032ef4aca0d3d350512f012f05 (diff) |
seccomp: add obsolete argument to command line
This patch introduces the argument [,obsolete=allow] to the `-sandbox on'
option. It allows Qemu to run safely on old system that still relies on
old system calls.
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r-- | include/sysemu/seccomp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sysemu/seccomp.h b/include/sysemu/seccomp.h index 23b9c3c789..215138a372 100644 --- a/include/sysemu/seccomp.h +++ b/include/sysemu/seccomp.h @@ -16,8 +16,9 @@ #define QEMU_SECCOMP_H #define QEMU_SECCOMP_SET_DEFAULT (1 << 0) +#define QEMU_SECCOMP_SET_OBSOLETE (1 << 1) #include <seccomp.h> -int seccomp_start(void); +int seccomp_start(uint32_t seccomp_opts); #endif |