After 7.4 relayd does not unlink it's socket

I've added the following but it's probably not enough. unveil?

G

Index: relayd.c
===================================================================
RCS file: /cvs/src/usr.sbin/relayd/relayd.c,v
retrieving revision 1.191
diff -u -p -r1.191 relayd.c
--- relayd.c    25 Jun 2023 08:07:38 -0000    1.191
+++ relayd.c    21 Oct 2023 11:39:44 -0000
@@ -382,6 +382,8 @@ parent_shutdown(struct relayd *env)
     free(env->sc_ps);
     free(env);

+    unlink(env->sc_ps->ps_csock.cs_name);
+
     log_info("parent terminating, pid %d", getpid());

     exit(0);

Reply via email to