diff options
author | lns <matzeton@googlemail.com> | 2018-04-25 08:50:29 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2018-04-25 08:50:29 +0200 |
commit | 03e137c2193d550dda156f86ca68c896f0dffe84 (patch) | |
tree | dfb4e7445a8eda1e5b9c606083536825c90b8145 /src/jail.h | |
parent | 6e7b5102c33a510f93b7b418d0bfc082ae2595f7 (diff) |
POTD skeleton #28.
Diffstat (limited to 'src/jail.h')
-rw-r--r-- | src/jail.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -10,7 +10,6 @@ #define MAX_STACKSIZE BUFSIZ typedef struct jail_ctx { - pid_t jail_pid; psocket sock; char host_buf[NI_MAXHOST], service_buf[NI_MAXSERV]; size_t stacksize; @@ -28,6 +27,6 @@ int jail_validate_ctx(const jail_ctx *ctx); int jail_setup_epoll(jail_ctx *ctx[], size_t siz); -int jail_daemonize_epoll(int epoll_fd, jail_ctx *ctx[], size_t siz); +pid_t jail_daemonize_epoll(int epoll_fd, jail_ctx *ctx[], size_t siz); #endif |