Commit Graph

6423 Commits

Author SHA1 Message Date
dg
95c793629c Truncate the pte address to a page boundry. This probably won't fix the
panic, but at least it's more correct.
1995-02-19 02:50:31 +00:00
bde
b03d5556ac Keep absolute offsets in on-disk labels for backwards compatibility. This
requires complications to adjust the offsets to relative when a block
containing the label is read and back to absolute when such a block is
written.  The adjustment is not made on the whole disk slice.

Don't allow setting the offset of partition C to nonzero in in-core labels.
This will cause some (nonstandard) disktab entries to fail.  They will
need to be changed to have relative offsets (and no partitions outside
of the slice).

Don't write protect the (nonexistent) label on the whole disk slice.

Writing labels and bootstraps should work right now (except if there is
no DOSpartition table).
1995-02-18 22:10:44 +00:00
bde
af1137d1b0 Write setconf() in KNF, in K&R C, and in Standard C.Standard C. 1995-02-18 21:32:19 +00:00
bde
8a92daed14 New field b_biodone_chain to support nested b_iodone's. 1995-02-18 21:12:33 +00:00
ats
674b6fa0fe Submitted by: Ollivier ROBERT roberto@keltia.frmug.fr.net
There is a typo in the include file specification in the  man page  of
time(1).
1995-02-18 20:44:55 +00:00
wpaul
c4fd643b2d Do away with 'options SWAP_GENERIC' once and for all: I get ill
just thinking about it.

Two changes need to be made to allow 'config kernel swap generic' to
work properly without requiring any compile-time flags:

/usr/src/usr.sbin/config/mkswapconf.c: we need to define a dummy stub
for the setconf() function to replace the one in swapgeneric.c that
isn't available in non-generic configurations.

/usr/src/sys/i386/i386/autoconf.c: the -a boot flag causes setroot()
to be skipped and lets setconf() prompt the user for a root device.
If you skip setroot() in a non-generic kernel, you could get severely
hosed. To avoid this, we silently ignore the -a flag if rootdev != NODEV.
(rootdev is always initialized to NODEV in swapgeneric.c, so if
we find that rootdev is something other than NODEV, we know we're
not using a generic configuration.)
1995-02-18 18:05:35 +00:00
jkh
50cf8653d9 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
jkh
541a543c39 ipfirewall.4 is obviously not here anymore! Adjust the Makefile. 1995-02-18 16:36:23 +00:00
ache
b25a4f776d Minor optimization. 1995-02-18 11:36:33 +00:00
jkh
b52aace268 Add Nate back as promised before, but I will also note that he's on
probation..  Another vanishing act and I won't hesitate to nuke this back
out again.  He hasn't been heard from very much since he was over here to
visit! :-)
1995-02-18 09:31:16 +00:00
smace
d437a0e4d0 Correct the grammar for the label of the number of users.
It is plural when zero and >1 users are logged in.
1995-02-18 08:24:16 +00:00
dg
81bea10e08 1) Added protection against collapsing OBJ_DEAD objects.
2) bump reference counts by 2 instead of 1 so that an object deallocate
   doesn't try to recursively collapse the object.
3) mark pages renamed during the collapse as dirty so that their contents
   are preserved.

Submitted by:	John and me.
1995-02-18 06:48:33 +00:00
jkh
ef80c623f8 1. Add Justin Gibbs
2. Make all the core team members use FreeBSD.org - it just looks better.
1995-02-18 04:07:09 +00:00
dg
528da0c6ed Only clear B_VMIO in brelse() - a bunch of special processing is required
whenever this happens, and that wasn't occurring in some cases.
1995-02-18 02:55:09 +00:00
ache
03868c1f7f Minor optimization 1995-02-18 01:42:02 +00:00
ache
c799593a3c Copyrights cleanup 1995-02-18 01:39:00 +00:00
se
c4c0871987 Bruce pointed out, that a misleading warning would be issued
in an (unlikely) border case (maxgroups==1 and the user is on
an /etc/group line for the same group and that group only ...).

Now this case is dealt with as before ...
1995-02-17 19:45:21 +00:00
bde
a866ea1434 Undo the busy latch changes made in the previous revision. They broke
some 386/387 systems.

Don't print the IRQ number twice in the boot diagnostics.
1995-02-17 19:38:13 +00:00
ugen
43b21ffd4a Move ipfirewall.4 & snp.4 facility manpage
to share/man/man4
1995-02-17 18:48:36 +00:00
ugen
03ab24cfc5 oops..here is the manpage 1995-02-17 18:06:11 +00:00
ugen
582c213f01 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
ache
7f1af51e6a colldef added 1995-02-17 17:37:55 +00:00
se
ff92758488 Protect against duplicate gids in group list (as could be the
result of being a member of some group in both /etc/group and YP).
1995-02-17 17:36:09 +00:00
ache
ffc8a4036e This commit was generated by cvs2svn to compensate for changes in r6527,
which included commits to RCS files with non-trunk default branches.
1995-02-17 17:29:50 +00:00
ache
c6349924aa collate tables compiler
Submitted by: alex@elvisti.kiev.ua
1995-02-17 17:29:50 +00:00
ache
e0c079760d collate tables compiler
Submitted by: alex@elvisti.kiev.ua
1995-02-17 17:29:50 +00:00
se
237bfd1e2e Improve diagnostics:
Test for correct execution of cache test script by NCR,
and give meaningful error description if it fails.
(A cache problem was reported before.)
Don't wait forever for cache test to complete (to protect
against faulty hardware).

