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
..
Makefile
atalk.c
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
inet.c
inet6.c
main.c remove soft interrupt queues that don't exist anymore. 2016-07-14 20:13:10 +00:00
mbuf.c
mroute.c
mroute6.c
netstat.1 Remove duplicate routing flag list 2016-05-12 03:44:11 +00:00
netstat.h
netstat_hostops.c
netstat_rumpops.c
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