Commit Graph

8487 Commits

Author SHA1 Message Date
jkh
87a603cb4d A number of bug fixes to mrouted (no functionality enhancements from 3.5, just
the fixes!):

o Scoped addresses might let traffic in
o IGMP queries sent with wrong timeouts
o Possible core dump in mtrace if we get a request for which we have no route
o If a member on a transit network left a group, mrouted would stop forwarding
  even if there was a downstream router
o Various code cleanups and logging changes

Reviewed by:	wollman
Submitted by:	Bill Fenner <fenner@parc.xerox.com>
1995-05-16 00:28:50 +00:00
dg
e472db9bf5 Fixed route reference count bug that squirmed in during the the
routing-socket code upgrade from Berkeley..

Submitted by:	Garrett Wollman via Peter Wemm via Cornell
1995-05-15 22:57:53 +00:00
dg
5a6d68f960 Removed unnecessary extern declaration that was causing compiler warnings.
Reviewed by:	Garrett Wollman
1995-05-15 22:55:18 +00:00
dg
3bf8bf81dd Removed extraneous comma.
Reviewed by:	Bruce Evans
1995-05-15 22:27:48 +00:00
jfieber
050f67479b Slip server document updated for 2.x systems.
Submitted by:	Guy Helmer <ghelmer@alpha.dsu.edu>
1995-05-15 22:07:21 +00:00
rgrimes
80a0428f98 The ``mount -a -t nfs'' should never have been backgrounded. If you
have non-critical nfs volumes in /etc/fstab they should have option bg
on them.  The behavior of the system is more tuneable this way, and
allows a slow mounting /usr over nfs to work.

