From 2c2a03c8fb09fdd59ff0e1a2dfdd580d440b4ad6 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 11 Dec 2020 09:57:00 +0000 Subject: Don't copy nosetsid into the compiled db --- src/s6-rc/s6-rc-compile.c | 4 ---- 1 file changed, 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) -- cgit v1.2.3