summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-ucspitlsd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-21 02:22:09 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-21 02:22:09 +0000
commit5c2880becc94141b8035b3488b6bd60696011308 (patch)
tree51e177122b50e248075dae441e4a76d68fd33081 /src/conn-tools/s6-ucspitlsd.c
parent5715c21a077ee1c2fe8957cb4adcea14fd2eda6b (diff)
downloads6-networking-5c2880becc94141b8035b3488b6bd60696011308.tar.xz
Privs can only be dropped after reading key files.
Diffstat (limited to 'src/conn-tools/s6-ucspitlsd.c')
-rw-r--r--src/conn-tools/s6-ucspitlsd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/conn-tools/s6-ucspitlsd.c b/src/conn-tools/s6-ucspitlsd.c
index ae2ca41..2ce24ba 100644
--- a/src/conn-tools/s6-ucspitlsd.c
+++ b/src/conn-tools/s6-ucspitlsd.c
@@ -29,7 +29,6 @@ static inline void child (int p[3][2], uint32_t options, unsigned int verbosity,
close(p[2][0]) ;
close(p[0][1]) ;
close(p[1][0]) ;
- s6tls_drop() ;
r = read(p[2][1], &c, 1) ;
if (r < 0) strerr_diefu1sys(111, "read from control socket") ;
if (!r) _exit(0) ;