summaryrefslogtreecommitdiff
path: root/include/seccomp.h.in
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2017-09-21 10:27:38 -0400
committerPaul Moore <paul@paul-moore.com>2017-09-21 10:27:38 -0400
commit355953c00ae34083f8acd89eac3360707e02dfaf (patch)
tree3804deb8e5a9817f19eab5ae7315eec41921b38b /include/seccomp.h.in
parent9e61fd704dbaaa49b3ede59b99f80f39f123075f (diff)
downloadlibseccomp-355953c00ae34083f8acd89eac3360707e02dfaf.tar.gz
api: create an API level construct as part of the supported APIworking-api_level
WORK IN PROGRESS, DO NOT SHIP XXX - manpage needed XXX - tests needed Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/seccomp.h.in')
-rw-r--r--include/seccomp.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in
index 5843639..85b08b8 100644
--- a/include/seccomp.h.in
+++ b/include/seccomp.h.in
@@ -275,6 +275,16 @@ struct scmp_arg_cmp {
const struct scmp_version *seccomp_version(void);
/**
+ * XXX
+ */
+const unsigned int seccomp_api_get(void);
+
+/**
+ * XXX
+ */
+int seccomp_api_set(unsigned int level);
+
+/**
* Initialize the filter state
* @param def_action the default filter action
*