diff options
Diffstat (limited to 'src/fseccomp/fseccomp.h')
-rw-r--r-- | src/fseccomp/fseccomp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fseccomp/fseccomp.h b/src/fseccomp/fseccomp.h index 1e4881e9c..157b71011 100644 --- a/src/fseccomp/fseccomp.h +++ b/src/fseccomp/fseccomp.h | |||
@@ -48,6 +48,7 @@ void seccomp_secondary_64(const char *fname); | |||
48 | void seccomp_secondary_32(const char *fname); | 48 | void seccomp_secondary_32(const char *fname); |
49 | 49 | ||
50 | // seccomp_file.c | 50 | // seccomp_file.c |
51 | void write_to_file(int fd, const void *data, int size); | ||
51 | void filter_init(int fd); | 52 | void filter_init(int fd); |
52 | void filter_add_whitelist(int fd, int syscall, int arg); | 53 | void filter_add_whitelist(int fd, int syscall, int arg); |
53 | void filter_add_blacklist(int fd, int syscall, int arg); | 54 | void filter_add_blacklist(int fd, int syscall, int arg); |
@@ -64,6 +65,8 @@ void seccomp_drop(const char *fname, char *list, int allow_debuggers); | |||
64 | void seccomp_default_drop(const char *fname, char *list, int allow_debuggers); | 65 | void seccomp_default_drop(const char *fname, char *list, int allow_debuggers); |
65 | // whitelisted filter | 66 | // whitelisted filter |
66 | void seccomp_keep(const char *fname, char *list); | 67 | void seccomp_keep(const char *fname, char *list); |
68 | // block writable and executable memory | ||
69 | void memory_deny_write_execute(const char *fname); | ||
67 | 70 | ||
68 | // seccomp_print | 71 | // seccomp_print |
69 | void filter_print(const char *fname); | 72 | void filter_print(const char *fname); |