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
soren
7eaf9092e8
Typo.
2000-08-21 23:23:23 +00:00
christos
ee788dacd9
Don't enable lin's exit on warnings yet. It'll break most ports.
2000-08-13 23:26:12 +00:00
christos
0aee707a3b
add -w to ctags. got finally tired of looking at all those dup error messages
...
that nobody will ever fix.
2000-08-13 22:43:28 +00:00
kleink
63cc1452f6
Bump minor version to 65: addition of __setlocale_mb_len_max_32() and
...
__mb_cur_max.
2000-08-10 10:05:20 +00:00
kleink
bc3eaa0a03
ISO/IEC 9899:1999: MB_CUR_MAX expands to a positive integer expression with
...
type size_t (not int).
(Incompatible ABI change, ignored due to a window of just two days.)
2000-08-10 10:03:43 +00:00
kleink
e12dc92808
RCS Id police: add NetBSD tag, restore unexpanded Id tag from Citrus.
2000-08-10 09:55:32 +00:00
itojun
14fcd6ed41
mention that current get{addr,name}info implementation are not thread-safe.
...
(sync with kame)
From: Greg Thompson
2000-08-09 22:52:49 +00:00
itojun
babc498cc8
implement EDNS0 support, as EDNS0 support will be made mandatory for
...
IPv6 transport-ready resolvers/DNS servers. need careful configuration
when enable it. (default config is not affected).
see manpage for details.
XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.
2000-08-09 14:40:52 +00:00
tshiozak
51a53de0d5
Preparation for the future introduction of multibyte locale.
...
- MB_LEN_MAX is increased to 32.
- To ensure binary compatibility for old executables
under multibyte locale, versioned setlocale is added.
- __mb_len_cur definision is added in setlocale.c
and enable it in stdlib.h .
It is also important for multibyte locale stuffs,
but I just forgot.
2000-08-08 22:31:13 +00:00
itojun
6acd1fa341
sync comment with reality. from kame
2000-08-07 16:18:45 +00:00
ad
136f4e3b32
%edx is free; use it instead of %ebx.
2000-08-07 14:46:52 +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
matt
09f029058b
Fix some ELF/a.out lossage
2000-08-07 03:18:04 +00:00
wiz
9773bf4a73
Whitespace fix, noted by John Hawkinson.
2000-08-04 20:03:07 +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
tsubai
7272e1b36f
s/minbrk/_C_LABEL(__minbrk)/.
2000-08-04 09:19:39 +00:00
tsubai
511556bf86
Change comment character from '#' to '!'. (binutils-2.10 doesn't like '#')
2000-08-04 08:47:03 +00:00
fvdl
3b9024546d
For an accepted connection (tcp), set xp_netid, as it might be examined
...
by some applications, most notably rpcbind.
2000-08-03 00:01:53 +00:00