summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-01-09spelling; jjy2+@pitt.eduTheo de Raadt
2004-01-09spelling; jjy2+@pitt.eduTheo de Raadt
2004-01-09Avoid messing up the screen by non-printable chars in hostname +Otto Moerbeek
sync with tcpdump.org. ok canacar@
2004-01-09show fib connected|static|bgp|nexthop|[address]Henning Brauer
ok claudio@
2004-01-09for IMSG_CTL_KROUTEs allow matching based on flags,Henning Brauer
add IMGS_CTL_KROUTE_ADDR to match the route for a given address ok claudio@
2004-01-09use cc -E for the preprocessor instead of cpp.Brad Smith
ok espie@ millert@
2004-01-09Initialize procbase2 to 0 in _kvm_open(); Dan HarnettTodd C. Miller
2004-01-09fix build for gcc3.Dale Rahn
2004-01-09flag kernel routes whch are not conencted routes as static routes.Henning Brauer
that's what they are, and it makes matching on them easier.
2004-01-09a sample "show fib" implementationHenning Brauer
ok claudio@
2004-01-09get us a stateful imsg relaying framework, and the first receiver,Henning Brauer
IMSG_CTL_KROUTE, to have the kroute structs forming the fib sent to a control socket. ok claudio@
2004-01-09we must ignore SIGPIPE.Henning Brauer
we do notice closed pipes just fine, tho there was at least one case where we tried a write without POLLOUT and that got us a SIGPIPE before our pipe closed detection catched it. ok claudio@
2004-01-09you must not try to read(2) without checking (pfd->revents & POLLIN)Henning Brauer
you must not try to read(2) without checking (pfd->revents & POLLIN) you must not try to read(2) without checking (pfd->revents & POLLIN) [...] you must not try to read(2) without checking (pfd->revents & POLLIN)
2004-01-09decrease min mss to (256 - 40); ok deraadtMarkus Friedl
2004-01-09don't restrict tcp signature keys to ascii; ok mcbrideMarkus Friedl
2004-01-09Constify trap names, and a few cleanings to the trap() functions.Miod Vallat
While there, use raisespl() in splassert to win a few cycles when the check fails.
2004-01-09fix leak ether_deatch(): if if_free_sadl() is called before if_detach()Markus Friedl
then ifnet_addrs[ifp->if_index] leaks; if it's called after if_detach() then if_free_sadl() does nothing; ok itojun
2004-01-09call nc correctly (nc has changed a while ago).Hans-Joerg Hoexer
ok markus@
2004-01-09create all routes with -q; markus okTheo de Raadt
2004-01-09route -q is supposed to be totally quietTheo de Raadt
2004-01-09Delete default route before attempting to add the new one, or the old oneTheo de Raadt
stays; itojun ok
2004-01-09Remove duplicate (and slightly conflicting) prototype of sm_vfscanf().Todd C. Miller
Found by brad@
2004-01-09let configure find out whether gcc has sjlj configured or not...Marc Espie
2004-01-09back out vnode parents. weird breakge found in ports treeTed Unangst
2004-01-09Tell the user to run ps if they try to view things under KERN_PROC2Todd C. Miller
(same handling as KERN_PROC).
2004-01-09for RTM_IFINFO messages showing up on the routing socket do not everHenning Brauer
look into the first sockaddr structure after the msg header; does not contain what we expect there and caused messages to get missed in some cases
2004-01-09Put back the pmap_zero_page() and pmap_copy_page() fixes, svnd work again.Miod Vallat
We need to map the temporary pages write through _and_ flush the data cache, for split user/supervisor designs. Bring back a few minor style and cosmetic fixes while there, too.
2004-01-09Do not keep a round-robin list of the previous traps for debug purposes onMiod Vallat
88100 anymore - it's stable well enough now...
2004-01-09Do not define new m8820x specific constants for what are common cache andMiod Vallat
apr validity constants, really. And get rid of the old cache_policy debug trick.
2004-01-08syncTheo de Raadt
2004-01-08tom broke the kernel, and is being scoldedTheo de Raadt
2004-01-08long vs time_t workarounds without changing the API; spotted by pval, ok fgschTheo de Raadt
2004-01-08Adjust delay based on terminal speed; ok tedu@Todd C. Miller
2004-01-08The va for the few pages used for copying/zeroing pages are magic, but onlyMiod Vallat
in the kernel_pmap; and they are perfectly legal in user pmaps, so treat them correctly. While there, allocate them differently so that pmap_copy_page() only needs one double-size tlb flush, rather than two single-size.
2004-01-08syncTom Cosgrove
2004-01-08Merge entries for Cirrus Logic CS4280 and CS4614 (same device id)Tom Cosgrove
ok krw@, deraadt@
2004-01-08Convert to kvm_getproc2(); ok deraadt@Todd C. Miller
2004-01-08Pass the right type based on the conversion specified; warn on conversionOtto Moerbeek
errors. Mostly from FreeBSD.
2004-01-08Add missing include of poll.h to example code; Andre NathanTodd C. Miller
2004-01-08Convert to kinfo_proc2. The sort order for -u and -m will be differentTodd C. Miller
due to a bug fix in the sort routine.
2004-01-08Silence warningTodd C. Miller
2004-01-08Convert to kinfo_proc2; ok deraadt@Todd C. Miller
2004-01-08typo from Pedro Martelletto;Jason McIntyre
2004-01-08More sense message improvements from Marco Peereboom.Kenneth R Westerback
Clarify some logic and make type usage more consistant. ok tdeval@.
2004-01-08gcc3 does not seem to like comments inside comments - zap a couple; ok miodPeter Valchev
2004-01-08in kroute_insert, use knexthop_validate instead of hand-baking a slightlyHenning Brauer
optimized version of it
2004-01-08in knexthop_validate, always call kroute_detach_nexthop, notHenning Brauer
only in the no-match-found case. if we fina a match we are calling kroute_attach_nexthop anyway; and the match might be (in the common cases: will be, if existant at all) different for the existing attachment.
2004-01-08fix kroute_detach_nexthopHenning Brauer
2004-01-08our own internal route flags should have been an u_int8_t from the beginningHenning Brauer
on, not an int.
2004-01-08rename a few functions to further clarify thingsHenning Brauer