]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoUpdate documentation to match the behaviour of ipfw with respect
luigi [Tue, 26 Nov 2002 19:51:40 +0000 (19:51 +0000)]
Update documentation to match the behaviour of ipfw with respect
to net.inet.ip.fw.one_pass.
Add to notes to explain the exact behaviour of "prob xxx" and "log"
options.

Virtually approved by: re (mentioned in rev.1.19 of ip_fw2.c)

21 years agofixes for this driver:
julian [Tue, 26 Nov 2002 18:30:45 +0000 (18:30 +0000)]
fixes for this driver:
1) "ubt" driver did not work when system is booted with the device attached
2) missing "break;" in ubt_rcvmsg() function;

Submitted by: Maksim Yevmenkin <Maksim.Yevmenkin@cw.com>
Approved by: re (jhb)

21 years agoRemove our custom mixed ELF/a.out support. This means the base compiler
obrien [Tue, 26 Nov 2002 18:25:20 +0000 (18:25 +0000)]
Remove our custom mixed ELF/a.out support.  This means the base compiler
now only produce ELF objects.  It also makes us closer to stock GCC, and
simplifies the set of changes we still need from stock GCC on every import.

Applauded by: peter
Approved by: re

21 years ago(hopefully) fix build breakage some people are seeing
cg [Tue, 26 Nov 2002 18:16:27 +0000 (18:16 +0000)]
(hopefully) fix build breakage some people are seeing

Approved by: re

21 years agoDon't hold acct_mtx over limcopy(), since it's unnecessary and
fenner [Tue, 26 Nov 2002 18:04:12 +0000 (18:04 +0000)]
Don't hold acct_mtx over limcopy(), since it's unnecessary and
 limcopy() can sleep.

Approved by: re

21 years agocorrect function names in KASSERT's for 2 m_tag routines
sam [Tue, 26 Nov 2002 17:59:16 +0000 (17:59 +0000)]
correct function names in KASSERT's for 2 m_tag routines

Submitted by: rwatson
Approved by: re

21 years agomdoc(7) police:
ru [Tue, 26 Nov 2002 17:55:41 +0000 (17:55 +0000)]
mdoc(7) police:

Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai]
strings; using these strings is unsafe in troff mode, as they include a
change in a font size.

Approved by: re

21 years agoUnhook LOMAC kernel module since the functionality is now provided by
rwatson [Tue, 26 Nov 2002 17:53:27 +0000 (17:53 +0000)]
Unhook LOMAC kernel module since the functionality is now provided by
the smaller, cleaner, less bit-rotted mac_lomac module.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoUpdate rc scripts to load mac_lomac instead of lomac.
rwatson [Tue, 26 Nov 2002 17:51:03 +0000 (17:51 +0000)]
Update rc scripts to load mac_lomac instead of lomac.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoCorrect two warnings by staticizing a function and removing an unused
rwatson [Tue, 26 Nov 2002 17:38:25 +0000 (17:38 +0000)]
Correct two warnings by staticizing a function and removing an unused
function.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoHook up the mac_lomac module build.
rwatson [Tue, 26 Nov 2002 17:35:44 +0000 (17:35 +0000)]
Hook up the mac_lomac module build.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agomdoc(7) police: markup and spelling.
ru [Tue, 26 Nov 2002 17:34:25 +0000 (17:34 +0000)]
mdoc(7) police: markup and spelling.

Approved by: re

21 years agomdoc(7) police: markup polishing.
ru [Tue, 26 Nov 2002 17:33:37 +0000 (17:33 +0000)]
mdoc(7) police: markup polishing.

Approved by: re