Submitted by:	wolf
1995-02-17 16:45:08 +00:00
ugen
ff25f1ad11 Add manpage to makefile 1995-02-17 16:41:43 +00:00
ugen
0ce66ecd03 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
ache
ac6c80a544 Don't pick _warn module now 1995-02-17 16:36:12 +00:00
ugen
8b940520b7 Finally document "via" feature.. 1995-02-17 15:44:08 +00:00
ugen
489f81b8d4 This is watch - programm to work with /dev/snp,
it still lacks manpage-i will commit it today later.
For now to test try: watch [ttyname] :)
1995-02-17 14:36:03 +00:00
ugen
17d4ad497d Added to makefile watch - snooping programm to work
with /dev/snp
1995-02-17 14:34:21 +00:00
joerg
01772af019 Removed the bogus duplicate pcvt* alias names. Ache renamed them
to shut up cap_mkdb warnings, but they better have to go away.

Reviewed by:	Hellmuth Michaelis
1995-02-17 14:06:51 +00:00
bde
0d6380ec6f Fix some bogus and missing chowns:
444 -> root.wheel
root -> root.wheel
uucp -> uucp.wheel (perhaps this should be .dialer, but .wheel is safer)
missing -> root.wheel

chown to root is usually bogus because mknod had to be run by root to
create the inode.  Setting the group explictly is currently necessary
because MAKEDEV does nothing to ensure that its working directory has
a suitable group.

Driver authors!  Please fix any bogons in MAKEDEV that involve your
drivers.  The sound devices are still world writable...
1995-02-17 12:32:34 +00:00
jkh
fa07684a5c Remove the ISDN dialer from LINT until it's working. 1995-02-17 09:33:29 +00:00
jkh
12c237134d Always go to ${WRKDIR} before extraction. Modify the tar extract command
args to take advantage of this.
Pointed-out-by: asami
1995-02-17 08:52:55 +00:00
bde
d20a779ec7 Restore alphabetical order (except gnu is last). 1995-02-17 08:45:59 +00:00
dima
6427f0c7cd Security fixes.
CERT Advisory CA-95:03.telnet.encryption

Obtained from: CERT
1995-02-17 03:57:00 +00:00
jkh
38ea135171 fstab is in section 5, not section 8.
Obtained from: NetBSD
1995-02-17 03:37:33 +00:00
phk
234876d897 This is the latest version of the APM stuff from HOSOKAWA, I have looked
briefly over it, and see some serious architectural issues in this stuff.

On the other hand, I doubt that we will have any solution to these issues
before 2.1, so we might as well leave this in.

Most of the stuff is bracketed by #ifdef's so it shouldn't matter too much
in the normal case.

Reviewed by:	phk
Submitted by:	HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
1995-02-17 02:22:57 +00:00
ats
cac2c71c94 Correct the parameters for the fchown. The third was erroneously
specified as uid_t but should be gid_t.
1995-02-17 00:41:30 +00:00
wollman
f79928c8dc Include missing <sys/kernel.h> for `hz'.
Submitted by:  David Greenman, Rod Grimes, Christoph Kukulies
1995-02-17 00:29:42 +00:00
ache
fc07d6bd9f Add 8bit collate stuff
Submitted by: alex@elvisti.kiev.ua
1995-02-16 17:01:11 +00:00
bde
6c30d3bff8 Adjust for rearranged slice numbers. Only create partitions on slice 0
for now (there are too many minors to create by default).  The special
sliced disk case ssd*|svn*|swd*) can almost replace the standard disk
case sd*|vn*|wd*) now (it just creates a few more devices), but there
will have to be special cases to allow creating slices 6-31 and partitions
on slices 2-31.

Fix bogus default cases.
1995-02-16 16:03:29 +00:00
bde
52e721b7f3 Add compatibility cruft.
Slice 0 is now for the first BSD slice.  The first BSD slice is
the first DOSpartition with id 0xa5 or the whole disk if their
are no DOSpartitions (except the latter is not yet implemented).
Existing partitions on it work the same as in 2.0 except the
'd' partition is no longer special and partitions are relative
to the skice.

Slice 1 is now for the whole disk and gets a read-only label
describing the disk.  Previously, slice 0 was for the whole disk
and there was no label on it.

Slices 2-31 are for DOSpartitions.  Slice 0 is an alias for one
of these if there is a BSD slice.  Previously, slices 1-31 were
for DOSpartitions.

diskslice_machdep.c:
Expand whole disk slice to include all DOSpartitions.  More work
is required for >1024 cylinders and to rewrite the label iff the
driver is unsure about the geometry.

subr_diskslice.c:
New function dsisopen() to help handle media changes.
1995-02-16 15:19:19 +00:00
bde
cc424ddecc Adjust for rearranged slice numbers. 1995-02-16 15:06:09 +00:00
bde
ea0720047a Adjust slice names in diskerr() for the rearranged slice numbers. The
mapping from numbers to names is messy for backwards compatibility.
E.g., for driver "sd", unit "0":

slice 0: omit the slice number for compatibility; names are sd0[a-h].
slice 1: omit the partition letter 'c' because the whole disk device
         shouldn't have anything to do with partitions; sd0 is the
         only name.
slices 2-31: subtract 1 from slice number to compensate for the
         compatibility slice 0; names are sd0s[1-30][a-h].
1995-02-16 14:47:38 +00:00
bde
1387e85a01 Rearrange slice numbers for compatibility. 1995-02-16 13:35:21 +00:00
bde
f10421b109 Fix syntax errors in #ifdefed out code. 1995-02-16 13:21:47 +00:00