summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2020-06-13 15:47:49 -0400
committerPaul Moore <paul@paul-moore.com>2020-06-29 21:45:01 -0400
commit6b286c2e8e43de76746346b8eab855311915f5aa (patch)
tree0564aa8607a2674e2abee86cfe2386a631cfa386 /include
parent12cf0074be3fa87ef33eecde6848176f03cd1460 (diff)
downloadlibseccomp-6b286c2e8e43de76746346b8eab855311915f5aa.tar.gz
api: add API level 6
API level 6 allows callers to use both the TSYNC and notify APIs at the same time. This is due to the TSYNC_ESRCH flag which was added in Linux v5.7. This patch also fixes some omissions in seccomp_api_set(). Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r--include/seccomp.h.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in
index c78846b..ef4c6e4 100644
--- a/include/seccomp.h.in
+++ b/include/seccomp.h.in
@@ -415,10 +415,8 @@ const struct scmp_version *seccomp_version(void);
* support for the SCMP_ACT_LOG action
* support for the SCMP_ACT_KILL_PROCESS action
* 4 : support for the SCMP_FLTATR_CTL_SSB filter attrbute
- * 5 : support for the SCMP_ACT_NOTIFY action
- * support for using seccomp_notify_receive()
- * support for using seccomp_notify_respond()
- * support for using seccomp_notify_id_valid()
+ * 5 : support for the SCMP_ACT_NOTIFY action and notify APIs
+ * 6 : support the simultaneous use of SCMP_FLTATR_CTL_TSYNC and notify APIs
*
*/
unsigned int seccomp_api_get(void);