Commit Graph

83157 Commits

Author SHA1 Message Date
jhb
b8daeabf59 Print daddr_t's with %j and intmax_t. 2002-11-08 22:28:35 +00:00
fanf
739da07270 Clarify the unique groups scheme by mentioning that the 002 umask
is instead of the usual 022 umask, and explain that what the scheme
still prevents is unwanted changes, not prying eyes.

While I'm here, mess with the phrasing and line-breaks a bit.
2002-11-08 22:04:31 +00:00
jhb
686416bfa5 Fix some sizeof(int) != sizeof(void *) warnings. 2002-11-08 21:30:26 +00:00
jhb
6c4366c376 - Change mb_copy_t to take a size_t as the length argument instead of an
int.
- Change the local variable in smb_copy_iconv() from an int to a size_t.

These make smb_copy_iconv() happy in a 64-bit world.
2002-11-08 21:26:32 +00:00
jhb
4481b3e997 Fix a sizeof(int) != sizeof(void *) warning. 2002-11-08 21:16:27 +00:00
jhb
5c9fa9d32a Use intptr_t to fix various sizeof(int) != sizeof(void *) warnings. 2002-11-08 21:13:18 +00:00
jhb
eb9c5b7d92 - Move opt_fb.h earlier so it covers included headers.
- Update cdevsw.  Block majors are out, kqfilters are in.
- No need to bzero softc's that we get from new-bus.  They come that way to
  begin with.
2002-11-08 21:10:53 +00:00
jhb
f47ce099d4 Move include of opt_fb.h earlier so that FB_INSTALL_CDEV is defined in
included headers.
2002-11-08 21:04:44 +00:00
jhb
7dbfeb6da1 Fix printf warnings with %j and uintmax_t. 2002-11-08 20:59:23 +00:00
jhb
40fae53b3b Fix warnings when compiled with SIMOS defined. 2002-11-08 20:52:21 +00:00
rwatson
a563c04c4a Assign value of NULL to imgp->execlabel when imgp is initialized
in the ELF code.  Missed in earlier merge from the MAC tree.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-08 20:49:50 +00:00
jhb
ba93b1c02a Cast pointers in mem*_io() compat macros to uintptr_t so that they can be
used as bus handles by the bus_space functions implementing these macros.
2002-11-08 20:49:43 +00:00
jhb
ad9e680296 Make 3dfx i386-only. The memrange API it uses may be defined in an MI
header, but it is only implemented on i386.
2002-11-08 20:04:38 +00:00
jhb
257ad7107b Move rc(4) over to MI notes and enable it as a MI module. 2002-11-08 19:34:26 +00:00
fenner
1a1a58e225 Fix two typos. 2002-11-08 19:10:05 +00:00
rwatson
551263d9d4 To reduce per-return overhead of userret(), call into
mac_thread_userret() only if PS_MACPEND is set in the process AST mask.
This avoids the cost of the entry point in the common case, but
requires policies interested in the userret event to set the flag
(protected by the scheduler lock) if they do want the event.  Since
all the policies that we're working with which use mac_thread_userret()
use the entry point only selectively to perform operations deferred
for locking reasons, this maintains the desired semantics.

Approved by:	re
Requested by:	bde
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-08 19:00:17 +00:00
bmah
9f2614d473 Connect the ia64 versions of the release documentation to the RELNOTESng
build.

This will give ia64 folks the chance to help flesh these out, and
also ensure that (when the time comes) ia64 releases with documentation
won't fall over due to missing RELNOTESng files.
2002-11-08 18:36:04 +00:00
jhb
32c37d4a13 Use critical_enter/exit instead of disable/enable_intr to make this
driver more portable.
2002-11-08 18:32:57 +00:00
bmah
9f90938691 Add some text warning about the state (incomplete) of this document. 2002-11-08 18:28:00 +00:00
jhb
b72917b520 - Change the ATM stack functions to use intptr_t instead of int for opaque
arguments.
- Fix a few other places that assumed that sizeof(int) == sizeof(void *).

Reviewed by:	mdodd
2002-11-08 18:27:30 +00:00
bmah
451dec5f86 Include the pc98 installation document in the RELNOTESng snapshot
page.
2002-11-08 18:15:02 +00:00
pdeuskar
9918575c8a - Set RS (Report Status) bit on all descriptors of a packet instead of just the last one.
- Set RDTR to zero by default instead of 28.
- Fixed a problem with TX hangs with jumbo frames when number of fragments in the mbuf chain
is large.
- Added support for 82540EP based cards.

