Commit Graph

53459 Commits

Author SHA1 Message Date
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
sommerfeld c1ecf66965 kern/5591: Fix race in the NFS socket code during umount -f and system
shutdown:

During an unmount, wake up all the processes which are waiting to lock
the socket for receive, and wait for them (and the process blocked in
soreceive, if any) to go away before blowing away the socket and the
mount structure.
1999-07-04 19:56:00 +00:00
sommerfeld e303e2ee8b Fix kern/7906: race between unmount and getnewvnode()
mp->mnt_flags & MNT_MWAIT is replaced by mp->mnt_wcnt, and a new mount
flag MNT_GONE is created (reusing the same bit).

In insmntque(), add DIAGNOSTIC check to fail if the filesystem vnode
is being moved to is in the process of being unmounted.

getnewvnode() now protects the list of vnodes active on mp with
vfs_busy()/vfs_unbusy().

To avoid generating spurious errors during a doomed unmount, change
the "wait for unmount to finish" protocol between dounmount() and
vfs_busy().  In vfs_busy(), instead of only sleeping once, sleep until
either MNT_UNMOUNT is clear or MNT_GONE is set; also, maintain a count
of waiters in mp->mnt_wcnt so that dounmount() knows when it's safe to
free mp.

tested by running a "while :; do mount /d1; umount -f /d1; done" loop
against multiple find(1) processes.
1999-07-04 16:20:12 +00:00
abs 00f6783cab Remove *.lo in make clean 1999-07-04 16:07:00 +00:00
abs 5dd420a030 Add ipl and raid to 'MAKEDEV all' 1999-07-04 16:01:55 +00:00
abs 64532f71cf Add 'ipl' to 'MAKEDEV all' 1999-07-04 16:01:04 +00:00
sommerfeld 311927221b Build system call stubs using system includes from ${DESTDIR}/usr/include
if DESTDIR is set.
This allows you to build a working libc which include syscall stubs
for new syscalls not defined in /usr/include/sys/syscall.h
1999-07-04 15:46:10 +00:00
itojun d1d8f0f73c do not pass NULL to errx().
From: Chris Joness <cjones@rupert.honors.montana.edu>
1999-07-04 15:24:35 +00:00
itojun daa8445160 add NetBSD RCS ID. 1999-07-04 14:45:54 +00:00
itojun 4cd93a1723 do not bark even if ipsec policy setting for "route flushing 127.0.0.1"
ping socket is not successful.  it usually means that the kernel is
not ipsec ready, and in that case this should be just okay.
1999-07-04 13:27:03 +00:00
itojun a7e88d2896 hide sysctl error messages to stderr (on checking IPv6 config values) 1999-07-04 12:51:30 +00:00
mrg f3ea75e08a - back out previous for amiga/miniroot/list because:
- sparc now creates /kern in the 'list' file like the amiga, atari,
  mvme68k and pmax ports, and:
- remove /kern from miniroot/mtree.conf
1999-07-04 11:46:23 +00:00
cgd 0f1bc6e9b6 fix slight finger-brain disconnect 1999-07-04 10:45:37 +00:00
cgd efb4e0892c oops, forgot an _ 1999-07-04 10:39:40 +00:00
cgd 8b6866fc0b privatize msg_beep 1999-07-04 10:35:19 +00:00
cgd 4443f1b7ab nuke msg_{,no}echo, add msg_prompt_noecho 1999-07-04 10:29:30 +00:00
cgd 736fd6a4cb replace msg_noecho+msg_prompt+msg_echo with msg_prompt_noecho 1999-07-04 10:29:29 +00:00
cgd ed2a9c9df9 nuke msg_prompt_str, msg_prompt_addstr, and msg_table (unused), and make
msg_vprintf private.
1999-07-04 10:13:12 +00:00
is 2e242fe277 Compensate for the addition of /kern to the MI mtree file. 1999-07-04 09:51:45 +00:00
cgd 1517a78b6d minor adjustments to make this stuff display properly with the automatic
formatting now done by the message code.  Also, some minor cleanup of
problems noticed while adjusting things.
1999-07-04 09:41:02 +00:00
cgd e7861bf936 turn on automatic text layout for the printf and display fns 1999-07-04 09:37:18 +00:00