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 da5be32..22a2b07 100644
--- a/
src/utils.h
+++ b/
src/utils.h
@@ -16,6 +16,8 @@ pid_t daemonize(int stay_foreground);
int close_fds_except(int fd, ...);
+int redirect_devnull_to(int fds, ...);
+
int change_user_group(const char *user, const char *group);
#endif