From 7929badbb223d0dcfe866f7b47bcaffc57f6f3e2 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Thu, 2 May 2019 19:29:59 -0400 Subject: 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 --- include/seccomp.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit v1.2.1