Commit Graph

944 Commits

Author SHA1 Message Date
hubertf 44d7ee0289 * Document the vendor.* sysctl branch
* in sysctl.3, sort the list of CTL_ prefixes and sync with sysctl.h
2001-01-10 03:03:02 +00:00
lukem aa330a1e25 * Change __diagassert13() so that by default it only syslogs the error (it
used to syslog and also send to stderr).

  This behaviour can be changed by setting $LIBC_DIAGASSERT to a
  string containing one or more of the following letters:
	a	abort() after syslog and/or print to stderr
	A	opposite of a
	e	print assertion message to stderr
	E	opposite of e
	l	log assertion message to syslog
	L	opposite of l

  This allows per-process control of the _DIAGASSERT() behaviour (e.g,
  if you want to abort() after the assertion is raised) by modifying the
  environment before starting the process.

  Note that __DIAGASSERT() is still a no-op unless libc is compiled
  with -D_DIAGNOSTIC.

* Implement __assert()/__diagassert() by calling __assert13()/__diagassert13()
  with a function of NULL, reducing unnecessary code duplication
2001-01-03 12:44:53 +00:00
martin 7c10055175 Be consistent with argument types vs. prototype; use _BSD_VA_LIST_ as
the argument, instead of va_list. Might not make a difference on most
ports, depending on toolchain/MD typedefs. Does make a difference on sparc64,
where it wouldn't compile otherwise.
2000-12-30 16:27:33 +00:00
itojun 8f5f80ebfe document net.inet6.icmp6.mtudisc_{lo,hi}wat. 2000-12-21 01:10:52 +00:00
christos c9f588eab4 fix nested extern 2000-12-20 20:54:30 +00:00
christos 5b7386b25e fix missing formatting escape. 2000-12-19 21:17:16 +00:00
kleink f02540ff10 C99: Print the name of the function enclosing the assertion, if possible. 2000-12-19 14:32:59 +00:00
lukem 741ea8dc94 fix typo in _nis_grscan(). "if (data); free(data);" -> "if (data) free(data);"
noted by Jacques Vidrine <nectar@FreeBSD.org>
2000-12-17 22:09:12 +00:00
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