Commit Graph

138 Commits

Author SHA1 Message Date
itojun 16435cdb98 strcpy/sprintf cleanup. from openbsd 2003-04-21 08:54:42 +00:00
itojun 3fbac68bea use snprintf. there are more... 2003-04-15 08:20:17 +00:00
itojun 64e132e781 array seems too small 2003-04-15 07:37:34 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz cb647c5704 Sort sections, new sentences begin on new lines, add a missing line,
fix a typo.
2002-12-18 19:20:05 +00:00
thorpej cd81fc31ea Avoid strict alias warnings. 2002-12-06 02:18:37 +00:00
agc 19cc8c4892 Fix compilation problems on non-i386. 2002-12-01 08:19:48 +00:00
christos f93fe60ac0 sync with routed 2.27 2002-11-30 04:04:23 +00:00
wiz 09cbac4e7f New sentence, new line. From Robert Elz. 2002-10-03 15:41:44 +00:00
itojun e93a4e6b0f bitmask operation mistake audit (s/&&/&/). from openbsd 2002-08-08 15:10:51 +00:00
wiz d30d25dc1a Spelling fixes, from Sergey Svishchev in kern/16650. 2002-05-12 15:48:36 +00:00
msaitoh 039616e700 don't override LDSTATIC if NOPIC is defined. 2002-04-23 08:19:15 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz 65c4d36952 Use mdoc macros instead of man ones. 2002-01-21 18:23:09 +00:00
wiz 49e6214ed8 Punctuation fix, sort sections, lose a .Pp. 2001-11-16 12:09:19 +00:00
wiz bb03964e95 Sort SEE ALSO. 2001-11-16 11:31:30 +00:00
lukem cbbd79f700 fix -Wshadow warnings 2001-11-02 05:30:56 +00:00
kleink d8ad923577 "kernel switch ipforwarding" -> "sysctl net.inet.ip.forwarding". 2001-10-01 10:31:45 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
wiz b2935aaaf6 Drop argument of .Os. 2001-06-05 11:24:51 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
wiz ccb6f40539 Improve usage of `comprise' according to Webster and misc/10893
by Jim Bernard.
2001-05-06 12:29:18 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
wiz 7919f2a9a1 Don't xref gated(8) and htable(8), which we don't have. 2001-04-03 11:16:27 +00:00
christos 4fea751ddc sync with version 2.24. Vernon says:
The most significant [fix] involves so called "remote" interfaces
configured in the kludge file to with what appear to be colliding
networks.  Edward Mascarenhas <eddiem@vihar.engr.sgi.com> found
the problem and the fix, and I think has tested it in the SGI
network.
2001-03-10 23:52:45 +00:00
itojun 7846de58b2 specify interface by using interface index (set/getsockopt with 0.0.0.0/8). 2001-01-15 13:19:12 +00:00
lukem 790602fd72 deprecate LOG_ODELAY; it's the default 2001-01-10 03:47:41 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
is 9979da6cbb Format string cleanups by Bill Sommerfeld. 2000-10-10 20:24:49 +00:00
ad 5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
thorpej c849d97e50 Pull in <md5.h> rather than defining our own MD5 structures (!). 2000-07-27 16:34:31 +00:00
thorpej ef220cfa40 Make sure IS_PASSIVE gets set on a parm's int_state when the
passive option is used in an if=xxx clause.
2000-07-21 00:22:38 +00:00
thorpej 9b5aaf80be In walk_supply(), test for IS_PASSIVE in ifp->int_state, not
ifp->int_if_flags (IFF_* bits).
2000-07-20 22:50:16 +00:00
msaitoh f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
christos 88f6fad445 Revert 1.18 -> 1.19; causes infinite loops on machines that use ppp and
do active routing.
2000-06-11 23:43:17 +00:00
christos e9769e0528 portability casts 2000-03-02 21:02:25 +00:00
christos a221b1ba72 portability casts and re-indentation of some code. 2000-03-02 21:02:01 +00:00
christos 93daf39438 make local functions static and portability casts. 2000-03-02 21:01:34 +00:00
christos 62f94a6648 typos and clarifications 2000-03-02 21:01:03 +00:00
christos 2c77d44472 protability cast. 2000-03-02 21:00:41 +00:00
christos 5c5977a292 add an unsigned cast; looks safe and innocent, but it might not be... 2000-03-02 21:00:23 +00:00
christos cce4e6d1e6 add a usec_fudge to make sure that time increases monotonically.
printf format changes.
2000-03-02 20:59:40 +00:00
christos d1c10b4cd1 add a comment on about how tracing is secured, but still keep it disabled. 2000-03-02 20:58:55 +00:00
christos 59fd2f8be8 remove the once hack; vjs says it is not necessary with the monotonic
time kludge. We'll see.
2000-03-02 20:57:42 +00:00
christos 3e1606a4b5 PR/9390: Jarkko Torppa: Routed leaks memory when route addition fails. 2000-02-11 18:39:02 +00:00
bouyer a1d8cb9593 Ignore RTM_OIFINFO messages (send by a COMPAT_14 kernel). 1999-11-19 10:46:35 +00:00
christos ebe496e30c negative ip octets don't make sense. Now we print byte swapped but the
addresses are at least recognizable without negating :-)
1999-08-19 05:12:38 +00:00
thorpej eb2854e11b Use pidfile(3). 1999-06-06 02:00:32 +00:00
christos cc2c568d66 Revert cast to (int) that caused core-dumps. 1999-03-22 10:25:23 +00:00
ross c650920100 LP64 tweaks. 1999-02-25 11:03:22 +00:00