diff options
| author | Peter Maydell | 2017-09-15 23:34:08 +0200 |
|---|---|---|
| committer | Peter Maydell | 2017-09-15 23:34:08 +0200 |
| commit | 11dd4b89d0452d6587aa310c7020685642b708f7 (patch) | |
| tree | dc26845e39da0629f67c5fee163bb4ba235cb11f /include | |
| parent | Merge remote-tracking branch 'remotes/huth/tags/check-20170915' into staging (diff) | |
| parent | buildsys: Move seccomp cflags/libs to per object (diff) | |
| download | qemu-11dd4b89d0452d6587aa310c7020685642b708f7.tar.gz qemu-11dd4b89d0452d6587aa310c7020685642b708f7.tar.xz qemu-11dd4b89d0452d6587aa310c7020685642b708f7.zip | |
Merge remote-tracking branch 'remotes/otubo/tags/pull-seccomp-20170915' into staging
pull-seccomp-20170915
# gpg: Signature made Fri 15 Sep 2017 09:21:15 BST
# gpg: using RSA key 0xDF32E7C0F0FFF9A2
# gpg: Good signature from "Eduardo Otubo (Senior Software Engineer) <otubo@redhat.com>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: D67E 1B50 9374 86B4 0723 DBAB DF32 E7C0 F0FF F9A2
* remotes/otubo/tags/pull-seccomp-20170915:
buildsys: Move seccomp cflags/libs to per object
seccomp: add resourcecontrol argument to command line
seccomp: add spawn argument to command line
seccomp: add elevateprivileges argument to command line
seccomp: add obsolete argument to command line
seccomp: changing from whitelist to blacklist
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sysemu/seccomp.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sysemu/seccomp.h b/include/sysemu/seccomp.h index cfc06008cb..e67c2dc840 100644 --- a/include/sysemu/seccomp.h +++ b/include/sysemu/seccomp.h @@ -15,7 +15,13 @@ #ifndef QEMU_SECCOMP_H #define QEMU_SECCOMP_H +#define QEMU_SECCOMP_SET_DEFAULT (1 << 0) +#define QEMU_SECCOMP_SET_OBSOLETE (1 << 1) +#define QEMU_SECCOMP_SET_PRIVILEGED (1 << 2) +#define QEMU_SECCOMP_SET_SPAWN (1 << 3) +#define QEMU_SECCOMP_SET_RESOURCECTL (1 << 4) + #include <seccomp.h> -int seccomp_start(void); +int seccomp_start(uint32_t seccomp_opts); #endif |