Submitted by:	bde
1995-05-15 19:50:59 +00:00
ache
e8fd58285e change nobody master.passwd entry to 65534:65534
change nobody group entry to 65534
Suggested-by: pst
1995-05-15 19:24:57 +00:00
phk
ff15745bd7 Fixed the calculation of the reserved space for bad144. Thanks Rod! 1995-05-15 19:03:08 +00:00
phk
50ad47cf77 Basic bad-block scanner. Works. Slow. Adds the bad-spots automatically. 1995-05-15 19:02:09 +00:00
ache
c0e4693116 Change xten shell from /dev/null to /nonexistant, adduser
complaints instead.
Change nobody user group from non existent in /etc/group (9999) to
existent nobody (39).
1995-05-15 18:35:22 +00:00
ache
042ea47697 Fix draw shadow bug, when shadow reaches end of the screen,
bringed by devmenu or tzsetup f.e.
1995-05-15 16:40:02 +00:00
dg
ab5358efa7 Fixed typo. 1995-05-15 12:23:03 +00:00
dg
94d8622ac0 Use symbolic "IPTOS_LOWDELAY" instead of octal bit value for this socket
option. The bit value was wrong.
1995-05-15 11:58:03 +00:00
dg
c643e3acd9 Fully initialize (bzero) the stack-allocated "struct sockaddr_in server"
structure. Random junk on the stack would cause the call to bind to fail
in some cases (since the address portion wasn't initialized).
1995-05-15 09:56:49 +00:00
rgrimes
17fc6d821b Remove all /dev/'s from device names, they should all be relative
to /dev.  Putting absolute paths in here breaks the make release
process, and screws up testing of this script in other directories.

Submitted by:	bde
1995-05-15 09:44:10 +00:00
dg
138edd5273 Fixed incompleteness that would allow dirty filesystems to get mounted
when the single user shell was terminated. These changes disallow mounting
or R/W upgrading filesystems that are dirty unless "-f" (force) option
is used with mount. /etc/rc has been modified to abort the startup if
one or more non-nfs partitions fail to mount.

Reviewed by:	Poul-Henning Kamp, Rod Grimes
1995-05-15 08:39:37 +00:00
dg
4c12c11b83 From Bruce Evans:
I ran into another manifestation of the problem reported in PR 211 and
fixed it. Try this:

as non-root:
	cd /tmp; mkdir x y x/z
as root:
	chown root /tmp/x/z
as non-root:
	cd /tmp/x; mv z ../y		# EACCES as expected
as root:
	cd /tmp/x; mv z ../y		# EINVAL NOT as expected

This is because ufs_rename() sets IN_RENAME and fails to clear it.

Reviewed by:	davidg
Submitted by:	bde
1995-05-15 07:31:09 +00:00
gpalmer
249601e430 Clean up the matcd entry so it deletes the *matcdl* entries before trying
to create new ones.

Reviewed by:	davidg, rgrimes
1995-05-15 06:55:18 +00:00
phk
ad0a2407f5 Create_Chunk_DWIM will not allocate anything in the last cylinder of a
CHUNK_BAD144 slice.
Also mknod the 'c' partition for freebsd slices, so bad144(8) will have
something to work on.
1995-05-15 00:58:25 +00:00
ache
c4c737dae7 End of listcan be not marked, fix it
Submitted by: Kai Vorma <vode@snakemail.hut.fi>
1995-05-15 00:03:32 +00:00
ache
a83afb990f Fix xterm entry by fallback to vt220 entry,
also compact VT* is/rs capabilities to prevent overflowing
1995-05-14 23:32:53 +00:00
ache
5999b41035 Fix false backspace reporting 1995-05-14 22:46:15 +00:00
ache
d015557a82 Parse ^? correctly now 1995-05-14 22:33:52 +00:00
ache
471b2e6d7b Parse ^? now, our termcap use it and some termcaps from other
systems use it too
1995-05-14 22:29:13 +00:00
dg
b6c456d4dd Added apersand constraint to make sure that the source and destination
registers aren't combined.

Reviewed by:	Bruce Evans and David Greenman
Submitted by:	John Dyson
1995-05-14 22:25:11 +00:00
rgrimes
eb9f4c619d Fix 3 printf's that had the wrong number of arguments.
Submitted by:	gibbs
1995-05-14 19:19:55 +00:00
nate
5d6f567956 Prototype for madvise() is missing from sys/mman.h
Submitted by:	Kai Vorma <vode@snakemail.hut.fi>
1995-05-14 19:19:07 +00:00
ache
4730235f67 Fix error returning address of local array 1995-05-14 19:14:53 +00:00
ache
e2ae692e16 Add dumpon 1995-05-14 18:43:25 +00:00
rgrimes
1e7f876bc0 This patch teaches info to read gzipped files (emacs info already
works) so one can gzip files in /usr/share/info and save a few
megabytes diskspace.

Submitted by:	Kai Vorma <vode@snakemail.hut.fi>
1995-05-14 17:54:44 +00:00
ache
492dcc2fc3 Install uuconv/uuchk with right permissions 1995-05-14 17:01:07 +00:00
gpalmer
58025d3c03 tcpdump is in (1) not (l) 1995-05-14 15:21:36 +00:00
bde
ed8adcf9bd Fix declaration of palette[] so that fade saver doesn't cause panics. 1995-05-14 12:54:30 +00:00
asami
e94bdaa5da Added "doc" to the list of subdirs, so that amdref.info* will get
installed in /usr/share/info...closes my own PR, docs/408 (aaah now
I need to figure out how to "close" PRs... ;)....
1995-05-14 11:24:41 +00:00
dg
dbe6eb85b5 After carefully reading three reference documents, and analyzing
the 802.3 frames generated by the DC21040 (which does automatic padding
of less-than-minimum frames) and the frames generated by the 'ed'
driver, I've found that there is indeed a bug in the size of "ETHER_MIN_LEN"
as reported by several people, John Hay being the most recent. The driver
was actually setting the length to 6+6+2+50 (64 bytes), which when adding
in the CRC (which is automatically appended to the frame and not included
in the length), the minimum frame is 4 bytes larger than it is supposed to
be. All of this is confirmed by tcpdump showing 50 bytes of data for
minimum frames from the 'ed' cards and 46 bytes from 'de' cards. This
analysis has also revealed that there is garbage in the un-filled in
portion at the end of the minimum frames from the 'ed' driver; I don't
plan to fix this.
1995-05-14 11:01:20 +00:00
rgrimes
9d5544b3d4 printf -> fprintf when you use a fd arg :-), oops! 1995-05-14 08:40:37 +00:00
rgrimes
f0c0a8b7ce Don't add a slash to the end of _PATH_DEV, it already has one.
Print a final newline to stderr after the scan finishes, only do it
at the right place in this version, 1.1.5.1 caused an extra newline
if you where not running -s, and it went to stdout instead of stderr.

