diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-11-26 10:04:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-11-26 10:04:40 +0000 |
commit | 08e88c5efc65a6f49da40aa002bc5f4b0ebee49d (patch) | |
tree | 21a3feb40eb54e5f5152cc8605f4c5e07e85052b /src/include | |
parent | 9e6464c5f9d82158d81c027207594b5e12a94ca5 (diff) | |
download | s6-networking-08e88c5efc65a6f49da40aa002bc5f4b0ebee49d.tar.xz |
Add -z option to s6-tlsc/s6-tlsd to clean TLS env vars before spawning (default)
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-networking/s6net-utils.h | 10 | ||||
-rw-r--r-- | src/include/s6-networking/s6net.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/include/s6-networking/s6net-utils.h b/src/include/s6-networking/s6net-utils.h new file mode 100644 index 0000000..2e7d2f9 --- /dev/null +++ b/src/include/s6-networking/s6net-utils.h @@ -0,0 +1,10 @@ +/* ISC license. */ + +#ifndef S6NET_UTILS_H +#define S6NET_UTILS_H + +#include <sys/types.h> + +extern pid_t s6net_clean_tls_and_spawn (char const *const *, char const *const *, int *, uint32_t) ; + +#endif diff --git a/src/include/s6-networking/s6net.h b/src/include/s6-networking/s6net.h index 8778527..fef4ef7 100644 --- a/src/include/s6-networking/s6net.h +++ b/src/include/s6-networking/s6net.h @@ -4,5 +4,6 @@ #define S6NET_H #include <s6-networking/ident.h> +#include <s6-networking/s6net-utils.h> #endif |