Commit Graph

6836 Commits

Author SHA1 Message Date
David Greenman
45e3e324cc Changed some (incorrect) nfsrv_vput()'s back into regular vput()'s. This
fixes the last of the known NQNFS problems (until I find more, that is :-)).
1995-03-17 07:45:19 +00:00
Poul-Henning Kamp
5edd0e154f <libkern/libkern.h> has moved to <sys/libkern.h> (repository copy).
Since /usr/include/libkern doesn't and shouldn't exist, this is the
least evil way to handle this.
1995-03-17 06:15:40 +00:00
Poul-Henning Kamp
48c51d3282 Have include be the first $SUBDIR, this avoid install failure with the
kludgeous install rule in perl/x2p.

Pointed out by:	rgrimes
1995-03-17 04:59:44 +00:00
Poul-Henning Kamp
785bd4b416 Dont install DES bits in cdrom area. 1995-03-17 04:54:13 +00:00
Poul-Henning Kamp
64988eb339 Remove reference to fsdb(8). We don't have it. 1995-03-17 04:41:18 +00:00
Poul-Henning Kamp
2b65c0b067 Remove a spurious printf. 1995-03-17 04:39:41 +00:00
David Greenman
cb09d35cb0 Added a new field to the pci_device struct called pd_shutdown to specify
a device specific shutdown routine for devconf. Assign the value of this
to the kern_devconf struct. Implement a device shutdown routine for if_de
that disables the device. This will stop the device from corrupting memory
after a reboot.
1995-03-17 04:27:21 +00:00
David Greenman
3e3eb41588 Call dev_shutdownall() just after unmounting filesystems. 1995-03-17 04:19:19 +00:00
David Greenman
6a21a04a14 Changed names of goaway routines into shutdown routines. 1995-03-17 04:18:07 +00:00
Andrey A. Chernov
0efbb29eec Upgrade 1995-03-17 01:40:52 +00:00
Poul-Henning Kamp
c5b0a90902 Remove imutable bits, they will not survive anyway. First cut at cdrom
make rule.
1995-03-16 22:54:42 +00:00
Poul-Henning Kamp
38b590b187 Fix a spelling error.
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-03-16 22:03:09 +00:00
Poul-Henning Kamp
b372c217fc Fixed Stephen McKay's email address. 1995-03-16 22:01:57 +00:00
Garrett Wollman
0b11bfa164 Fix bonehead formatting error. 1995-03-16 21:43:03 +00:00
Garrett Wollman
be02aec01b Print out the new flags. 1995-03-16 20:29:11 +00:00
Garrett Wollman
bbf3a56610 Add four more filesystem flags:
VFCF_NETWORK (this FS goes over the net)
	VFCF_READONLY (read-write mounts do not make any sense)
	VFCF_SYNTHETIC (data in this FS is not real)
	VFCF_LOOPBACK (this FS aliases something else)

cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr;
procfs, kernfs, and fdesc are synthetic.
1995-03-16 20:23:48 +00:00
Garrett Wollman
f1b2407b0b Print out flags as text rather than a number. 1995-03-16 18:37:47 +00:00
Garrett Wollman
cff19ac2ef Statically-compiled filesystems now use a VFCF_STATIC flag rather than
abusing the refcount.
1995-03-16 18:31:00 +00:00
Garrett Wollman
0e5ca0d837 Document net.inet.ip.sourceroute MIB variable. 1995-03-16 18:24:19 +00:00
Garrett Wollman
1025071f85 Reject source routes unless configured on by administrator. 1995-03-16 18:22:28 +00:00
Bruce Evans
b5e8ce9f12 Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'.  Fix all the bugs found.  There were no serious
ones.
1995-03-16 18:17:34 +00:00
Stefan Eßer
11098d3bad Prepare for shared interrupts (required by the new PCI code that adds
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).

Submitted by:   Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-16 17:41:20 +00:00
Garrett Wollman
ef0cdf3329 Add inet_ntoa() and replace ARP's private routine with same. 1995-03-16 17:32:27 +00:00
Stefan Eßer
9b2fa02dd9 Prepare for shared interrupts (required by the new PCI code that adds
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).

Submitted by:	Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-16 17:31:19 +00:00
Bruce Evans
3bf0c362ad Remove isa/prof_machdep.c. It doesn't exist yet. 1995-03-16 17:18:49 +00:00
Garrett Wollman
b53e909d11 Fix long-standing core dump when ld returns failure. 1995-03-16 17:11:21 +00:00
Garrett Wollman
9d3b840f0a Semi-major RC file cleanup:
- Do ntp right
- Move recenrly-added and long-standing junk from rc.local into rc, so
. that rc.local truly is LOCAL.
- Fix named invocation to use the correct boot file location.
1995-03-16 16:58:01 +00:00
Garrett Wollman
d99c7a23fa This set of patches enables IP multicasting to work under FreeBSD. I am
submitting them as context diffs for the following files:

sys/netinet/ip_mroute.c
sys/netinet/ip_var.h
sys/netinet/raw_ip.c
usr.sbin/mrouted/igmp.c
usr.sbin/mrouted/prune.c

The routine rip_ip_input in raw_ip.c is suggested by Mark Tinguely
(tinguely@plains.nodak.edu). I have been running mrouted with these patches
for over a week and nothing has seemed seriously wrong. It is being run in
two places on our network as a tunnel on one and a subnet querier on the
other. The only problem I have run into is that mrouted on the tunnel must
start up last or the pruning isn't done correctly and multicast packets
flood your subnets.