Obtained from:	FreeBSD 1.1.5.1
1995-05-14 08:19:08 +00:00
rgrimes
08e7f4be2f Add bad144 -s option to scan entire slice of disk.
Obtained from:	FreeBSD 1.1.5.1 (Just the scan function itself was added)
1995-05-14 07:05:47 +00:00
phk
d8f95d4252 Reflect the fact that we do not swap on the first <dmmax> blocks of a
swapdev, to protect disklabels and other such magic stuff.
1995-05-14 03:37:40 +00:00
dg
cad5d541a0 Updated to work with Poul-Henning's recent kernel changes in the swap
device table layout...basically, don't output the cruft anymore - it
is now dynamic.

Reviewed by:	John Dyson and David Greenman
Submitted by:	Poul-Henning Kamp
1995-05-14 03:10:58 +00:00
dg
05c46323f6 Updated to work with Poul-Henning's recent changes to the swap device
table.

Reviewed by:	John Dyson and David Greenman
Submitted by:	Poul-Henning Kamp
1995-05-14 03:08:35 +00:00
dg
b649d7b9c7 Changed swap partition handling/allocation so that it doesn't
require specific partitions be mentioned in the kernel config
file ("swap on foo" is now obsolete).

From Poul-Henning:

The visible effect is this:

As default, unless
        options "NSWAPDEV=23"
is in your config, you will have four swap-devices.
You can swapon(2) any block device you feel like, it doesn't have
to be in the kernel config.

There is a performance/resource win available by getting the NSWAPDEV right
(but only if you have just one swap-device ??), but using that as default
would be too restrictive.

The invisible effect is that:

Swap-handling disappears from the $arch part of the kernel.
It gets a lot simpler (-145 lines) and cleaner.

Reviewed by:	John Dyson, David Greenman
Submitted by:	Poul-Henning Kamp, with minor changes by me.
1995-05-14 03:00:10 +00:00
rgrimes
8f5311b617 mlink bad144.8 to man8/bad144.8 so we can find the manual page.
Use /${MACHINE} for MANSUBDIR instead of hardcoded /i386

Obtained from:	FreeBSD 1.1.5.1
1995-05-14 02:30:19 +00:00
dg
9dfe5706e1 Take out special error message for EINVAL...we really do want it to be
"invalid argument".
1995-05-14 02:18:18 +00:00
asami
e8007e4e09 Don't conditionalize fake-pkg on NO_PACKAGE. 1995-05-13 23:37:16 +00:00
ache
cf6b207e9d Fix FtpPasv to not return address of local variable, close PR 399
Submitted by: John Capo <jc@irbs.com>
1995-05-13 22:09:52 +00:00
ache
87576e5822 Fix manpage lies about -P 1995-05-13 22:06:12 +00:00
rgrimes
b9f7f0bc61 Remove XXX comment that I had moved to netstart and forgot to remove from
here.
1995-05-13 20:16:11 +00:00
rgrimes
a34e9f9422 Very minor rework to eliminate useage of - operator by checking for
existance of ${CHROOTDIR}.

Remove -k option from make install for building chroot tree, makes it
error out early if you forgot to populate the pre-chroot obj tree.

Reviewed by:	phk
1995-05-13 19:51:57 +00:00
phk
33b9a83ec8 remove swapinfo. 1995-05-13 17:27:10 +00:00