search for: nsigset

Displaying 1 result from an estimated 1 matches for "nsigset".

Did you mean: sigset
2025 Apr 16
2
[PATCH] ssh-agent: exit 0 from SIGTERM under systemd socket-activation
...t fifthhorseman.net> --- ssh-agent.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ssh-agent.c b/ssh-agent.c index 55b9f44f4..9617e6ee0 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -2238,6 +2238,7 @@ main(int ac, char **av) size_t npfd = 0; u_int maxfds; sigset_t nsigset, osigset; + int socket_activated = 0; /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ sanitise_stdfd(); @@ -2389,6 +2390,7 @@ main(int ac, char **av) fatal("bad LISTEN_PID: %d vs pid %d", pid, getpid()); debug("using socket activation on fd=3");...