Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149302292
D38483.1789840716.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
379 B
Referenced Files
None
Subscribers
None
D38483.1789840716.diff
View Options
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -891,6 +891,10 @@
err(EX_OSERR, "sigaction SIGINT");
}
+ si_sa.sa_handler = stopit;
+ if (sigaction(SIGQUIT, &si_sa, 0) == -1)
+ err(EX_OSERR, "sigaction SIGQUIT");
+
si_sa.sa_handler = status;
if (sigaction(SIGINFO, &si_sa, 0) == -1) {
err(EX_OSERR, "sigaction");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 19, 5:58 PM (7 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29787457
Default Alt Text
D38483.1789840716.diff (379 B)
Attached To
Mode
D38483: ping: Tell SIGQUIT to interrupt the system call
Attached
Detach File
Event Timeline
Log In to Comment