Displaying 3 results from an estimated 3 matches for "osigset".
Did you mean:
sigset
2025 Apr 16
2
[PATCH] ssh-agent: exit 0 from SIGTERM under systemd socket-activation
...rseman.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");
sock =...
2001 Oct 31
2
suggested fix for the sigchld race
comments?
alternatives: sigsetjmp(ugly) and pselect(not portable, available)
drawback: additional filedescriptors.
Index: serverloop.c
===================================================================
RCS file: /home/markus/cvs/ssh/serverloop.c,v
retrieving revision 1.82
diff -u -r1.82 serverloop.c
--- serverloop.c 10 Oct 2001 22:18:47 -0000 1.82
+++ serverloop.c 11 Oct 2001 18:06:33 -0000
@@
2023 Feb 01
16
[Bug 3531] New: Ssh will not exit when it receives SIGTERM before calling poll in client_wait_until_can_do_something until some events happen.
https://bugzilla.mindrot.org/show_bug.cgi?id=3531
Bug ID: 3531
Summary: Ssh will not exit when it receives SIGTERM before
calling poll in client_wait_until_can_do_something
until some events happen.
Product: Portable OpenSSH
Version: 9.1p1
Hardware: Other
OS: Linux
Status: