Commit Graph

3619 Commits

Author SHA1 Message Date
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
hubertf 4b1e8fc34a make usage fit into 80 columns 2000-08-02 15:17:20 +00:00
itojun 951f2bac77 pps rate limitation can be turned off by negative value. 2000-08-02 12:26:54 +00:00
wiz be8ff811b7 Rename VM_INHERIT_* to MAP_INHERIT_* and move them to sys/sys/mman.h as
discussed on tech-kern.
Retire sys/uvm/uvm_inherit.h, update man page for minherit(2).
2000-08-01 00:53:07 +00:00
itojun 698d9a8d8b on gethostby* with NIS backend, make a lookup against ipnodes.{byname,byaddr}
for non-IPv4 address.  obeys solaris8 practice.

XXX does not support scoped address extension, as gethostby* are not
scope-aware.  always use getaddrinfo/getnameinfo.
XXX it is not very useful at this moment, if you define multiple entries for
single hostname.  see PR 10713 for detail.
2000-07-30 03:01:01 +00:00
itojun 31089a149f plug host_addrs overrun. rogue NIS server can transmit tons of lines,
effectively overrun host_addrs buffer.
2000-07-30 02:44:36 +00:00
itojun 1048b82bf1 nuke net.inet*.ip*.*ratelimit. 2000-07-28 04:08:44 +00:00
jdolecek 46c49082de parameters addr & data are actually treated same way
for PT_DETACH and PT_CONTINUE - the only difference between them is that
the child is detached from the parent for PT_DETACH
2000-07-27 21:40:09 +00:00
itojun 348dcd5529 add net.inet.tcp.rstppslimit 2000-07-27 11:37:46 +00:00
itojun c8c092ff17 do not try to transmit UDP DNS query forever, in EINTR-busy situation.
the change uses extra variables which can be avoided,
it is to make the change look similar to BIND8 change.
question: timeout resolution is 1 second (time_t).  should we use
timevals instead?

PR 6410 From: maximum entropy <entropy@venom.bernstein.com>
2000-07-27 00:35:02 +00:00
kleink 9c477a4e4e XCU5 -> XSH5. 2000-07-26 08:57:34 +00:00
kleink 7d93b767c2 Oops, forgot to define weak aliases for public names.
Fixes PR {pkg,lib}/10655.
2000-07-26 08:52:57 +00:00
eeh 9c2bf87977 Need to reserve a full 64-bit stackframe, not a 32-bit one. 2000-07-26 00:53:50 +00:00
mycroft 01a39929fc Store the whole 64-bit pointer... 2000-07-25 20:15:40 +00:00
mycroft fb41c8728c Use cpp comment style. 2000-07-25 15:14:45 +00:00
itojun 3f0f0ab67d typo. s/Fa getaddrinfo/Fn getaddrinfo/. sync with kame. 2000-07-25 04:51:27 +00:00
itojun f69808cddd move pitfall example to downwards. wording fixes. sync with kame. 2000-07-25 04:39:54 +00:00
mycroft c54917029b Make __dtoul() actually DTRT. The calling convention was totally wrong, and
the `big' value should be 2^63, not 2^31.
Also, nuke __fixunsdfsi(), since this is never output by the sparc64 compiler.
2000-07-25 04:26:12 +00:00
itojun e3256888e3 give pitfall examples.
in response to couple of PRs including 10666.  sync with kame.
2000-07-25 02:33:29 +00:00
mycroft 4272204d8d Offset the %i2 stack slot from %sp, not %fp. Otherwise we may modify the
caller's registers!
2000-07-24 15:36:49 +00:00
mycroft fc590aafb4 There's no good reason not to assume a 64-bit stack here. 2000-07-24 15:24:55 +00:00
itojun ff9df0b1b7 correct malloc() size computation mistake. bug from bsdi, found
by kjc.  sync with kame.
2000-07-24 12:06:55 +00:00
mycroft eded30220a Don't bother saving %f16-%f31, since we don't use them. 2000-07-24 07:30:54 +00:00
mycroft b3e75eb4ed _errno -> __errno 2000-07-24 00:11:10 +00:00
mycroft e740400671 Just use a store/load pair to get the pattern into the FP reg. This eliminates
a bunch of cruft and avoids using a v9a instruction.
In addition, eliminate 8 of the fmovda's, which we are not using the result of
anyway.
Net result is that this should be faster in all cases.
2000-07-23 20:34:07 +00:00
eeh 32ceb997a8 Fix stack BIAS issues. 2000-07-23 07:12:22 +00:00
eeh e507cc60e6 Update some more assembly code for PIC issues. 2000-07-21 03:14:15 +00:00
kleink 2a043f1868 Add a description of strtok_r(3), and rip out the obsoleteness claim. 2000-07-20 14:06:23 +00:00
eeh 067b7521b5 Fix PIC bugs. 2000-07-18 22:38:11 +00:00
matt dd8046c23f fix a bug in the NOIEEE (aka VAX) case. 2000-07-17 04:59:51 +00:00
jdolecek 5451455d06 v*scanf() are hardly 'new to this release' when they have
been around since 386BSD-0.1 import; they have been present in 4.4BSD-Lite
at least, can't currently check if even in 4.3BSD
put note aboud eventual removing of compatibility formats to NOTES, it's
   hardly a bug description
2000-07-16 11:08:53 +00:00
itojun 52f552d80a correct delint mistake (missing "&").
may fix recent rpc/nfs-related PRs, including 10579 and 10601.
2000-07-16 06:41:43 +00:00