search for: 9617e6ee0

Displaying 1 result from an estimated 1 matches for "9617e6ee0".

2025 Apr 16
2
[PATCH] ssh-agent: exit 0 from SIGTERM under systemd socket-activation
...ligns the systemd supervisor's understanding of the state of supervised ssh-agent with reality. Signed-off-by: Daniel Kahn Gillmor <dkg at 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(...