This involves moving all networking drivers to floppy 2, all RAID
nfsclient && cd9660 to floppy 3 (and adding ispfw).
COMPAT_FREEBSD4 had to come back, maxusers is down to 2.
AHC is out until somebody can make it a module for alpha.
TurboLaser is out because it rarely has a floppy and probably
no longer works *anyway*.
There's probably some cleanup that can be done because I was told
that things in drivers.conf don't have to be removed via dokern.sh,
but because I formally tested the release build with this version
and don't want to spend another half day on it, it's going in.
I'm sure we'll have to do some further changes prior to release.
NB: Not tested end to end yet because I've been told that sysinstall
doesn't yet work.
o All of the Q&A entries in this section were i386-specific, so make
these conditional on building for that platform. If
non-i386-platforms need similar Q&A lists, they can add their own to
this file.
o Coalesce the two Q&A sections into one.
o Correct some device names (wd(4) devices have not existed for quite
some time).
o Get rid of a number of obsolete entries (suggested by jhb).
sysctls to MI code; this reduces code duplication and makes all of them
available on sparc64, and the latter two on powerpc.
The semantics by the i386 and pc98 hw.availpages is slightly changed:
previously, holes between ranges of available pages would be included,
while they are excluded now. The new behaviour should be more correct
and brings i386 in line with the other architectures.
Move physmem to vm/vm_init.c, where this variable is used in MI code.
- Remove the comments which were justifying this by the fact
that we don't have %q in the kernel, this was probably right
back in time, but we now have %q, and we even have better to
print those types (%j).
is not long long on all archs. (They happen to be long's on 64-bit arch's
and gcc considers that significant enough to warn about it.) These should
probably be uintmax_t but I didn't feel like adding all the extra includes.
these were cosmetic. However, at least two of these changes fix bugs
where a (fake) pointer to a RX descriptor was added to the physical
memory start address with the cast in the wrong place resulting in
rxdesc[pmem_start] instead of (uintptr_t)rxdesc + pmem_start.
of the original AIO request: save and restore the active thread credential
as well as using the file credential, since MAC (and some other bits of
the system) rely on the thread credential instead of/as well as the
file credential. In brief: cache td->td_ucred when the AIO operation
is queued, temporarily set and restore the kernel thread credential,
and release the credential when done. Similar to ktrace credential
management.
Reviewed by: alc
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories