index
:
potd.git
A high scalable low to medium interactive SSH/TCP honeypot using Linux Namespaces, capabilities, seccomp, cgroups designed for OpenWrt and IoT devices.
log msg
author
committer
range
feature/jail_packet
feature/jail_protocol
master
skeleton
thesis
about
summary
refs
log
tree
commit
diff
path:
root
/
src
/
pseccomp.h
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'src/pseccomp.h')
-rw-r--r--
src/pseccomp.h
4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pseccomp.h b/src/pseccomp.h
index d208275..0bb5b2c 100644
--- a/
src/pseccomp.h
+++ b/
src/pseccomp.h
@@ -8,7 +8,7 @@ typedef struct pseccomp_ctx {
} pseccomp_ctx;
-int pseccomp_init(pseccomp_ctx **ctx);
+int pseccomp_init(pseccomp_ctx **ctx, unsigned int defact_allow);
void pseccomp_free(pseccomp_ctx **ctx);
@@ -16,6 +16,8 @@ int pseccomp_set_immutable(void);
int pseccomp_default_rules(pseccomp_ctx *ctx);
+int pseccomp_protocol_rules(pseccomp_ctx *ctx);
+
int pseccomp_jail_rules(pseccomp_ctx *ctx);
#endif