Submitted by:	Soochon Radee <slr@mitre.org>
1995-03-16 16:25:55 +00:00
Stefan Eßer
619e03fa69 Reading NCR registers is not secure at all times, so prevent
an ordinary user from doing this. (Problem pointed out by
Guido van Rooij).
1995-03-16 15:10:11 +00:00
Stefan Eßer
f37ec55185 Make ncr.c compile again (PRINT_ADDR() had been patched
into the middle of a printf() by a buggy diff ...).

Submitted by:	rgrimes
1995-03-16 13:02:40 +00:00
Poul-Henning Kamp
544eee1a54 Well, it seems like the vn driver is pretty hosed still, so don't use it :( 1995-03-16 05:58:28 +00:00
Poul-Henning Kamp
16e5d87eab Code to use vndevice instead of floppy to build floppy images. 1995-03-16 05:40:02 +00:00
Paul Richards
eb8e92bd93 Added my little project to stop ps truncating output to pipes. 1995-03-16 05:07:09 +00:00
Poul-Henning Kamp
16ecbe2b7f Added cons30, cons43 and cons60 terminal types (==cons25 with more lines).
Theres a mono entry for them all, and cons50 already existed.
1995-03-16 01:37:41 +00:00
Joerg Wunsch
3ce2ec287b Included the (now use{able,ful}) catman program as an (commented out)
example.
1995-03-15 22:58:19 +00:00
Joerg Wunsch
01e694c2e2 Wolfram's replacement for the oldish ugly catman(1) program. The new
one is much more intelligent, not only that it would accept multiple
man page locations, it also behaves like ``make'' in that it will only
deal with cat pages that are out of date (by default).

Wolfram also wrote a man page for it.

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-03-15 22:47:38 +00:00
Peter Dufault
66b0ec7d86 Plug lurking bug when a device returns ASC:ASCQ 0xff:0xff 1995-03-15 22:42:25 +00:00
Bill Paul
d93cc1a933 According to stdlib.h, malloc and realloc return void * but error_table.y
declares them to return char *. For some reason, this causes no problems
with the old compiler tools, but doing a 'make world' with gcc 2.6.3 in a
seperate DESTDIR got me this error:

yacc -d /usr/src/usr.bin/compile_et/error_table.y
cc -O2 -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err   -I/mnt/usr/include -c y.tab.c -o error_table.o
In file included from /usr/src/usr.bin/compile_et/et_lex.lex.l:11,
                 from /usr/src/usr.bin/compile_et/error_table.y:233:
/mnt/usr/include/stdlib.h💯 conflicting types for `malloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `malloc'
/mnt/usr/include/stdlib.h:104: conflicting types for `realloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `realloc'
*** Error code 1

Stop.

Declaring malloc and realloc to return void * fixes this. It could be that
the new gcc is a bit more picky about these things.
1995-03-15 19:05:28 +00:00
Stefan Eßer
8e95bee6d4 Conditionalise debug message.
Submitted by:	Peter Dufault <dufault@hda.com>
1995-03-15 18:15:32 +00:00
Bruce Evans
fe7172b1a6 Fix support for extended partitions (forgot to release the buffer). 1995-03-15 16:25:08 +00:00
Peter Dufault
1a084a9abd Change it so it doesn't say "probe0" for SCSI probe "device". 1995-03-15 14:44:01 +00:00
Peter Dufault
de6a307ec7 Document scsi options 1995-03-15 14:27:01 +00:00
Peter Dufault
7a162ba150 Add scsi/scsi_sense.c 1995-03-15 14:23:18 +00:00
Peter Dufault
73d664ca78 1. Add text for ASC/ASCQ
2. Clean up probe messages.  This is how I propose it looks for 2.1 so
if you don't like it you have my e-mail address.
1995-03-15 14:22:12 +00:00
David Greenman
5eb7d0cd2e Special cased the handling of mb_map in the M_WAITOK case. kmem_malloc()
now returns NULL and sets a global 'mb_map_full' when the map is full.
m_clalloc() has further been taught to expect this and do the right thing.
This should fix the "mb_map full" panics that several people have reported.
1995-03-15 07:52:06 +00:00
David Greenman
3669a02157 Changed manual page to conform to the reality in FreeBSD. 1995-03-15 07:08:33 +00:00
Poul-Henning Kamp
76f4de663a Extract the cpio-floppy relative to the root, not /stand. 1995-03-15 06:16:10 +00:00
Poul-Henning Kamp
e12c435569 I belive the floppies work as expected now. (incl the fixit) 1995-03-15 06:14:19 +00:00
Bill Paul
b337d29402 Repeat after me kids: "I will not try to install files into a directory
when I'm not sure whether or not that directory exists."

Today I discovered that rebuilding /usr/include completely from scratch
doesn't work, because the libss Makefile tries to install headers into
/usr/include/ss, which 'make includes' does not create. The result is that
the libss Makefile plants the header files in /usr/include as individual
files called 'ss,' with the second one overwriting the first, and the
third one overwriting the second. So instead of a directory called
/usr/include/ss, you end up with just one file called /usr/include/ss with
only the last header file in it. Check out /usr/include/ss on freefall
and you'll see what I mean.

I've modified the beforeinstall target in the libss Makefile to check
for the presence of the ${DESTDIR}/usr/include/lbss directory and to
create it if it isn't already there. Hopefully I did it right.
1995-03-15 01:33:05 +00:00
David Greenman
e8f1ce6f5a Added $Id$ 1995-03-14 22:15:36 +00:00