Commit Graph

53679 Commits

Author SHA1 Message Date
itojun 6ea6ccf105 checked build on alpha and i386, with GENERIC.v6.
fixed several sizeof(void *) and sizeof(size_t) issues on alpha.

Thanks to: Dave Huang and Tim Rightnour
1999-07-06 08:55:56 +00:00
thorpej 0ecdd58add Define _RTLD_SOURCE so this builds again. PR 7927, itojun@itojun.org. 1999-07-06 08:04:31 +00:00
augustss 7875415701 Add the detach and activate entry points to the cfattach struct. 1999-07-06 07:42:23 +00:00
augustss 319c42848d Add some sanity checks. 1999-07-06 07:12:03 +00:00
cgd 392fa3123d one 'domain' -> 'DNS domain' that slipped through the cracks 1999-07-06 06:10:53 +00:00
cgd 891f175906 beware whitespace at ends of lines in messages: it's actually meaningful!
while here, clean up other whitespace at EOLs in msg files to make grepping
easier.
1999-07-06 06:10:04 +00:00
mjacob c9d36d5b4c add in (controlled by option) 2200 Expanded Lun F/W 1999-07-06 05:43:51 +00:00
itojun f3c72d8503 fix IPSEC (but not INET6) build.
PR: 7921, 7922, 7924
From: rafal@mediaone.net
1999-07-06 05:09:22 +00:00
cgd c1b7b40399 from the comment added to the code:
> XXX (in)sanity check.  We don't do proper datasize checking
> XXX for anonymous (or private writable) mmap().  However,
> XXX know that if we're trying to allocate more than the amount
> XXX remaining under our current data size limit, _that_ should
> XXX be disallowed.
This is one link on the chain of lossage known as PR#7897.  It's
definitely not the right fix, but it's better than nothing.
1999-07-06 02:31:05 +00:00
cgd 5cc6a54251 fix allocation handling bugs in amap_alloc1(). if the first or second
sub-structure malloc() failed, it was quite likely that the function
would return success incorrectly.  This is this direct cause of the bug
reported in PR#7897.  (Thanks to chs for helping to track it down.)
1999-07-06 02:15:53 +00:00
itojun 2842a2f6bb fix name resolution problem when you have "hosts: files dns" on
/etc/nsswitch.conf.

This was because of two reasons:
- /etc/hosts lookup code damaged some of internal
  state used by gethostbyname2().
- getaddrinfo() was not persistent enough against errors.

Sorry for the delay, and hope this fix all the following PRs
(I checked in my environment immitating those PRs and it worked for me)
PR: 7901, 7912, 7921
1999-07-06 02:00:41 +00:00
fvdl a32341998c Add COMPAT_AOUT to GENERIC 1999-07-05 22:40:34 +00:00
thorpej 4d36288136 index -> ldx (and similar in some related variable names). Avoids a lint
warning.
1999-07-05 22:14:38 +00:00
thorpej 55fcfba6fe Oops, back out 1.21. Christos and I apparently stepped on each other. 1999-07-05 22:12:20 +00:00
christos 06b51a1a11 s/index/idx/
s/EXTRA_SANITY/MALLOC_EXTRA_SANITY/
const poisoning
use sysconf to get the pagesize
1999-07-05 21:55:46 +00:00
thorpej 3cedf1e346 Compute page size related parameters at run-time. 1999-07-05 21:49:05 +00:00
hubertf 057479d6da Add sidplay information, submitted in PR 7918 by Antti Kantee <pooka@iki.fi> 1999-07-05 21:38:21 +00:00
thorpej b2146da05a EXTRA_SANITY -> MALLOC_EXTRA_SANITY, consistently. 1999-07-05 21:08:38 +00:00
mjacob 8fc3744ddd Upgrade 2100 F/W and add 2200 f/w. 1999-07-05 20:33:58 +00:00
mjacob f428cf36fa Change to approved NASA/Ames copyright. Add Fabric support. Fix SCCLUN support.
Add code that tries to track LoopID shifting.
1999-07-05 20:31:35 +00:00
mjacob 3bb408eb05 Change to approved NASA/Ames copyright. Add in Qlogic 2200 support. 1999-07-05 20:28:11 +00:00
mjacob c0e65db53f quiesce the alpha compiler 1999-07-05 20:04:50 +00:00
mjacob 4a7b34ded4 add missing include for memset prototype 1999-07-05 20:01:09 +00:00
thorpej 206408b533 Protect certain definitions from view by crt0, by wrapping them in
#ifdef _RTLD_SOURCE.

