Commit Graph

936 Commits

Author SHA1 Message Date
briggs
9875721d50 Fix an old typo: s/ket_t/key_t/ 2000-12-12 17:07:49 +00:00
christos
f92dc9c439 unnest nested extern declaration. 2000-12-10 03:59:00 +00:00
christos
a2df081a7e -Wredundant-declarations does not like nested extern declarations. 2000-12-10 03:52:16 +00:00
matt
f1ac0dd6e1 The prototype for fmtcheck is in <stdio.h> so we'd better include it. 2000-11-16 02:10:18 +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
christos
119c9cb003 add a lint comment. 2000-11-05 20:05:29 +00:00
briggs
2c5b165052 fmtcheck() should be declared as fmtcheck(), not __fmtcheck().
The weak_alias is __fmtcheck().  matt@3am-software.com pointed this out
as a problem when trying to build on a vax.
2000-11-01 01:17:20 +00:00
jdolecek
1c7d8af31d rewrite KERN_MAXPTYS description to match reality 2000-10-26 07:24:00 +00:00
briggs
d00ebb12e9 Add {__,}fmtcheck(), a function specified by Bill Sommerfeld to check
a user-supplied format string against a fallback format string to ensure
that they will consume arguments of the same type.

libc minor bump for new API entry point.
2000-10-20 18:46:05 +00:00
erh
2686020623 Squash lint errors by using size_t instead of u_int to avoid differing sizes of data. 2000-10-16 04:12:55 +00:00
enami
32554376a3 Reset allocated buffer size to 0 on allocation failure. 2000-10-03 03:22:26 +00:00
simonb
cac9995776 Fix potential buffer overflow processing long password database entries.
Inspired by similar OpenBSD change.
2000-10-02 19:25:32 +00:00
msaitoh
f9b799b651 check LIBC_SCCS 2000-09-13 22:32:25 +00:00
jdolecek
f973bb5351 document kern.maxptys/KERN_MAXPTYS
note that kern.maxvnodes is raise only
2000-09-09 17:06:34 +00:00
wennmach
821c7e766b Added MLINKS for svis, strsvis, and strsvisx 2000-08-29 10:49:09 +00:00
kleink
051d885a24 {OPEN_MAX} does not apply to a user but a single process; noticed by Brook
Milligan on current-users.
2000-08-29 06:38:23 +00:00
itojun
152da24bd9 implement net.inet6.ip6.{anon,low}port{min,max} sysctl variable. 2000-08-26 11:03:45 +00:00
itojun
3c7320bedf document net.inet.ip.lowport{min,max} 2000-08-26 11:00:41 +00:00
soren
7eaf9092e8 Typo. 2000-08-21 23:23:23 +00:00
enami
630f9b81c9 - Test allocation failure.
- Don't leave a pointer dangling on failure case.
- Don't leak a file descriptor on failure case.
2000-08-07 06:08:33 +00:00
enami
2e68d337ae Nuke redundant test (though, gcc optimizer was clever enough not to emit
redundant code).
2000-08-07 06:00:59 +00:00
enami
d753bcdd59 - Wrap long lines.
- Protect multi-statement macro with do {} while (0)
2000-08-07 05:56:11 +00:00
kml
782cdefc52 Correct the documentation for SACK; although we have some preliminary
code in the tree, it doesn't do anything, and setting the sack sysctl
won't have any effect.
2000-08-04 13:31:54 +00:00
itojun
951f2bac77 pps rate limitation can be turned off by negative value. 2000-08-02 12:26:54 +00:00
itojun
1048b82bf1 nuke net.inet*.ip*.*ratelimit. 2000-07-28 04:08:44 +00:00
itojun
348dcd5529 add net.inet.tcp.rstppslimit 2000-07-27 11:37:46 +00:00
ad
682d5ce7b8 Xr passwd.conf 2000-07-11 12:12:53 +00:00
itojun
6ab897e3e4 document sysctl variable "net.inet.icmp.errppslimit". 2000-07-10 09:34:38 +00:00
itojun
f39dc46bcd add desription for net.inet6.icmp6.{errppslimit,nd6_maxnudhint}. 2000-07-09 13:29:44 +00:00
itohy
7daefc5a5a Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems.  On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems.  However, we leave the isascii()
untouched for now, so as not to change the current behavior.
2000-07-07 08:03:36 +00:00
christos
a74cfaaa6e mark the prototype mismatch as linted. We cannot do better because of the
widening ansi rules.
2000-07-06 02:49:41 +00:00
msaitoh
f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
enami
a6af5d3169 - One more s/vm/uvm/ substitution.
- Sort SEE ALSO list first by section.
2000-07-03 06:23:33 +00:00
mrg
c293541954 remove include of <vm/vm.h> 2000-06-29 06:31:44 +00:00
thorpej
445d18ed28 Implement FNM_CASEFOLD, for matching the pattern in a case-insensitive
way.  Flag name taken from glibc.
2000-06-28 01:13:35 +00:00
mrg
a461faa506 <vm/vm_param.h> is now <uvm/uvm_param.h> 2000-06-27 09:10:24 +00:00
mrg
ad91bba6a6 we now need <uvm/uvm_param.h> 2000-06-26 15:37:26 +00:00
simonb
53cf69f2ef Document KERN_MSGBUF sysctl. 2000-06-16 00:45:48 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
simonb
8c57fd15f5 Bring a little closer to current reality - includes my recent sysctl
additions and well as a number of other small additions/changes/deletions.
2000-06-13 14:42:55 +00:00
simonb
695f4e86f5 Remove a bit of lint. 2000-06-09 16:22:54 +00:00
nathanw
44145e574e Fix incorrect uses of indicate/indicates/indicated for each other. 2000-06-07 19:47:57 +00:00
simonb
ce00d9ac26 Add a cache ala pwcache(3). Gives a small but measurable performance
improvement for callers to devname(3) (eg ps(1)) under most circumstances.
2000-06-05 06:12:49 +00:00
simonb
991eedcaaf Clarify the cache size description comments a little. 2000-06-03 13:21:14 +00:00
itojun
74d0ceb979 correct memory leak due to t_getstr() and realloc(). the commit will
prevent "top -s 0" from chewing up memory.

TODO: realloc() audit, revisit recent termcap/curses changes
2000-06-02 13:13:07 +00:00
itojun
922ffb6256 correct FILES section. mention IPv6/IPsec headers. 2000-05-23 12:35:34 +00:00
itojun
ff6b22b6fc s/udp6.sendmax/udp6.sendspace/ 2000-05-23 12:27:27 +00:00
itojun
7f92f9071a correct table formatting for net.inet.*.
we do not have net.inet6.tcp6.
2000-05-22 15:13:05 +00:00
bouyer
215b7aab97 Use the same copyrigth notice everywhere. 2000-05-15 06:26:42 +00:00