NetBSD/usr.bin/netstat
dholland 950f040fa2 Fix "sidewaysintpr", the thing that prints interface statistics in a
loop, to use signals properly. There are two copies of this code; one
uses kvm and the other uses sysctls. One copy had been updated to use
sigset_t and sigsuspend; the other was using vintage sigpause(). Sync
up the code so both use sigpause. Also, use sig_atomic_t, and block
SIGALRM when not waiting for it to avoid a small and unlikely but real
race.

Since the non-modernized copy of the code *had* for some been
modernized to use setitimer instead of just alarm(), propagate that
change to the other copy.

These copies could share more logic than they do.
2016-11-24 00:05:13 +00:00
..
atalk.c Drop assignment from uninitialized and otherwise unused variable. 2015-06-06 13:08:31 +00:00
bpf.c
fast_ipsec.c
if.c Fix "sidewaysintpr", the thing that prints interface statistics in a 2016-11-24 00:05:13 +00:00
inet6.c Allocate the right size for pcb blocks. 2015-02-08 15:09:45 +00:00
inet.c Allocate the right size for pcb blocks. 2015-02-08 15:09:45 +00:00
main.c remove soft interrupt queues that don't exist anymore. 2016-07-14 20:13:10 +00:00
Makefile Format-string related warnings work fine now with both GCC 4.8 and 2015-06-06 13:48:37 +00:00
mbuf.c revert previous, will fix differently. 2015-07-28 19:46:42 +00:00
mroute6.c use the common code from route.c 2014-11-06 21:30:09 +00:00
mroute.c use the common code from route.c 2014-11-06 21:30:09 +00:00
netstat_hostops.c
netstat_rumpops.c
netstat.1 Remove duplicate routing flag list 2016-05-12 03:44:11 +00:00
netstat.h use the common code from route.c 2014-11-06 21:30:09 +00:00
pfkey.c
pfsync.c
prog_ops.h
route.c Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
unix.c
vtw.c PR/50873: David Binderman: use logical or instead of arithmetic 2016-02-29 18:19:46 +00:00
vtw.h