Should fix the "variable page size" build error of crt0 on the SPARC.
1999-07-05 17:55:34 +00:00
kleink 2175038069 Some cleanup; g/c unneeded lint stub files. 1999-07-05 15:54:18 +00:00
bouyer 8d82c2165f Translate. 1999-07-05 12:08:09 +00:00
mjacob fb44b37fd0 add some default options for the ISP (for fabric/scclun eanbles) 1999-07-05 11:38:35 +00:00
agc 42de521154 Correct typo in synopsis. 1999-07-05 10:59:08 +00:00
fvdl b82e1a8b93 EXEC_ELF32 is standard now. 1999-07-05 09:14:09 +00:00
fvdl 454190a76b Switch the i386 port to ELF. 1999-07-05 09:13:04 +00:00
fvdl 12e846384a The i386 port does not use ld.so.conf anymore with ELF. 1999-07-05 09:02:55 +00:00
fvdl b663bdb63e Need -lipsec now, for ping. 1999-07-05 08:52:49 +00:00
cjs 5108aad9a8 ntohl() doesn't return long, so cast it. 1999-07-05 08:15:39 +00:00
darrenr a47ffec442 Call icmp_error() at the bottom of rip_input IFF rip_input is the handler
for the protocol in the specified packet.
Fix statistic gathering to not make bogus increments of ips_delivered and
ips_noproto for cases where rip_input() is called by a protocol handler
(such as icmp_input or igmp_input) which has already processed the packet.
1999-07-05 07:24:38 +00:00
cgd 4515ccfe3e nuke msg_printf() and msg_printf_add(). 1999-07-04 22:55:48 +00:00
cgd b62c0ee8ad get hard-coded messages out of the source, into the message file. (Gee,
you'd think that this wouldn't have been a problem to begin with...)
1999-07-04 22:52:22 +00:00
itojun 1a53711865 fix 'junk pointer free' issue. 1999-07-04 22:46:20 +00:00
itojun 06d4151d10 check address family on getting entries from /etc/hosts. 1999-07-04 22:44:28 +00:00
cgd 5ed98e7513 note that msg_printf_add() is going to go away 1999-07-04 22:33:54 +00:00
cgd 945d434250 convert the custom distribution set table to be formatted with
msg_table.  needed slight tweaks in the MD menus, for menu placement.
(one XXX TRANSLATE in msg.mi.fr.)
1999-07-04 22:31:37 +00:00
itojun 6d19cc56e3 more careful signed-ness handling in parsing config file. 1999-07-04 22:14:53 +00:00
fvdl ec3e468086 sparc and i386 do not have ld.so.conf anymore now that they're switched
(or about to switch) to ELF.
1999-07-04 22:11:06 +00:00
fvdl bec4549303 Update for mount flag change. 1999-07-04 22:09:30 +00:00
itojun 72367d27c8 s/char/int/ for variable that eat return value of getopt(). 1999-07-04 21:59:19 +00:00
cgd add839488b instead of using msg_printf_add("\n") to add a newline to the output,
add a 'newline' message and use msg_display_add().
1999-07-04 21:52:11 +00:00
cgd c624190287 convert run_prog's error message from being a "const char *" to a msg.
XXX Only the callers that actually pass strings were fixed, the rest were
XXX left passing 'NULL'.  Eventually they should be cleaned up to pass
XXX MSG_NONE, but I didn't want to do that yet because somebody else
XXX (jonathan) is hacking on the run_prog callers and I didn't want to
XXX cause him a Lot of conflicts.  at least right now, MSG_NONE and NULL
XXX are as equivalent as they need to be.
1999-07-04 21:39:33 +00:00
cgd 1904092f06 message const poisoning, and conversion from integers to an opaque
message type.
1999-07-04 21:32:48 +00:00
cgd a70b70f98d const-ify strings as appropriate, and convert message 'numbers' from
ints to 'msg's.  'msg' is currently typedef'd as 'const char *', but it'll
become more complex eventually.
1999-07-04 21:30:14 +00:00
sommerfeld 140b1ee075 Housecleaning time:
Fix and document naming convention for vnode variables (always use
lvp/lvpp and uvp/uvpp instead of a hash of cvp, vpp, dvpp, pvp, pvpp).

Delete old stale #if 0'ed code at the end.

Change error path code in getcwd_getcache() slightly (merge common
cleanup code; shouldn't affect behavior any).
1999-07-04 20:16:57 +00:00
fvdl 25b8d43788 Bring setlists up to date for i386 switch to ELF and ipv6. 1999-07-04 20:07:51 +00:00