Displaying 11 results from an estimated 11 matches for "sighup_handler".
2002 Sep 05
7
sshd and SIGKILL
On command:
#kill -9 `cat /var/run/sshd.pid`
sshd leave pid file !
sshd.c code:
===============
....
/*
* Arrange to restart on SIGHUP. The handler needs
* listen_sock.
*/
signal(SIGHUP, sighup_handler);
signal(SIGTERM, sigterm_handler);
signal(SIGQUIT, sigterm_handler);
....
===============
Missing line is :
signal(SIGKILL, sigterm_handler);
2001 Jun 22
1
PATCH: pidfile/sigterm race
...shd.c Fri Jun 22 11:18:32 2001
@@ -857,6 +857,19 @@
if (!num_listen_socks)
fatal("Cannot bind any address.");
+ if (options.protocol & SSH_PROTO_1)
+ generate_ephemeral_server_key();
+
+ /* Arrange to restart on SIGHUP. The handler needs listen_sock. */
+ signal(SIGHUP, sighup_handler);
+
+ signal(SIGTERM, sigterm_handler);
+ signal(SIGQUIT, sigterm_handler);
+
+ /* Arrange SIGCHLD to be caught. */
+ signal(SIGCHLD, main_sigchld_handler);
+
+ /* Write out the pid file after the sigterm handler is setup */
if (!debug_flag) {
/*
* Record our pid in /var/run/sshd.p...
2020 Jun 19
2
SegFault when using TunnelServer=yes
...v_sec = 0, tv_usec = 512516}
n = <optimized out>
readable = {fds_bits = {256, 0 <repeats 15 times>}}
writable = {fds_bits = {0 <repeats 16 times>}}
#7 0x00005555555607f2 in main_loop () at net.c:510
sighup = {signum = 1, cb = 0x555555560480 <sighup_handler>,
data = 0x7fffffffe1a0, node = {next = 0x7fffffffe2a8, prev = 0x0,
parent = 0x7fffffffe2a8, left = 0x0, right = 0x0, data =
0x7fffffffe1a0}}
sigterm = {signum = 15, cb = 0x55555555f900 <sigterm_handler>,
data = 0x7fffffffe1f0, node = {next = 0x0, prev = 0x7fffffff...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a
spam filter; I'll link to patches instead of attaching them.)
Here are the tincctl patches I've been working on. They apply to
http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit
them once the crypto stuff's fixed. Since they're basically done, I'm
emailing them now for review and in case
2020 Jul 27
3
SegFault when using TunnelServer=yes
...> n = <optimized out>
> readable = {fds_bits = {256, 0 <repeats 15 times>}}
> writable = {fds_bits = {0 <repeats 16 times>}}
> #7 0x00005555555607f2 in main_loop () at net.c:510
> sighup = {signum = 1, cb = 0x555555560480 <sighup_handler>,
> data = 0x7fffffffe1a0, node = {next = 0x7fffffffe2a8, prev = 0x0,
> parent = 0x7fffffffe2a8, left = 0x0, right = 0x0, data =
> 0x7fffffffe1a0}}
> sigterm = {signum = 15, cb = 0x55555555f900 <sigterm_handler>,
> data = 0x7fffffffe1f0, node = {next...
2020 Jul 27
0
SegFault when using TunnelServer=yes
...v_sec = 0, tv_usec = 512516}
n = <optimized out>
readable = {fds_bits = {256, 0 <repeats 15 times>}}
writable = {fds_bits = {0 <repeats 16 times>}}
#7 0x00005555555607f2 in main_loop () at net.c:510
sighup = {signum = 1, cb = 0x555555560480 <sighup_handler>,
data = 0x7fffffffe1a0, node = {next = 0x7fffffffe2a8, prev = 0x0,
parent = 0x7fffffffe2a8, left = 0x0, right = 0x0, data =
0x7fffffffe1a0}}
sigterm = {signum = 15, cb = 0x55555555f900 <sigterm_handler>,
data = 0x7fffffffe1f0, node = {next = 0x0, prev = 0x7fffffff...
2000 Jul 09
0
OpenSSH 2.1.1p2: /etc/nologin handling and related stuff
...&& notallowed != 0)
exit(254);
}
-#endif /* USE_PAM */
#ifndef HAVE_OSF_SIA
/* Set login name in the kernel. */
diff -ruw -x configure ../dist/sshd.c ./sshd.c
--- ../dist/sshd.c Wed Jun 28 07:22:42 2000
+++ ./sshd.c Sun Jul 9 19:23:29 2000
@@ -746,6 +746,10 @@
signal(SIGHUP, sighup_handler);
signal(SIGTERM, sigterm_handler);
signal(SIGQUIT, sigterm_handler);
+#ifdef SIGDANGER
+ /* Don't die on AIX when the machine runs low on memory */
+ signal(SIGDANGER, SIG_IGN);
+#endif
/* Arrange SIGCHLD to be caught. */
signal(SIGCHLD, main_sigchld_handler);
2020 Jul 28
0
SegFault when using TunnelServer=yes
...> n = <optimized out>
> readable = {fds_bits = {256, 0 <repeats 15 times>}}
> writable = {fds_bits = {0 <repeats 16 times>}}
> #7 0x00005555555607f2 in main_loop () at net.c:510
> sighup = {signum = 1, cb = 0x555555560480 <sighup_handler>,
> data = 0x7fffffffe1a0, node = {next = 0x7fffffffe2a8, prev = 0x0,
> parent = 0x7fffffffe2a8, left = 0x0, right = 0x0, data =
> 0x7fffffffe1a0}}
> sigterm = {signum = 15, cb = 0x55555555f900 <sigterm_handler>,
> data = 0x7fffffffe1f0, node = {next...
1999 Oct 20
3
patch for tinc-0.3
Hi tinc list members,
There were some problems with Ivo's email adresses (both zarq@iname.com
and
zarq@spark.icicle.dhs.org) so I resent the stuff to the mailling list.
=============================================
Hi Ivo,
Hier is een oplossing voor een bugje in flush_queue(), en ook wat andere
troepjes
zoals een tincd scheduler. Dit werkt wat beter, omdat de
2016 Nov 21
43
[Bug 2641] New: Add systemd notify code to to track running server
https://bugzilla.mindrot.org/show_bug.cgi?id=2641
Bug ID: 2641
Summary: Add systemd notify code to to track running server
Product: Portable OpenSSH
Version: 7.3p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee:
2011 Dec 13
12
[PATCH 0 of 4 V2] oxenstored fixes -- fixes recent pvops kernel hang
Currently PVHVM Linux guests after ddacf5ef684a "xen/pv-on-hvm kexec:
add xs_reset_watches to shutdown watches from old kernel" hang when
run against oxenstored because it does not handle the unknown
XS_RESET_WATCHES operation and does not reply.
The symptom of this issue is a hang during boot at this point:
cpu 1 spinlock event irq 70
CPU 1 irqstacks, hard=dec94000