21 years agoHook up kernel options and build information for mac_lomac.
rwatson [Tue, 26 Nov 2002 17:32:39 +0000 (17:32 +0000)]
Hook up kernel options and build information for mac_lomac.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoTo avoid sleeping with all sorts of resources acquired (the reported
robert [Tue, 26 Nov 2002 17:30:55 +0000 (17:30 +0000)]
To avoid sleeping with all sorts of resources acquired (the reported
problem was a locked directory vnode), do not give the process a chance
to sleep in state "stopevent" (depends on the S_EXEC bit being set in
p_stops) until most resources have been released again.

Approved by: re

21 years agoImport an implementation of LOMAC (Low-Watermark Mandatory Access
rwatson [Tue, 26 Nov 2002 17:26:06 +0000 (17:26 +0000)]
Import an implementation of LOMAC (Low-Watermark Mandatory Access
Control) as a MAC Framework policy module.  Unlike the existing
src/sys/security/lomac implementation, this one has its fingers out
of the kernel lock order and doesn't make use of flags in existing
kernel structures.  This greatly reduces the quantity of replicated
code with src/sys/kern, simplifies the implementation (3000 vs 8500
lines), and correctes a number of known stability problems with
the existing LOMAC implementation, which will be removed.  A bit
more hooking up to do here.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoIf the file descriptors passed into do_dup() are negative, return EBADF
jhb [Tue, 26 Nov 2002 17:22:15 +0000 (17:22 +0000)]
If the file descriptors passed into do_dup() are negative, return EBADF
instead of panicing.  Also, perform some of the simpler sanity checks on
the fds before acquiring the filedesc lock.

Approved by: re
Reported by: Dan Nelson <dan@emsphone.com> and others

21 years agoUn-staticize mac_cred_mmapped_drop_perms() so that it may be used
rwatson [Tue, 26 Nov 2002 17:11:57 +0000 (17:11 +0000)]
Un-staticize mac_cred_mmapped_drop_perms() so that it may be used
by policy modules making use of downgrades in the MAC AST event.  This
is required by the mac_lomac port of LOMAC to the MAC Framework.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoMake GNOME 2 the default version of GNOME that goes on the disc1 package
bmah [Tue, 26 Nov 2002 16:50:52 +0000 (16:50 +0000)]
Make GNOME 2 the default version of GNOME that goes on the disc1 package
set.

Requested by: marcus
Approved by: re (bmah)

21 years agomdoc(7) police: back out unproved changes from previous revision.
ru [Tue, 26 Nov 2002 15:34:18 +0000 (15:34 +0000)]
mdoc(7) police: back out unproved changes from previous revision.

Approved by: re

21 years agomdoc(7) police:
ru [Tue, 26 Nov 2002 15:32:04 +0000 (15:32 +0000)]
mdoc(7) police:

Restore (once again) my fixes from revision 1.20 that got lost in
revision 1.25 merge.

Approved by: re

21 years agomdoc(7) police: laundry.
ru [Tue, 26 Nov 2002 14:00:39 +0000 (14:00 +0000)]
mdoc(7) police: laundry.

Approved by: re

21 years agoEliminate references to defunct kernel tunables.
yar [Tue, 26 Nov 2002 13:55:50 +0000 (13:55 +0000)]
Eliminate references to defunct kernel tunables.

Approved by: re
PR: bin/43343

21 years agomdoc(7) police: nit.
ru [Tue, 26 Nov 2002 11:25:04 +0000 (11:25 +0000)]
mdoc(7) police: nit.

Approved by: re

21 years agomdoc(7) police: back out unproved changes in previous revision;
ru [Tue, 26 Nov 2002 11:22:59 +0000 (11:22 +0000)]
mdoc(7) police: back out unproved changes in previous revision;
descriptions in the FILES section should be full sentences, as
demonstrated in mdoc(7) and /usr/share/examples/mdoc/.

Approved by: re

21 years agomdoc(7) police: markup nits, "The .Nm utility".
ru [Tue, 26 Nov 2002 11:17:22 +0000 (11:17 +0000)]
mdoc(7) police: markup nits, "The .Nm utility".

Approved by: re

21 years agomdoc(7) police: bump document date, use the canonical option list width,
ru [Tue, 26 Nov 2002 11:09:27 +0000 (11:09 +0000)]
mdoc(7) police: bump document date, use the canonical option list width,
removed a bunch of extraneous .Pp and .Dq calls.

Approved by: re

21 years agomdoc(7) police: markup polishing.
ru [Tue, 26 Nov 2002 11:04:37 +0000 (11:04 +0000)]
mdoc(7) police: markup polishing.

Approved by: re

21 years agomdoc(7) police: markup polishing.
ru [Tue, 26 Nov 2002 10:57:57 +0000 (10:57 +0000)]
mdoc(7) police: markup polishing.

Approved by: re

21 years agomdoc(7) police: markup polishing.
ru [Tue, 26 Nov 2002 10:51:47 +0000 (10:51 +0000)]
mdoc(7) police: markup polishing.

Approved by: re

21 years agoUse real filename, not a CVS sub-path. Fix markup
ue [Tue, 26 Nov 2002 09:29:39 +0000 (09:29 +0000)]
Use real filename, not a CVS sub-path.  Fix markup

Approved by: re

21 years agomdoc(7) police: Nits.
ru [Tue, 26 Nov 2002 09:05:06 +0000 (09:05 +0000)]
mdoc(7) police: Nits.

Approved by: re

21 years agoNOSHARED is meaningless in the bsd.lib.mk context, so check LDFLAGS
ru [Tue, 26 Nov 2002 09:00:02 +0000 (09:00 +0000)]
NOSHARED is meaningless in the bsd.lib.mk context, so check LDFLAGS
for the -static flag instead when constructing LIBPAM.

(This fixes false warnings from ``make checkdpadd -DNOSHARED'' in
lib/libpam/modules/.)

Submitted by: bde, ru
Approved by: re

21 years agocompliance with RFC3152.
ume [Tue, 26 Nov 2002 07:55:44 +0000 (07:55 +0000)]
compliance with RFC3152.

PR: standards/45557
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Approved by: re

21 years agoMFbed:
ue [Tue, 26 Nov 2002 07:15:31 +0000 (07:15 +0000)]
MFbed:
hardware/alpha/proc-alpha.sgml 1.45  -> 1.48
relnotes/common/new.sgml 1.454 -> 1.455

21 years agoAdd back the "\ No newline at end of file" marker that is printed when
gad [Mon, 25 Nov 2002 22:59:52 +0000 (22:59 +0000)]
Add back the "\ No newline at end of file" marker that is printed when
comparing two files, where only one file is missing the final newline
character.  This undoes revisions 1.3 and 1.4, returning 'diff' to how
it behaved before July 2000.  We can do this now because our version of
'patch' was modified (just before 4.6-release) to understand what to do
with that line.  This marker is the same one generated by 'diff' under
netbsd, openbsd, darwin, and linux (and any OS with "gnu-diff" installed).

Reviewed by: imp freebsd-standards (back in april)
Approved by: re (bmah)
MFC after: 1 week

21 years agoAcquire and release the page queues lock around calls to pmap_protect()
alc [Mon, 25 Nov 2002 22:00:31 +0000 (22:00 +0000)]
Acquire and release the page queues lock around calls to pmap_protect()
because it updates flags within the vm page.

Approved by: re (blanket)

21 years ago- Assume a bus number of zero if evaluating _BBN fails, not if it succeeds.
jhb [Mon, 25 Nov 2002 21:55:04 +0000 (21:55 +0000)]
- Assume a bus number of zero if evaluating _BBN fails, not if it succeeds.
  This was effectively rendering _BBN useless.
- Cleanup handling of the busok variable a bit.

Submitted by: marcel (1)
Approved by: re (rwatson)

21 years agoFix a couple of bugs in host_pcib_get_busno():
jhb [Mon, 25 Nov 2002 21:53:14 +0000 (21:53 +0000)]
Fix a couple of bugs in host_pcib_get_busno():
- If a PCI device is not present, then a 32-bit read_config() is going to
  return 0xffffffff not 0xffff.
- For the 82454NX chipset, the MIOC that we read the bus numbers of the
  various host-PCI bridges from is at function (slot) 0x10 not 0x0.

Approved by: re (rwatson)

21 years agoNew release note: ICMP source quench behavior change.
bmah [Mon, 25 Nov 2002 21:48:15 +0000 (21:48 +0000)]
New release note:  ICMP source quench behavior change.

Updated release note:  Heimdal 0.5.1.

21 years ago5.0 is a release, the `series of release' is called 5.X
keramida [Mon, 25 Nov 2002 21:14:16 +0000 (21:14 +0000)]
5.0 is a release, the `series of release' is called 5.X

Approved by: re (bmah)

21 years agoIn several instances, adjacent, related release notes were combined.
bmah [Mon, 25 Nov 2002 21:12:52 +0000 (21:12 +0000)]
In several instances, adjacent, related release notes were combined.

A useless entry was removed, as per its comment.

Fixed a number of typos and grammos.

Old (pre-4.6) security advisories were marked as historic.  Hyperlinks
were removed from these release notes to work around a buglet in
footnote numbering for printed output.  These changes eliminated three
pages of only marginally-useful utility.

Clarify a note on procfs(5) mounts.

The games/freebsd-games port now exists, so refer to it when talking
about the removal of the traditional BSD games.

lukemftpd was deactivated, so remove its release note.

Add text on the demise of pkg_version -c.

Approved by: re (implicitly)

21 years agoFix IFF_ALLMULTI handling.
luigi [Mon, 25 Nov 2002 20:00:13 +0000 (20:00 +0000)]
Fix IFF_ALLMULTI handling.

Reviewed by: pdeuskar (maintainer)
Approved by: re

21 years agoAdd polling support to the "em" driver.
luigi [Mon, 25 Nov 2002 19:56:16 +0000 (19:56 +0000)]
Add polling support to the "em" driver.

Reviewed by: pdeuskar (maintainer)
Approved by: re

21 years agoAdd a DPADD section to fix 'make checkdpadd'
njl [Mon, 25 Nov 2002 19:29:05 +0000 (19:29 +0000)]
Add a DPADD section to fix 'make checkdpadd'

Submitted by: ru
Approved by: re (previously)

21 years agoRemove unnecessary includes and add sys/{lock,mutex}.h
njl [Mon, 25 Nov 2002 19:28:05 +0000 (19:28 +0000)]
Remove unnecessary includes and add sys/{lock,mutex}.h

Submitted by: bde
Approved by: re (previously)

21 years agoFix handling of IFF_ALLMULTI. The same bug in various forms affects
luigi [Mon, 25 Nov 2002 19:28:01 +0000 (19:28 +0000)]
Fix handling of IFF_ALLMULTI. The same bug in various forms affects
the following drivers:

    dc mn sf sk ste ti tl xl an bge em gem gx ie lge sr aue cue kue wi xe

Approved by: re

21 years agoHook the targ.4 manpage into the build
njl [Mon, 25 Nov 2002 18:31:07 +0000 (18:31 +0000)]
Hook the targ.4 manpage into the build

Submitted by: Attila Nagy <bra@fsn.hu>
Approved by: re (previously)

21 years agovarious fixes to eliminate locking warnings
cg [Mon, 25 Nov 2002 17:17:43 +0000 (17:17 +0000)]
various fixes to eliminate locking warnings

Approved by: re
Reviewed by: orion

21 years agovarious fixes to eliminate locking warnings
cg [Mon, 25 Nov 2002 17:07:33 +0000 (17:07 +0000)]
various fixes to eliminate locking warnings

Approved by: re
Reviewed by: orion

21 years agoif the list of supported formats is empty, fail the attach instead of
cg [Mon, 25 Nov 2002 17:03:39 +0000 (17:03 +0000)]
if the list of supported formats is empty, fail the attach instead of
panicing later.  this is a band-aid pending further investigation.

MFC After: 7 days
Approved by: re

21 years agomdoc(7) police: Fixed markup now that it was taken out of vendor branch.
ru [Mon, 25 Nov 2002 16:23:03 +0000 (16:23 +0000)]
mdoc(7) police: Fixed markup now that it was taken out of vendor branch.

Approved by: re

21 years agomdoc(7) police: markup, spelling.
ru [Mon, 25 Nov 2002 16:01:28 +0000 (16:01 +0000)]
mdoc(7) police: markup, spelling.

Also fixed a critical bug made in revision 1.62 by phk@.

21 years agomdoc(7) police: Added missing markup bit.
ru [Mon, 25 Nov 2002 15:43:18 +0000 (15:43 +0000)]
mdoc(7) police: Added missing markup bit.

Approved by: re

21 years agomdoc(7) police:
ru [Mon, 25 Nov 2002 15:20:06 +0000 (15:20 +0000)]
mdoc(7) police:

Properly sort options, spell "file system" correctly, expand contraction.

Catch up to the src/etc/syslog.conf,v 1.23 change: ftpd(8) session logs
are now by default get logged to /var/log/xferlog.

Approved by: re

21 years agomdoc(7) police: In DESCRIPTION, list the options in pure alphabetical
ru [Mon, 25 Nov 2002 14:18:42 +0000 (14:18 +0000)]
mdoc(7) police: In DESCRIPTION, list the options in pure alphabetical
order, as required by style(9).  Document the effect of the -f option
on exit status.  Fixed some spacing.

Submitted by: bde
Approved by: re

21 years agomdoc(7) police: markup fixes.
ru [Mon, 25 Nov 2002 13:52:57 +0000 (13:52 +0000)]
mdoc(7) police: markup fixes.

Approved by: re

21 years agoReflect that we now use
johan [Mon, 25 Nov 2002 13:49:31 +0000 (13:49 +0000)]
Reflect that we now use
device ppc
and
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
in /boot/device.hints to configure the ppc device.

Reviewed by: trhodes, ru
Approved by: re@ (rwatson)

21 years agomdoc(7) police: markup fixes.
ru [Mon, 25 Nov 2002 13:20:30 +0000 (13:20 +0000)]
mdoc(7) police: markup fixes.

Approved by: re

21 years agoMake this work under non-C locales.
ru [Mon, 25 Nov 2002 09:00:05 +0000 (09:00 +0000)]
Make this work under non-C locales.

PR: misc/45460
Approved by: re

21 years agoAlign the comment with functionality changes from previous revision.
ru [Mon, 25 Nov 2002 08:55:50 +0000 (08:55 +0000)]
Align the comment with functionality changes from previous revision.

Approved by: re

21 years agoImport some relevant changes from Via's if_fet driver:
silby [Mon, 25 Nov 2002 05:15:27 +0000 (05:15 +0000)]
Import some relevant changes from Via's if_fet driver:

1.  Detect the revision of the Rhine chip we're using.
2.  Use the force reset command on revisions which support
    it whenever the normal reset command fails.

This should solve a wide range of "my vr0 locks up with reset
failed messages" problems.  (Although the root causes should
be eventually tracked down.)

Tested by: grenville armitage <garmitage@swin.edu.au>
Obtained from: Via's if_fet driver
MFC after: 3 days
Approved by: re

21 years agoFix make_dev() to use 0644 instead of 0x644 for default permissions
scottl [Mon, 25 Nov 2002 04:55:09 +0000 (04:55 +0000)]
Fix make_dev() to use 0644 instead of 0x644 for default permissions

Spotted by:  kris
Approved by: re

21 years agoFix printf format problems that were stopping LINT on alpha
scottl [Mon, 25 Nov 2002 04:53:12 +0000 (04:53 +0000)]
Fix printf format problems that were stopping LINT on alpha

Submitted by: jmallett, many others
Approved by: re

21 years agoAssert that the page queues lock is held in pmap_remove_pages().
alc [Mon, 25 Nov 2002 04:45:03 +0000 (04:45 +0000)]
Assert that the page queues lock is held in pmap_remove_pages().

Approved by: re (blanket)

21 years agoAcquire and release the page queues lock around pmap_remove_pages() because
alc [Mon, 25 Nov 2002 04:37:44 +0000 (04:37 +0000)]
Acquire and release the page queues lock around pmap_remove_pages() because
it updates several of vm_page's fields.

21 years agoInstall new files from examples dir.
njl [Sun, 24 Nov 2002 23:57:07 +0000 (23:57 +0000)]
Install new files from examples dir.

Approved by: re (previously)

21 years agoForced commit to note that the last PR mentionned should have been 40697
julian [Sun, 24 Nov 2002 23:54:29 +0000 (23:54 +0000)]
Forced commit to note that the last PR mentionned should have been 40697
and that it was reviewed by mckusick.

21 years agoFsck needs to check each CG's rotor values to ensure thay are not -ve.
julian [Sun, 24 Nov 2002 21:41:42 +0000 (21:41 +0000)]
Fsck needs to check each CG's rotor values to ensure thay are not -ve.
It seems a common corruption to have them -ve (I've seen it several times)
and if fsck doesn't fix it, it leads to a kernel pagefault.

Reviewd by: kirk
Submitted by: Eric Jacobs <eaja@erols.com> and me independently.
MFC in: 2 days
PR: bin/40967
Approved by: re

21 years agoAdd page queues locking to vunmapbuf(); reduce differences with respect
alc [Sun, 24 Nov 2002 21:37:02 +0000 (21:37 +0000)]
Add page queues locking to vunmapbuf(); reduce differences with respect
to the sparc64 implementation.  (Note: With modest effort on the alpha and
ia64 this function could migrate to the MI part of the kernel.)

Approved by: re (blanket)

21 years agoAdd page queues locking to vunmapbuf().
alc [Sun, 24 Nov 2002 21:13:34 +0000 (21:13 +0000)]
Add page queues locking to vunmapbuf().

Approved by: re (blanket)

21 years agoUpdate version numbers after import of Heimdal 0.5.1.
nectar [Sun, 24 Nov 2002 21:00:51 +0000 (21:00 +0000)]
Update version numbers after import of Heimdal 0.5.1.

Approved by: re

21 years agoThis commit was generated by cvs2svn to compensate for changes in r107207,
nectar [Sun, 24 Nov 2002 20:59:25 +0000 (20:59 +0000)]
This commit was generated by cvs2svn to compensate for changes in r107207,
which included commits to RCS files with non-trunk default branches.

21 years agoImport of Heimdal 0.5.1.
nectar [Sun, 24 Nov 2002 20:59:25 +0000 (20:59 +0000)]
Import of Heimdal 0.5.1.

Approved by: re

21 years agoMFp4:
marcel [Sun, 24 Nov 2002 20:15:08 +0000 (20:15 +0000)]
MFp4:
Add function map_port_space() to map the memory mapped I/O port
range as uncacheable virtual memory and call it prior to probing
for a console. This removes the dependency on the loader to have
done this for us. Note that this change does not include doing
the same for APs.

Approved by: re (blanket)

21 years agoFix comparison that caused a 1-off bug. This appeared harmless for
marcel [Sun, 24 Nov 2002 20:07:23 +0000 (20:07 +0000)]
Fix comparison that caused a 1-off bug. This appeared harmless for
the kernel itself, but SAL on Itanium2 machines spontaneously
rebooted the machine.

Approved by: re (blanket)
Submitted by: Arun Sharma <adsharma@unix-os.sc.intel.com>

21 years agoAdd ITANIUM2 as a global option.
marcel [Sun, 24 Nov 2002 19:50:15 +0000 (19:50 +0000)]
Add ITANIUM2 as a global option.

21 years agoMFp4:
marcel [Sun, 24 Nov 2002 19:45:05 +0000 (19:45 +0000)]
MFp4:
o  Show the contents of the AP wakeup descriptor when dumping SAL
   information.
o  Increase S/N ratio when listing the itr and dtr. Only show valid
   mappings and give the total number of TRs.

Approved by: re (blanket)

21 years agoSchedule spinlocked threads by moving them through the work queue, instead
mini [Sun, 24 Nov 2002 06:45:45 +0000 (06:45 +0000)]
Schedule spinlocked threads by moving them through the work queue, instead
of the wait queue.

Approved by: re (blanket)
Stolen from: davidxu

21 years agoGet the wall clock time from the KSE mailbox, rather than doing another
mini [Sun, 24 Nov 2002 06:43:21 +0000 (06:43 +0000)]
Get the wall clock time from the KSE mailbox, rather than doing another
syscall.

21 years agoExtend the scope of the page queues/fields locking in vm_freeze_copyopts()
alc [Sun, 24 Nov 2002 06:13:38 +0000 (06:13 +0000)]
Extend the scope of the page queues/fields locking in vm_freeze_copyopts()
to cover pmap_remove_all().

Approved by: re

21 years agoAdd `if (!cold)' checkings for functions which is called via SYSINIT.
iwasaki [Sun, 24 Nov 2002 02:27:07 +0000 (02:27 +0000)]
Add `if (!cold)' checkings for functions which is called via SYSINIT.
Loading acpi.ko with kldload is disallowed, however some
functions were executed unexpectedly.

Approved by: re

21 years agoMFS: Fix a typo
ue [Sun, 24 Nov 2002 01:30:00 +0000 (01:30 +0000)]
MFS: Fix a typo

Approved by: re

21 years agoWhitespace cleanup that was missed by quirks commit 1.114
njl [Sat, 23 Nov 2002 23:25:56 +0000 (23:25 +0000)]
Whitespace cleanup that was missed by quirks commit 1.114

21 years agoRemove a comple of bogus debug printfs that snuck in during some
imp [Sat, 23 Nov 2002 23:09:45 +0000 (23:09 +0000)]
Remove a comple of bogus debug printfs that snuck in during some
debugging I was doing 3 months ago :-(.

Noticed by: scottl
Aproved by: the re blanket (different than the security blanket).

21 years agoAllow acd(4) and cd(4) to support old behavior for CDRIOC*SPEED ioctls.
njl [Sat, 23 Nov 2002 22:51:50 +0000 (22:51 +0000)]
Allow acd(4) and cd(4) to support old behavior for CDRIOC*SPEED ioctls.
If the value from the user is less than 177, assume it is a multiple of
a single speed CDROM and convert to KB/sec.

No complaints from: sos
Reviewed by: ken
Approved by: re
MFC after: 1 day

21 years agoUpdate quirks, adding PR references and fixing a capitalization mismatch.
njl [Sat, 23 Nov 2002 22:39:42 +0000 (22:39 +0000)]
Update quirks, adding PR references and fixing a capitalization mismatch.

PR: kern/45494
Approved by: re

21 years agoAdded the syncache(4) manpage.
ru [Sat, 23 Nov 2002 19:43:44 +0000 (19:43 +0000)]
Added the syncache(4) manpage.

Submitted by: jlemon

21 years agoHold the page queues/flags lock when calling vm_page_set_validclean().
alc [Sat, 23 Nov 2002 19:10:31 +0000 (19:10 +0000)]
Hold the page queues/flags lock when calling vm_page_set_validclean().

Approved by: re

21 years agoNote how to enable the ATA interface on PC64
wilko [Sat, 23 Nov 2002 09:35:11 +0000 (09:35 +0000)]
Note how to enable the ATA interface on PC64

Tested by: Kirk Strauser <kirk@strauser.com>

21 years agoAssert that the page queues lock rather than Giant is held in
alc [Sat, 23 Nov 2002 08:08:54 +0000 (08:08 +0000)]
Assert that the page queues lock rather than Giant is held in
vm_pageout_page_free().

Approved by: re

21 years ago - Assert that the page queues lock is held in pmap_remove_all().
alc [Sat, 23 Nov 2002 04:48:13 +0000 (04:48 +0000)]
 - Assert that the page queues lock is held in pmap_remove_all().
 - Fix a diagnostic message and comment in pmap_remove_all().
 - Eliminate excessive white space from pmap_remove_all().

Approved by: re

21 years agoDirectly load %edx from mailbox
davidxu [Sat, 23 Nov 2002 04:39:52 +0000 (04:39 +0000)]
Directly load %edx from mailbox

21 years agoAdd page queue and flag locking in vnode_pager_setsize().
alc [Sat, 23 Nov 2002 03:58:35 +0000 (03:58 +0000)]
Add page queue and flag locking in vnode_pager_setsize().

Approved by: re

21 years agoRelease notes for new targ(4)
njl [Sat, 23 Nov 2002 00:31:58 +0000 (00:31 +0000)]
Release notes for new targ(4)

21 years agoUnder certain circumstances, we were calling kmem_free() from
mux [Fri, 22 Nov 2002 23:57:02 +0000 (23:57 +0000)]
Under certain circumstances, we were calling kmem_free() from
i386 cpu_thread_exit().  This resulted in a panic with WITNESS
since we need to hold Giant to call kmem_free(), and we weren't
helding it anymore in cpu_thread_exit().  We now do this from a
new MD function, cpu_thread_dtor(), called by thread_dtor().

Approved by: re@
Suggested by: jhb

21 years agoDescribe newly added fields in the KSE and thread mailboxes.
archie [Fri, 22 Nov 2002 23:48:38 +0000 (23:48 +0000)]
Describe newly added fields in the KSE and thread mailboxes.

Approved by: re

21 years agoNew SCSI target emulator code
njl [Fri, 22 Nov 2002 22:55:51 +0000 (22:55 +0000)]
New SCSI target emulator code

This code allows a user program to enable target mode on a SIM and
then emulate any number of devices (disks, tape drives, etc.)  All
decisions about device behavior (UA, CA, inquiry response) are left
to the usermode program and the kernel driver is merely a conduit
for CCBs.  This enables multiple concurrent target emulators, each
using its own backing store and IO model.

Also included is a user program that emulates a disk (RBC) using a
file as a backing store.  This provides functionality similar to
md(4) at the CAM layer.

Code has been tested on ahc(4) and should also work on isp(4) (and
other SIMs that gain target mode support).  It is a complete rewrite
of /sys/cam/scsi_target* and /usr/share/examples/scsi_target.

Design, comments from: gibbs
Supported by: Cryptography Research
Approved by: re

21 years agoDocument the `label' capability.
chris [Fri, 22 Nov 2002 22:22:10 +0000 (22:22 +0000)]
Document the `label' capability.

Approved by: re
Sponsored by: DARPA, Network Associates Labs
Obtained from: TrustedBSD Project

21 years agoThe new "all sound drivers" driver name is snd_driver. Loader.conf didn't
dcs [Fri, 22 Nov 2002 18:39:30 +0000 (18:39 +0000)]
The new "all sound drivers" driver name is snd_driver. Loader.conf didn't
knew about it, though. Now it does.

MFC after: 2 weeks