summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-12-11 09:57:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-12-11 09:57:00 +0000
commit2c2a03c8fb09fdd59ff0e1a2dfdd580d440b4ad6 (patch)
tree9c56582c831a715a94dc3f0d9c87f909e616f2d9 /src
parent84586ab9fc1f3540f7182c822d779d85f6ffafa7 (diff)
downloads6-rc-2c2a03c8fb09fdd59ff0e1a2dfdd580d440b4ad6.tar.xz
Don't copy nosetsid into the compiled db
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc-compile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/s6-rc/s6-rc-compile.c b/src/s6-rc/s6-rc-compile.c
index 6fb9d5e..66f886e 100644
--- a/src/s6-rc/s6-rc-compile.c
+++ b/src/s6-rc/s6-rc-compile.c
@@ -1301,10 +1301,6 @@ static inline void write_servicedirs (char const *compiled, s6rc_db_t const *db,
strerr_diefu4sys(111, "copy ", srcfn, " to ", dstfn) ;
}
- memcpy(srcfn + srcdirlen + len + 2, "nosetsid", 9) ;
- memcpy(dstfn + clen + 14 + len, "nosetsid", 9) ;
- filecopy_unsafe(srcfn, dstfn, 0644) ;
-
memcpy(srcfn + srcdirlen + len + 2, "notification-fd", 16) ;
memcpy(dstfn + clen + 14 + len, "notification-fd", 16) ;
if (copy_uint(compiled, srcfn, dstfn, &u) && u < 3 && verbosity)