Commit Graph

3670 Commits

Author SHA1 Message Date
itojun bcab9b6601 define HAVE_IFM_ADDRS for non-bsdi. sync with kame 2000-10-27 15:48:49 +00:00
jdolecek 1c7d8af31d rewrite KERN_MAXPTYS description to match reality 2000-10-26 07:24:00 +00:00
erh a5c46ce842 Document the PROFDIR environment variable. 2000-10-24 19:31:59 +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
kleink 78eeef4b49 Actually EINVAL fits the circumstances better. 2000-10-19 09:47:43 +00:00
kleink 20b0e10891 C99: Passing a null pointer as the buffer argument to snprintf() and
vsnprintf() is permitted when the size argument is zero as well; mostly
from Peter Seebach in PR standards/9603.
2000-10-19 09:45:31 +00:00
kim 6ec737498a Make "f" standout better. 2000-10-18 15:40:52 +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
phil cc543121c5 Document the behaviour with consecutive separator characters. 2000-10-11 18:26:04 +00:00
jeffs 4912e50a59 Make memcpy and memmove use bcopy assembly for mips. Tweak forward copy
code for backward copy to make overlap copy faster.  This happens in
some SW like sleepycat db.  Use temp labels in order to not confused
the profiling tools.
2000-10-10 21:51:54 +00:00
is f518246fc1 Format string cleanup, by Bill Sommerfeld. 2000-10-10 18:09:25 +00:00
toshii 4acc4fc7fe lfs_bmapv -> lfs_markv 2000-10-09 09:34:00 +00:00
nathanw 76bc7abc93 Use ".Fa stat" instead of ".Fn stat" when referring to the structure
rather than the function.
2000-10-07 16:48:24 +00:00
jdolecek f5cb6bbd84 update(8) is gone, put in some info about ioflush
this addresses bin/11141 by Nick Hudson
2000-10-06 19:54:26 +00:00
jdolecek a69cc94b83 kill references to update(8), it doesn't exist any more
this addresses bin/11141 by Nick Hudson
2000-10-06 18:53:28 +00:00
ad 5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
itojun 8f6dee4c39 make random(3) manpage meet with actual implementation.
argument to srandom() and initstate() were changed in
lib/libc/stdlib/random.c 1.28 -> 1.29, and manpage was left behind.
2000-10-05 06:21:53 +00:00
sommerfeld 4c38fc5aac Varargsify dprintf to allow for format string checking 2000-10-04 14:56:24 +00:00
sommerfeld 76a009b2be Avoid compile-time variable format string (format audit) 2000-10-04 14:52:27 +00:00
sommerfeld ae42ec1652 Avoid run-time construction of format string we can build at compile time 2000-10-04 14:46:23 +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
kleink a253819635 Whitespace botch in previous, noticed by Leo Weppelman and Thorsten Frueauf. 2000-10-02 14:52:39 +00:00
kleink bea4776498 _SYSCALL() argument order botch in previous. 2000-10-02 14:51:57 +00:00
sommerfeld a23abe2028 Fix possible one-byte overrun 2000-09-30 16:47:26 +00:00
is 6c614a3f1d Document EPERM. 2000-09-28 09:46:17 +00:00
kleink dbf8a5327c Need "namespace.h". 2000-09-28 09:07:04 +00:00
kleink 82fd76bb06 Need an internal name for pipe(2). 2000-09-28 08:38:53 +00:00
hubertf 4236d4df71 The 'delim' argument is const, document it as such. 2000-09-28 03:18:35 +00:00
nathanw 42782db512 Note that we do support single-stepping, as a machine-dependant feature.
Don't be SPARC-specific about what features we support. Document how
to determine which requests are supported.
2000-09-27 22:31:43 +00:00
itojun 9ebff4b328 remove merge error from kame. 2000-09-25 23:37:55 +00:00
itojun a931ac8209 off-by-1 error in string length validation.
From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
2000-09-25 23:07:28 +00:00
erh 52aa56b72d Mention additional restriction on ptrace: you can't ptrace system processes since the assumptions made for normal processes don't always hold (such as p_pptr is non-NULL). 2000-09-24 07:34:15 +00:00
lukem 4a1b4395d7 don't bother declaring in6_addrany[] and in6_loopback #ifndef INET6 2000-09-23 04:40:19 +00:00
ad 82759dbdf5 Use .{B,Bs,F,N,O}x and fix miscellaneous errors. 2000-09-21 10:43:49 +00:00
eeh 264b1139cd Prevent the compiler from blowing up on sparc64. From mrg. 2000-09-17 19:55:28 +00:00
msaitoh f9b799b651 check LIBC_SCCS 2000-09-13 22:32:25 +00:00
veego ba8461727b Include <unistd.h> for the issetugid prototype.
Fix a compile problem on the alpha.
2000-09-09 20:50:33 +00:00
jdolecek f973bb5351 document kern.maxptys/KERN_MAXPTYS
note that kern.maxvnodes is raise only
2000-09-09 17:06:34 +00:00
tshiozak fcc188c19e Disallow '/' character in LC_* and LANG environment variable, and
prevent to look up PATH_LOCALE and NLSPATH on setuid/setgid executable.
This is important to prevent to cause some kind of security hole.
2000-09-08 20:56:36 +00:00
taca 413b89b272 - Fix strftime(3) not to ignore tm_zone filed of last parameter,
and "%Z" in format string is converted as proper time zone.
  This was taken from tzcode2000f.  Fix PR lib/10950.
2000-09-07 12:45:03 +00:00
thorpej 9c5afcb2f0 Move the Alpha _mcount() into a .S file so that it can be
pre-processed, like other Alpha assembly files.
2000-09-05 16:28:30 +00:00
itojun e871d0cd31 on /etc/hosts lookup, set "official host name" (the leftmost hostname)
into ai_canonname.  this is to synchronize with practice in gethostby*.
comment from ume@mahoroba.org.  sync with kame.
2000-08-31 17:32:39 +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
eeh d3312c2719 Fix layout of fields in jmp_buf. [N.B. we could make JMP_BUFLEN 9 if we want.] 2000-08-28 00:45:59 +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
thorpej a3fe3d3cf9 Some (popular) programs expect to be able to re-initialize `optind'
to 0 and have getopt(3)/getopt_long(3) continue to function properly.
This happens to work with GNU getopt_long(3), so mimmick the behavior.

Fixes pkg/10980 (Manuel Bouyer): rsyncd was relying on this behavior.
2000-08-25 17:05:49 +00:00
joda 991b448f39 add newline at end of file, to please (the quite buggy) mkid 2000-08-22 12:24:17 +00:00