MFC after:	3 days
2002-11-08 18:14:17 +00:00
rwatson
f3748b0c0b Update MAC modules for changes in arguments for exec MAC policy
entry points to include an explicit execlabel.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-08 18:04:36 +00:00
rwatson
95c4afbed0 Add an explicit execlabel argument to exec-related MAC policy entry
points, rather than relying on policies to grub around in the
image activator instance structure.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-08 18:04:00 +00:00
bmah
b6d1dfe966 Infrastructure for ia64 release notes and installation guide. 2002-11-08 18:01:31 +00:00
gordon
67cb5b60d2 Diff reduction to NetBSD:
Fix a minor grammer nit.
Get rid of _echo that uses logger and just call logger in the 3 routines
that need it.
Add a comment referencing rc.conf(5) in the case of an incorrectly set
variable.

This pulls rc.subr up to 1.51 of rc.subr. I skipped 1.49 (systrace support)
since I don't have systrace.

Obtained from:	NetBSD
2002-11-08 17:06:15 +00:00
jmallett
5c2d1427fb Convert some broken cases where Error is called, but we try to continue,
to Fatal errors, because the logic that we use to try to continue is far
too broken, and makes things look and act weird, because we end up pointing
past the end of a buffer boundry into freed memory in the caller, as we
don't come close to setting the lengthPtr to a sane value.

Reviewed by:	make@

(This only changes failure cases which would have died horrid deaths to
 explicit clean death failure cases.)
2002-11-08 16:59:11 +00:00
phk
38900b3ee3 Remove harmless but irritating printf. 2002-11-08 15:35:16 +00:00
phk
875ed4eea7 Always recalculate the SRM checksum if the label is at 64 bytes offset.
Tested by:	jhb
2002-11-08 15:31:34 +00:00
nyan
fd118b4af5 - Recognize FAT partition on MBR and PC98 disks.
- Fix to convert to the name of partition.
2002-11-08 15:25:15 +00:00
jhb
1027780c50 - Update the SIMOS fp-stealing code to KSE-II and beyond.
- Wrap a variable only used in !SIMOS case in #ifndef SIMOS.
2002-11-08 15:24:32 +00:00
jhb
8ff6cd442c Remove #ifdef DEBUG signal debugging code brought over from NetBSD with the
original signal handling code.  It doesn't compile and it seems the rest of
the infrastructure was never brought over from NetBSD.
2002-11-08 15:16:38 +00:00
jhb
2c9bc07b31 Make xrpu(4) i386-only. Consumers of i386_btop() are not MI. 2002-11-08 15:05:16 +00:00
rwatson
deb24d70c0 Update acl.3 to xref getfacl(1) and setfacl(1), the recommended tools for
manipulating file ACLs.  Update the status of the implementation a bit,
update the copyright, etc.

Obtained from:	TrustedBSD Project
2002-11-08 15:01:28 +00:00
jhb
bf90740990 Wrap a device_printf() that violates bus space abstractions to figure out
if it's IO port resource is IO or memory mapped for the sake of a printf
using i386-specific values in #ifdef __i386__.
2002-11-08 15:01:02 +00:00
jhb
d102d4721a Use %z to print a size_t value. 2002-11-08 14:58:35 +00:00
jhb
d39f72b79f Use %z to print size_t values. 2002-11-08 14:57:18 +00:00
jhb
980dea1922 Cast a ptrdiff_t to an int to printf. 2002-11-08 14:52:26 +00:00
jhb
4d0d9edb13 Use %z to print a size_t value. 2002-11-08 14:50:44 +00:00
nyan
aecfe31a1d MFi386: revision 1.4. 2002-11-08 14:49:14 +00:00
jhb
fa9c6cb843 Don't set a variable to a bogus value right before setting it to the
correct value in the next statement.
2002-11-08 14:00:44 +00:00
jhb
c849fe6dd8 Don't set a value to a variable that we don't use. 2002-11-08 14:00:09 +00:00
mjacob
1ea8546ca7 Make changes such that the kernel will now fit on floppy #1.
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.
2002-11-08 13:58:48 +00:00
jhb
481edf29a7 - Merge Write_FreeBSD() into Write_Disk().
- Miscellaneous cleanups.
2002-11-08 13:58:00 +00:00
ru
d07178d31f DON'T EVER PUT THIS BACK!
Pointy hat to:	obrien
2002-11-08 12:47:51 +00:00
tmm
6b29f7e140 Remove physmem from here, too, as it is defined in vm_init.c since
r1.35 (forgotten in my last commit due to a botched patch).

Pointy hat to:	tmm
2002-11-08 11:10:50 +00:00
mr
10ff71fdf9 Reviewed by: n_hibma
MFC after:	2 weeks
fix XPT_CALC_GEOMETRY to fill in some reasonable values.
Inspired by aic/sbp.
2002-11-08 07:57:42 +00:00
bmah
1f976473de Try to make this document reflect reality better:
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).
2002-11-08 04:52:04 +00:00
simokawa
37022b111b Add fwe.4. 2002-11-08 03:24:32 +00:00
davidxu
8274c76b58 adjust critical section to only wrap around vm86_bioscall(). 2002-11-08 03:07:52 +00:00