]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoHook up the mac_lomac module build.
Robert Watson [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Robert Watson [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 Drehmel [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
Robert Watson [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
John Baldwin [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
Robert Watson [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
Bruce A. Mah [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.
Ruslan Ermilov [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:
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Yaroslav Tykhiy [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.
Ruslan Ermilov [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;
Ruslan Ermilov [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".
Ruslan Ermilov [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,
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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
Udo Erdelhoff [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.
Ruslan Ermilov [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
Ruslan Ermilov [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.
Hajimu UMEMOTO [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:
Udo Erdelhoff [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
Garance A Drosehn [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()
Alan Cox [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.
John Baldwin [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():
John Baldwin [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.
Bruce A. Mah [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
Giorgos Keramidas [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.
Bruce A. Mah [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 Rizzo [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 Rizzo [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'
Nate Lawson [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
Nate Lawson [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 Rizzo [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
Nate Lawson [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
Cameron Grant [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
Cameron Grant [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
Cameron Grant [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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:
Ruslan Ermilov [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
Ruslan Ermilov [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.
Ruslan Ermilov [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 Karlsson [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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.
Ruslan Ermilov [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:
Mike Silbersack [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
Scott Long [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
Scott Long [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().
Alan Cox [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
Alan Cox [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.
Nate Lawson [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 Elischer [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 Elischer [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
Alan Cox [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().
Alan Cox [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.
Jacques Vidrine [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,
Jacques Vidrine [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.
Jacques Vidrine [Sun, 24 Nov 2002 20:59:25 +0000 (20:59 +0000)]
Import of Heimdal 0.5.1.

Approved by: re

21 years agoMFp4:
Marcel Moolenaar [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 Moolenaar [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 Moolenaar [Sun, 24 Nov 2002 19:50:15 +0000 (19:50 +0000)]
Add ITANIUM2 as a global option.

21 years agoMFp4:
Marcel Moolenaar [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
Jonathan 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
Jonathan 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()
Alan Cox [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.
Mitsuru 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
Udo Erdelhoff [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
Nate Lawson [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
Warner Losh [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.
Nate Lawson [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.
Nate Lawson [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.
Ruslan Ermilov [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().
Alan Cox [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 Bulte [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
Alan Cox [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().
Alan Cox [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
David Xu [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().
Alan Cox [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)
Nate Lawson [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
Maxime Henrion [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 Cobbs [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
Nate Lawson [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 Costello [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
Daniel C. Sobral [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

21 years agoCatch the make.conf manual page up with defaults/make.conf
Tom Rhodes [Fri, 22 Nov 2002 18:27:59 +0000 (18:27 +0000)]
Catch the make.conf manual page up with defaults/make.conf

PR: 45470
Approved by: re (bmah)
Submitted by: Carl Schmidt <carl@slackerbsd.org> (original version)

21 years agoAccording to the ACPI spec, the bus number of the child PCI bus of a host
John Baldwin [Fri, 22 Nov 2002 18:11:13 +0000 (18:11 +0000)]
According to the ACPI spec, the bus number of the child PCI bus of a host
to PCI bridge can be read be evaluating the _BBN method of the host to PCI
device.  Unfortunately, there appear to be some lazy/ignorant/moronic/
whatever BIOS writers that return 0 for _BBN for all host to PCI bridges in
the system.  On a system with a single host to PCI bridge this is not a
problem as the child bus of that single bridge will be bus 0 anyway.
However, on systems with multiple host to PCI bridges and l/i/m/w BIOS
writers this is a major problem resulting in all but the first host to
PCI bridge failing to attach.  So, this adds a workaround.

If the _BBN of a host to PCI bridge is zero and pcib0 already exists
and is not us, the we use _ADR to look up our PCI function and slot
(we currently assume we are on bus 0) and use that to call
host_pcib_get_busno() to try and extract our bus number from config
registers on the host to PCI bridge device.  If that fails, then we make
an evil assumption that ACPI's _SB_ namespace lays out the host to PCI
bridges in ascending order and use our pcib unit number as our bus
number.

Approved by: re

21 years agoAdd a function host_pcib_get_bnsno() that attempts to determine the bus
John Baldwin [Fri, 22 Nov 2002 17:50:47 +0000 (17:50 +0000)]
Add a function host_pcib_get_bnsno() that attempts to determine the bus
number of the child bus of a host to PCI bridge by reading from proprietary
configuration registers in the host to PCI bridge devices.

Approved by: re

21 years agoClarify adjkerntz(8) note and use complete sentences in comments.
Tom Hukins [Fri, 22 Nov 2002 16:13:39 +0000 (16:13 +0000)]
Clarify adjkerntz(8) note and use complete sentences in comments.

PR: misc/45493
Approved by: re (rwatson)

21 years agoMove lang/gnat from disc1 to disc3. (Possibly a moot point, since it
Bruce A. Mah [Fri, 22 Nov 2002 15:46:43 +0000 (15:46 +0000)]
Move lang/gnat from disc1 to disc3.  (Possibly a moot point, since it
doesn't build on CURRENT at the moment.)

Approved by: re (murray)

21 years agoIn _thread_enter_uts, fix eflags saving bug.
David Xu [Fri, 22 Nov 2002 11:43:06 +0000 (11:43 +0000)]
In _thread_enter_uts, fix eflags saving bug.
In _thread_switch, set current thread pointer in kse mailbox
only after all registers copied out of thread mailbox, kernel will do
upcall at trap time, if set current thread pointer before loading all
registers from thread mailbox, at trap time, the thread mailbox data
will be overwritten by kernel, result is junk data is loaded into CPU.

21 years agoFix context restore bug.
David Xu [Fri, 22 Nov 2002 03:01:55 +0000 (03:01 +0000)]
Fix context restore bug.

21 years agoDon't flip the "we're it" bit until we are all there..
Julian Elischer [Fri, 22 Nov 2002 00:23:02 +0000 (00:23 +0000)]
Don't flip the "we're it" bit until we are all there..
(don't fill in the mailbox pointer until we have unloaded all the
previous contents of the mailbox context block)

21 years agoRe-enable installing of Bluetooth include files
Julian Elischer [Thu, 21 Nov 2002 23:34:57 +0000 (23:34 +0000)]
Re-enable installing of Bluetooth include files
Hopefully this time it works right.. Who understands this stuff?

21 years agoMerge the changes in the English version.
Jun Kuriyama [Thu, 21 Nov 2002 21:54:38 +0000 (21:54 +0000)]
Merge the changes in the English version.

1.76  -> 1.115 hardware/common/dev.sgml
1.2   -> 1.3 hardware/i386/proc-i386.sgml
1.1   -> 1.2 hardware/ia64/article.sgml
1.433 -> 1.454 relnotes/common/new.sgml
1.4   -> 1.6 share/sgml/release.dsl

Approved by: re (bmah)