diff options
author | Paul Moore <paul@paul-moore.com> | 2019-05-02 19:29:59 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-05-02 19:29:59 -0400 |
commit | 7929badbb223d0dcfe866f7b47bcaffc57f6f3e2 (patch) | |
tree | c73b21a8e1a7c2d1052ef18f9a87cd1f25794845 /include | |
parent | dead12bc788b259b148cc4d93b970ef0bd602b1a (diff) | |
download | libseccomp-7929badbb223d0dcfe866f7b47bcaffc57f6f3e2.tar.gz |
api: make TSYNC and NOTIFY mutually exclusive
The kernel explicitly disallows setting both TSYNC and NEW_LISTENER
at the same time, so catch this and block it in libseccomp.
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/seccomp.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in index d2fde3a..b29c695 100644 --- a/include/seccomp.h.in +++ b/include/seccomp.h.in @@ -719,6 +719,7 @@ int seccomp_notify_alloc(struct seccomp_notif **req, */ void seccomp_notify_free(struct seccomp_notif *req, struct seccomp_notif_resp *resp); + /** * Receive a notification from a seccomp notification fd. * @param fd the notification fd |