szn

Bug 7 — Child process inherits all parent fds after fork

7. Child process inherits all parent fds after fork

File: src/server/pty.zig:80–82 After fork, the child process (shell) inherits every open fd from the parent: Unix socket listener, all client fds, all other pty masters. Only self.master is explicitly closed. Need FD_CLOEXEC / SOCK_CLOEXEC on all server fds. Status: ✅ FIXED — setCloexec() helper applied to ptys, listener socket, and accepted client fds.