summaryrefslogtreecommitdiff
path: root/src/system.h
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 /src/system.h
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 'src/system.h')
-rw-r--r--src/system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index eea9973..0e2cd82 100644
--- a/src/system.h
+++ b/src/system.h
@@ -109,7 +109,10 @@ typedef struct sock_filter bpf_instr_raw;
#endif
int sys_chk_seccomp_syscall(void);
+void sys_set_seccomp_syscall(bool enable);
+
int sys_chk_seccomp_flag(int flag);
+void sys_set_seccomp_flag(int flag, bool enable);
int sys_filter_load(const struct db_filter_col *col);