summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-12-05Do not use debug_malloc if it hasn't been initialized.Artur Grabowski
This can happen when debug_malloc_init calls pool_init which calls malloc (because the kernel is built with POOL_DIAGNOSTIC) which in turn calls debug_malloc and debug_malloc just happens to trigger on all memory allocations. This allows us to run a kernel debugging _all_ allocations.
2002-12-05Reorganize this so that getopt_only_only() works correctly.Todd C. Miller
In order for getopt_only_only() to work we need to check for long options before short ones. I have merged getopt_internal and getopt_long_internal into a single function with the actual long args parsing broken out into a separate function. This also simplifies the flow of control.
2002-12-05simple regress for getopt_long() and getopt_long_only()Todd C. Miller
2002-12-05make getopt_long and getopt_long_only protos match getopt.hTodd C. Miller
2002-12-05spelling; niels ok.Federico G. Schwindt
2002-12-05127.0.0.1/8 -> 127.0.0.0/8Henning Brauer
2002-12-05fix a small cosmetic problem. if ifa_lookup was called in LOOKUP_NET mode,Henning Brauer
it would return things like 127.0.0.1/8. when 127.0.0.1/8 is passed through the new selftests, it becomes 127.0.0.0/8. fix: instead of just copying addr.mask in ifa_lookup, use set_ipmask, so it is 127.0.0.0/8 from the beginning on.
2002-12-05change self test to use pfX.ok as input; ok henning@Markus Friedl
2002-12-05typos; Dries Schellenkens, Thanks!Henning Brauer
2002-12-05s/@1//Markus Friedl
2002-12-05and we no longer need to strip the rule numbers off, as they are goneHenning Brauer
2002-12-05no more rule numbers in outputHenning Brauer
2002-12-05one step further to "program output is valid program input" and the relatedHenning Brauer
extra regress testing opportunities (an excellent idea by markus@). only print rule numbers in case of pfctl -v -v; but not with pfctl -v. ok markus@ frantzen@ mcbride@
2002-12-05enable 'self' tests; ok henning@Markus Friedl
2002-12-05adjust after pfctl output changesHenning Brauer
2002-12-05-quote varset in -v outputHenning Brauer
-don't add 's' in set timeout -v output makes the feedback regression tests succeed. ok markus@ mcbride@
2002-12-05simplify even more; ok ho@Markus Friedl
2002-12-05Comply with em(4).margarida
miod@ nate@ ok
2002-12-05more tweaking. things above STATEFUL INSPECTION are now okTheo de Raadt
2002-12-05Replace warnx with warn on ioctls so that we get the error message associatedRyan Thomas McBride
with the warning. From DJ Gregor. ok henning@ dhartmei@
2002-12-05use roundup() similar to rcp/util.c and avoid problems with strangeMarkus Friedl
filesystem block sizes, noted by tjr@freebsd.org; ok djm@
2002-12-05redo "make allarchs".Kenjiro Cho
2002-12-05replace MAKEDEVs by auto-generated ones.Kenjiro Cho
2002-12-05remove altq entries. I should have done these before MAKEDEV.Kenjiro Cho
pointed out by todd@
2002-12-05remove altq entries. altq is now handled through pf.Kenjiro Cho
ok, deraadt@
2002-12-05remove altq entries.Kenjiro Cho
altq is merged into pf and handled through pf.
2002-12-05correct sizeof() to memset(). sync w/kameJun-ichiro itojun Hagino
2002-12-05Don't forget the 82545Nathan Binkert
2002-12-04syncTheo de Raadt
2002-12-04typo; torh@bogus.netTheo de Raadt
2002-12-04Add "RETURN VALUES" sectionsTodd C. Miller
2002-12-04Add a few more phys: exphy, brgphy, iophy, inphyJason Wright
2002-12-04prettyJason Wright
2002-12-04add fxp, xl, tiJason Wright
2002-12-04add xl, fxp, and tiJason Wright
2002-12-04.Xr getopt_longTodd C. Miller
2002-12-04Put GNU getopt back in until some issues are resolved.Todd C. Miller
2002-12-04bit_ffc(3) returns a -1 location for a full bitset. Problem found byHakan Olsson
Olivier Courtay.
2002-12-04grok systrace ioctl namesMichael Shalayeff
2002-12-04rename to a new ioctlMichael Shalayeff
2002-12-04ti(4) now works on sparc64 and macppcNathan Binkert
2002-12-04rename the clone ioctl to avoid clashing w/ the sockio; provos@ okMichael Shalayeff
2002-12-04Make ti(4) use busdma and add all of the necessary stuff to support bothNathan Binkert
endian modes. This makes ti now work on macppc and sparc64. While we're at ti, clean up a bit of the code: Use SLIST instead of LIST Remove register Use bus_space instead of bcopy/bzero Don't use bitfields since it makes dealing with endianness annoying. ok jason@, deraadt@
2002-12-04spanning tree: flush dynamic mac cache if interface goes to theMarkus Friedl
blocking or disabled state. send packets only if interface is the forwarding state; comment from netbsd; with and ok jason@
2002-12-04allow ACQUIRE with empty EXT_ADDRESS_SRC; PR 2996; ok angelos@, ho@Markus Friedl
2002-12-04general cleanup, including:Markus Friedl
removal of extra flows for gateway to network; make manual keying optional, allows 'acquire' with isakmpd; no need for sed; add ipsecadm flush; ok ho@
2002-12-04Typos; Tor HougtonMiod Vallat
2002-12-04in host(), apply a given netmask to all members of the node_host listHenning Brauer
returned by ifa_lookup(). reported by Alejandro G. Belluscio ok dhartmei@
2002-12-04test opts in another than the classical orderHenning Brauer
2002-12-04do not warn for unused variables except with -v -v; henning okTheo de Raadt