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
/
utils.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/utils.h')
-rw-r--r--
src/utils.h
2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 22a2b07..2cabfd0 100644
--- a/
src/utils.h
+++ b/
src/utils.h
@@ -20,4 +20,6 @@ int redirect_devnull_to(int fds, ...);
int change_user_group(const char *user, const char *group);
+int safe_chroot(const char *newroot);
+
#endif