]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agomdoc(7) police: Tidy up.
Ruslan Ermilov [Mon, 24 Feb 2003 23:02:37 +0000 (23:02 +0000)]
mdoc(7) police: Tidy up.

21 years agoFixed a typo in MLINKS.
Ruslan Ermilov [Mon, 24 Feb 2003 22:59:01 +0000 (22:59 +0000)]
Fixed a typo in MLINKS.

21 years agoInstall the gcov(1) manpage; kernbb(8) references it.
Ruslan Ermilov [Mon, 24 Feb 2003 22:58:19 +0000 (22:58 +0000)]
Install the gcov(1) manpage; kernbb(8) references it.

21 years agoSo we don't use this header anymore.
Ruslan Ermilov [Mon, 24 Feb 2003 22:57:06 +0000 (22:57 +0000)]
So we don't use this header anymore.

21 years agoFixed copyright.
Ruslan Ermilov [Mon, 24 Feb 2003 22:55:33 +0000 (22:55 +0000)]
Fixed copyright.
Tidy up the markup.
Only describe the new, post-2.0 behavior.
Added the RETURN VALUES and ERRORS sections.

21 years agoKilled one more instance of pseudo-devices.
Ruslan Ermilov [Mon, 24 Feb 2003 22:54:26 +0000 (22:54 +0000)]
Killed one more instance of pseudo-devices.

21 years agomdoc(7) police: Scheduled sweep.
Ruslan Ermilov [Mon, 24 Feb 2003 22:53:26 +0000 (22:53 +0000)]
mdoc(7) police: Scheduled sweep.

21 years agoNO_GEOM cleanup:
Poul-Henning Kamp [Mon, 24 Feb 2003 21:49:27 +0000 (21:49 +0000)]
NO_GEOM cleanup:

Move to new "struct disk *" centered API".

OK'ed by: emoore

21 years ago- Removed UMAXPTDI and UMAXPTEOFF.
Jake Burkholder [Mon, 24 Feb 2003 20:29:52 +0000 (20:29 +0000)]
- Removed UMAXPTDI and UMAXPTEOFF.
- Changed VM_MAXUSER_ADDRESS to be defined in terms of PTDPTDI.  In order for
  assumptions about the recursive page table map to work it must be the base
  of the recursive map.  Any pte offset that's not NPTEPG will break these
  assumptions.

Sponsored by: DARPA, Network Associates Laboratories

21 years agoEnsure that build-tools end up in the object directory different
Ruslan Ermilov [Mon, 24 Feb 2003 20:09:16 +0000 (20:09 +0000)]
Ensure that build-tools end up in the object directory different
from the source directory.  (This mostly affects the RELENG_4's
``make release'' release.5 target, where "rtermcap" build-tool
for release/sysinstall ends up in the source directory and later
steps of release.5 wipe it out.)

Spotted by: jhay

21 years agoEMACS joke (no, not EMACS itself).
Daniel C. Sobral [Mon, 24 Feb 2003 18:04:20 +0000 (18:04 +0000)]
EMACS joke (no, not EMACS itself).

21 years agoFix a grammar bogon.
Jens Schweikhardt [Mon, 24 Feb 2003 17:52:02 +0000 (17:52 +0000)]
Fix a grammar bogon.

Submitted by: Seth Hieronymus <sethh@principia.edu>
X-MFC after: 4.8 is out the door.

21 years agoNew errata: SA-03:02, SA-03:03.
Bruce A. Mah [Mon, 24 Feb 2003 17:50:27 +0000 (17:50 +0000)]
New errata:  SA-03:02, SA-03:03.

21 years agoIn vm_page_dirty(), assert that the page is not in the free queue(s).
Alan Cox [Mon, 24 Feb 2003 17:30:45 +0000 (17:30 +0000)]
In vm_page_dirty(), assert that the page is not in the free queue(s).

21 years agoFix whitespace bogon introduced in previous commit...no content
Bruce A. Mah [Mon, 24 Feb 2003 17:23:03 +0000 (17:23 +0000)]
Fix whitespace bogon introduced in previous commit...no content
changes.

21 years agoNew release notes: SA-03:02, SA-03:03.
Bruce A. Mah [Mon, 24 Feb 2003 17:21:15 +0000 (17:21 +0000)]
New release notes:  SA-03:02, SA-03:03.

21 years agoFix style bugs in previous commit.
Mike Barcroft [Mon, 24 Feb 2003 17:10:32 +0000 (17:10 +0000)]
Fix style bugs in previous commit.

21 years agoCorrectly map SIGSYS signal to/from Linux.
Alexander Kabaev [Mon, 24 Feb 2003 16:16:45 +0000 (16:16 +0000)]
Correctly map SIGSYS signal to/from Linux.

Submitted by:   "Georg-W. Koltermann" <g.w.k@web.de>

21 years agoThe mpbiosreason variable does not used for pc98.
Yoshihiro Takahashi [Mon, 24 Feb 2003 14:36:03 +0000 (14:36 +0000)]
The mpbiosreason variable does not used for pc98.

21 years agoFix printf format error.
Yoshihiro Takahashi [Mon, 24 Feb 2003 14:32:27 +0000 (14:32 +0000)]
Fix printf format error.

21 years agoHacks to get i386 and pc98 building:
Dag-Erling Smørgrav [Mon, 24 Feb 2003 10:48:01 +0000 (10:48 +0000)]
Hacks to get i386 and pc98 building:
 - TARGET=${TARGET_MACHINE}
 - BOOT2_UFS=UFS1_ONLY

21 years agoClarify about NSWAPDEV, add a DIAGNOSTICS section pointing to
David Schultz [Mon, 24 Feb 2003 08:52:06 +0000 (08:52 +0000)]
Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing to
swapon(2), and correct HISTORY.

Reviewed by: mike (mentor)

21 years ago- Add a clearer error message for the case where swapon hits the
David Schultz [Mon, 24 Feb 2003 08:51:31 +0000 (08:51 +0000)]
- Add a clearer error message for the case where swapon hits the
  NSWAPDEV limit.
- Don't warn about devices that are not in use in 'swapoff -a'.
- Re-add behavior mistakenly removed in revision 1.44:
  If using 'swapon -a', do not warn if the device is already in use.

PR: 46633
Submitted by: Andy Farkas <andyf@speednet.com.au> (in part)
Reviewed by: mike (mentor)

21 years agoExpand the reference count on struct dquot to 32 bits.
David Schultz [Mon, 24 Feb 2003 08:49:59 +0000 (08:49 +0000)]
Expand the reference count on struct dquot to 32 bits.
This fixes a panic on large systems where a single user
may have more than 64K active or inactive vnodes.

PR: 48234
Reviewed by: mike (mentor)

21 years agoThird attempt at removing machdep.h and using ALIGN from <sys/param.h>.
Marcel Moolenaar [Mon, 24 Feb 2003 08:07:05 +0000 (08:07 +0000)]
Third attempt at removing machdep.h and using ALIGN from <sys/param.h>.
The initial stack_block is staticly allocated and will be aligned
according to the alignment requirements of pointers, which does not
necessarily match the alignment enforced by ALIGN. To solve this a
more involved change is required: remove the static initial stack
and deal with an initial condition of not having a stack at all. This
change is therefore more risky than the previous ones, but unavoidable
(other than not using the platform default alignment).

Discussed with: tjr
Approved and reviewed by: tjr
Tested on: alpha, i386, ia64 and sparc64

21 years agoWhen removing the last item from a non-empty worklist, the worklist
Kirk McKusick [Mon, 24 Feb 2003 07:28:41 +0000 (07:28 +0000)]
When removing the last item from a non-empty worklist, the worklist
tail pointer must be updated.

Reported by: Kris Kennaway <kris@obsecurity.org>
Sponsored by:   DARPA & NAI Labs.

21 years ago<machine/vmparam.h> is the right place to get KERNBASE, so don't special
David E. O'Brien [Mon, 24 Feb 2003 06:56:18 +0000 (06:56 +0000)]
<machine/vmparam.h> is the right place to get KERNBASE, so don't special
platform case it (or use alternate spellings).

21 years agoo add -b option to enable batching
Sam Leffler [Mon, 24 Feb 2003 06:10:50 +0000 (06:10 +0000)]
o add -b option to enable batching
o add #ifdef __FreeBSD__'s around the profiling so the code compiles on openbsd
o update a comment about expected performance for Broadcom hardware

21 years agoo instead of applying arbitrary tunables, just honor the COP_F_BATCH
Sam Leffler [Mon, 24 Feb 2003 06:03:13 +0000 (06:03 +0000)]
o instead of applying arbitrary tunables, just honor the COP_F_BATCH
  flag that can be marked on each symmetric op
o eliminate hw.ubsec.maxbatch and hw.ubsec.maxaggr since they are not
  needed anymore
o change ubsec_feed to return void instead of int since zero is always
  returned and noone ever looked at the return value

21 years agoReturn bits which were removed in revision 1.22.
Tom Rhodes [Mon, 24 Feb 2003 05:59:12 +0000 (05:59 +0000)]
Return bits which were removed in revision 1.22.

Requested by: imp

21 years agoCheck whether setmode(3) fails and deallocate its return value after
Mike Heffner [Mon, 24 Feb 2003 05:56:36 +0000 (05:56 +0000)]
Check whether setmode(3) fails and deallocate its return value after
calling getmode(3).

Approved by: wollman
MFC after: 1 week

21 years agoReturn bits which were removed in revision 1.28.
Tom Rhodes [Mon, 24 Feb 2003 05:53:27 +0000 (05:53 +0000)]
Return bits which were removed in revision 1.28.

Requested by: imp

21 years agoDon't NULL out p_fd until after closefd() has been called. This isn't
Scott Long [Mon, 24 Feb 2003 05:46:55 +0000 (05:46 +0000)]
Don't NULL out p_fd until after closefd() has been called.  This isn't
totally correct, but it has caused breakage for too long.  I welcome
someone with more fd fu to fix it correctly.

21 years agopst(4) should be portable across all our platforms.
David E. O'Brien [Mon, 24 Feb 2003 05:12:24 +0000 (05:12 +0000)]
pst(4) should be portable across all our platforms.

21 years agoRevert to old (broken for over 1.5Tb filesystems) version of cgbase
Kirk McKusick [Mon, 24 Feb 2003 04:57:01 +0000 (04:57 +0000)]
Revert to old (broken for over 1.5Tb filesystems) version of cgbase
so that boot loader once again will fit.

Sponsored by:   DARPA & NAI Labs.

21 years agoWrap the static endian functions to shutup GCC.
David E. O'Brien [Mon, 24 Feb 2003 04:44:53 +0000 (04:44 +0000)]
Wrap the static endian functions to shutup GCC.

21 years agoBe more specific about supported cards.
Tom Rhodes [Mon, 24 Feb 2003 04:23:56 +0000 (04:23 +0000)]
Be more specific about supported cards.

Submitted by: imp

21 years agoFix a comment which didn't match the new cookie behavior.
Mike Silbersack [Mon, 24 Feb 2003 03:15:48 +0000 (03:15 +0000)]
Fix a comment which didn't match the new cookie behavior.

Submitted by: Scott Renfro <scott@renfro.org>
MFC after: 1 day

21 years agoCatch up with ATAng changes
Peter Grehan [Mon, 24 Feb 2003 03:12:30 +0000 (03:12 +0000)]
Catch up with ATAng changes

21 years agoI thought groff was wrapped with NO_CXX. Oh well, it is now.
David E. O'Brien [Mon, 24 Feb 2003 02:40:56 +0000 (02:40 +0000)]
I thought groff was wrapped with NO_CXX.  Oh well, it is now.

21 years agoCheck the value given for number-of-logs to keep in config-file entries,
Garance A Drosehn [Mon, 24 Feb 2003 02:28:46 +0000 (02:28 +0000)]
Check the value given for number-of-logs to keep in config-file entries,
and error-out if the value is negative (avoiding an infinite loop).

PR: bin/30654 (part of it)
MFC after: 3 weeks

21 years agoRemove a comment about pccardd(8).
Tom Rhodes [Mon, 24 Feb 2003 02:20:20 +0000 (02:20 +0000)]
Remove a comment about pccardd(8).

Discussed with: imp

21 years ago1) Fix so -a honors the -n ("do nothing") option. Before, if the directory
Garance A Drosehn [Mon, 24 Feb 2003 02:09:02 +0000 (02:09 +0000)]
1) Fix so -a honors the -n ("do nothing") option.  Before, if the directory
   given for -a did not exist, then newsyslog would always try to create
   it, even if -n was specified.
2) When -a processing *does* create the directory, have it check the result
   from mkdir(), and immediately error-out if that failed.

PR: bin/46974
MFC after: 3 weeks

21 years agoFix another case for timewait.
Jonathan Lemon [Mon, 24 Feb 2003 02:06:50 +0000 (02:06 +0000)]
Fix another case for timewait.

21 years agoUpdate to work with the new timewait state.
Jonathan Lemon [Mon, 24 Feb 2003 02:06:02 +0000 (02:06 +0000)]
Update to work with the new timewait state.

Reviewed by: sam

21 years agoAdd device wlan as its now required.
Tom Rhodes [Mon, 24 Feb 2003 01:45:44 +0000 (01:45 +0000)]
Add device wlan as its now required.

Discussed with: imp

21 years agoRemove a XXXKSE. kg_completed now needs proc lock.
David Xu [Mon, 24 Feb 2003 01:28:10 +0000 (01:28 +0000)]
Remove a XXXKSE. kg_completed now needs proc lock.

21 years agoMinor style fix. Add parenthesis around 'return' values.
Garance A Drosehn [Mon, 24 Feb 2003 01:05:05 +0000 (01:05 +0000)]
Minor style fix.  Add parenthesis around 'return' values.

Reviewed by: md5
MFC after: 3 weeks

21 years agotcp_twstart() need to be called with the TCP protocol lock held to avoid
Jeffrey Hsu [Mon, 24 Feb 2003 00:52:03 +0000 (00:52 +0000)]
tcp_twstart() need to be called with the TCP protocol lock held to avoid
a race condition with the TCP timer routines.

21 years agoAdd the idea of a "default rotate action", which will be used if a file is
Garance A Drosehn [Mon, 24 Feb 2003 00:51:41 +0000 (00:51 +0000)]
Add the idea of a "default rotate action", which will be used if a file is
specified at runtime, but that filename is not listed in the newsyslog.conf
file.  This default-action can be changed by having a line in newsyslog.conf
with the filename of "<default>".  Before this change, the program would
quietly ignore the given file.  An update to the man page will be written
after I finish some other updates to newsyslog.c.

Reviewed by: no objections from freebsd-arch
MFC after: 3 weeks

21 years agoBackout last surplus commit. That day just wasn't my day.
David Xu [Mon, 24 Feb 2003 00:49:55 +0000 (00:49 +0000)]
Backout last surplus commit. That day just wasn't my day.

21 years agoPass the right function to callout_reset() for a compressed
Jeffrey Hsu [Mon, 24 Feb 2003 00:48:12 +0000 (00:48 +0000)]
Pass the right function to callout_reset() for a compressed
TIME-WAIT control block.

21 years agoUse the direct mapping of IdlePTD setup in locore for proc0's page directory,
Jake Burkholder [Mon, 24 Feb 2003 00:39:50 +0000 (00:39 +0000)]
Use the direct mapping of IdlePTD setup in locore for proc0's page directory,
instead of allocating another page of kva and mapping it in again.  This was
likely an oversight in revision 1.174 (cut and paste from pmap_pinit).

Discussed with: peter, tegge
Sponsored by: DARPA, Network Associates Laboratories

21 years agoAdd apple partition map GEOM module
Peter Grehan [Mon, 24 Feb 2003 00:16:51 +0000 (00:16 +0000)]
Add apple partition map GEOM module

21 years agoMake the 'a' parameter of bus_space_write_multi_stream_*() a const pointer.
David E. O'Brien [Mon, 24 Feb 2003 00:11:15 +0000 (00:11 +0000)]
Make the 'a' parameter of bus_space_write_multi_stream_*() a const pointer.

21 years agoAllow machines with one CPU and a valid mp table to boot an SMP kernel.
Tor Egge [Sun, 23 Feb 2003 23:49:57 +0000 (23:49 +0000)]
Allow machines with one CPU and a valid mp table to boot an SMP kernel.

21 years agoAdd support for Peppercon ROL-F Card.
Dan Moschuk [Sun, 23 Feb 2003 23:35:35 +0000 (23:35 +0000)]
Add support for Peppercon ROL-F Card.

Submitted by: Sascha Holzeiter <sascha@root-login.org>
PR: 48559

21 years agoUse the correct size for reading and writing the PCI config space.
Marcel Moolenaar [Sun, 23 Feb 2003 23:09:17 +0000 (23:09 +0000)]
Use the correct size for reading and writing the PCI config space.
Reading the PCI config space with the wrong (larger) size is not
a problem in this case, but writing can be as it clobbers unrelated
registers. In this case the clobbering is for reserved fields, which
too is mostly harmless... for now. Hence, this change is mostly
preventive in nature.

21 years agoSync new socket nonblocking/async state with file flags in accept().
Tor Egge [Sun, 23 Feb 2003 23:00:28 +0000 (23:00 +0000)]
Sync new socket nonblocking/async state with file flags in accept().

PR: 1775
Reviewed by: mbr

21 years agoThere is no reason to be cute with ntohl(). Just call it directly rather
David E. O'Brien [Sun, 23 Feb 2003 22:26:39 +0000 (22:26 +0000)]
There is no reason to be cute with ntohl().  Just call it directly rather
than use a macro that tries to do conversions in place.

Compile tested on: sparc64

21 years agoExplain what exca is.
Warner Losh [Sun, 23 Feb 2003 22:22:29 +0000 (22:22 +0000)]
Explain what exca is.

21 years agoPrevious commit missed a 1 that should be NGPTD, and an NPDEPG that should
Jake Burkholder [Sun, 23 Feb 2003 22:12:08 +0000 (22:12 +0000)]
Previous commit missed a 1 that should be NGPTD, and an NPDEPG that should
be NPDEPTD.  Grumble.

Sponsored by: DARPA, Network Associates Laboratories

21 years agoThis commit was generated by cvs2svn to compensate for changes in r111368,
David E. O'Brien [Sun, 23 Feb 2003 21:58:31 +0000 (21:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r111368,
which included commits to RCS files with non-trunk default branches.

21 years agoImport Linux's linux/include/asm-sparc64/bitopts.h.
David E. O'Brien [Sun, 23 Feb 2003 21:58:31 +0000 (21:58 +0000)]
Import Linux's linux/include/asm-sparc64/bitopts.h.
This is taken from the 2.4.3 Linux sources as shipped on Red Hat 7.1 Alpha.

21 years agoImport Linux's linux/include/asm-sparc64/bitopts.h.
David E. O'Brien [Sun, 23 Feb 2003 21:58:31 +0000 (21:58 +0000)]
Import Linux's linux/include/asm-sparc64/bitopts.h.
This is taken from the 2.4.3 Linux sources as shipped on Red Hat 7.1 Alpha.

21 years agoFollow the (good) trend of returning import files to vendor versions
Gregory Neil Shapiro [Sun, 23 Feb 2003 21:58:16 +0000 (21:58 +0000)]
Follow the (good) trend of returning import files to vendor versions
where possible for easier future imports.

21 years agoThis local FreeBSD mod isn't needed now that we have the freebsd* ostype
Gregory Neil Shapiro [Sun, 23 Feb 2003 21:53:16 +0000 (21:53 +0000)]
This local FreeBSD mod isn't needed now that we have the freebsd* ostype
files.

21 years agoo Improve vocabulary/wording
Chris Costello [Sun, 23 Feb 2003 21:47:03 +0000 (21:47 +0000)]
o Improve vocabulary/wording
o Expand on MAC policy enforcement on network interfaces
o Add cross-references to su(1) and setfsmac(8) where appropriate
o Comment out mmap revocation sysctls as they are a bit too experimental
o Add the standard BUGS section

Prompted by: rwatson
Sponsored by: DARPA, Network Associates Laboratories

21 years agoIf more than one argument were given on the command line, interpret the
Dag-Erling Smørgrav [Sun, 23 Feb 2003 21:24:08 +0000 (21:24 +0000)]
If more than one argument were given on the command line, interpret the
additional arguments as a series of architectures to build.  This is
useful for running subsets of a particular configuration.

21 years ago- Added macros NPGPTD, NBPTD, and NPDEPTD, for dealing with the size of the
Jake Burkholder [Sun, 23 Feb 2003 21:20:00 +0000 (21:20 +0000)]
- Added macros NPGPTD, NBPTD, and NPDEPTD, for dealing with the size of the
  page directory.
- Use these instead of the magic constants 1 or PAGE_SIZE where appropriate.
  There are still numerous assumptions that the page directory is exactly
  1 page.

Sponsored by: DARPA, Network Associates Laboratories

21 years agoInsert threads interrupted by a signal while running onto the run queue.
Jonathan Mini [Sun, 23 Feb 2003 21:15:25 +0000 (21:15 +0000)]
Insert threads interrupted by a signal while running onto the run queue.

21 years agoAdd signal logic to the build.
Jonathan Mini [Sun, 23 Feb 2003 21:14:08 +0000 (21:14 +0000)]
Add signal logic to the build.

21 years agoIt seems that sound(4)'s feeder routines don't need to allocate memory
Brian Feldman [Sun, 23 Feb 2003 20:49:45 +0000 (20:49 +0000)]
It seems that sound(4)'s feeder routines don't need to allocate memory
without waiting, since they are called from a system-call context only.
This appears to fix all sorts of problems with open("/dev/dsp", O_WRONLY)
randomly returning ENXIO.

Found by: cognet

21 years agoThe rest of our platforms make bus_space_write_multi_stream_2's 'a' a
David E. O'Brien [Sun, 23 Feb 2003 20:42:32 +0000 (20:42 +0000)]
The rest of our platforms make bus_space_write_multi_stream_2's 'a' a
const pointer.

21 years agoAdd an empty bus_space_unmap() like Alpha has. puc(4) uses it.
David E. O'Brien [Sun, 23 Feb 2003 19:54:16 +0000 (19:54 +0000)]
Add an empty bus_space_unmap() like Alpha has.  puc(4) uses it.

21 years agoPAGE_SIZE is unsigned on all our platforms, and is a long on some.
David E. O'Brien [Sun, 23 Feb 2003 19:49:30 +0000 (19:49 +0000)]
PAGE_SIZE is unsigned on all our platforms, and is a long on some.
So cast to u_long before printing out and use a matching specifier.

Tested on: sparc64

21 years agoPass 'nodevice' onto the final output.
David E. O'Brien [Sun, 23 Feb 2003 19:40:45 +0000 (19:40 +0000)]
Pass 'nodevice' onto the final output.

21 years agoAdd adv_adj_endian_qdone_info() & adv_adj_scsiq_endian()
David E. O'Brien [Sun, 23 Feb 2003 19:16:53 +0000 (19:16 +0000)]
Add adv_adj_endian_qdone_info() & adv_adj_scsiq_endian()
so this at least compiles on big-endian machines.

21 years agoAt least we don't need the whole <bsd.prog.mk> glue.
Ruslan Ermilov [Sun, 23 Feb 2003 19:15:55 +0000 (19:15 +0000)]
At least we don't need the whole <bsd.prog.mk> glue.

(I did test build the original change, but apparently
forgot to include it to LOCAL_PATCHES.  It happens.)

21 years agoNO_GEOM cleanup:
Poul-Henning Kamp [Sun, 23 Feb 2003 19:15:34 +0000 (19:15 +0000)]
NO_GEOM cleanup:

Move to "struct disk *" centered API.

Fix some minor nits.

21 years agoImprove the security and performance of syncookies:
Mike Silbersack [Sun, 23 Feb 2003 19:04:23 +0000 (19:04 +0000)]
Improve the security and performance of syncookies:

Security improvements:
- Increase the size of each syncookie secret from 32 to 128 bits
  in order to make brute force attacks on the secrets much more
  difficult.
- Always return the lowest order dword from the MD5 hash; this
  allows us to expose 2 more bits of the cookie and makes ACK
  floods which seek to guess the cookie value more difficult.

Performance improvements:
- Increase the lifetime of each syncookie from 4 seconds to 16
  seconds.  This increases the usefulness of syncookies during
  an attack.
- From Yahoo!: Reduce the number of calls to MD5Update; this
  results in a ~17% increase in cookie generation time here.

Reviewed by: hsu, jayanth, jlemon, nectar
MFC After: 15 seconds

21 years agoNO_GEOM cleanup:
Poul-Henning Kamp [Sun, 23 Feb 2003 18:45:50 +0000 (18:45 +0000)]
NO_GEOM cleanup:

Move ida driver to "struct disk *" centric api.

Retire major number 109.

21 years agoFix the detach code to actually detach the disk instance created
Poul-Henning Kamp [Sun, 23 Feb 2003 18:31:17 +0000 (18:31 +0000)]
Fix the detach code to actually detach the disk instance created
during attach.

21 years agoRemove a goto the very next statement.
Poul-Henning Kamp [Sun, 23 Feb 2003 18:20:03 +0000 (18:20 +0000)]
Remove a goto the very next statement.

21 years agoMark major 102 unused now that the fla driver no longer needs a major number.
Poul-Henning Kamp [Sun, 23 Feb 2003 18:12:41 +0000 (18:12 +0000)]
Mark major 102 unused now that the fla driver no longer needs a major number.

21 years agoBracket the kern.vnode sysctl in #ifdef notyet because it results
Poul-Henning Kamp [Sun, 23 Feb 2003 18:09:05 +0000 (18:09 +0000)]
Bracket the kern.vnode sysctl in #ifdef notyet because it results
in massive locking issues on diskless systems.

It is also not clear that this sysctl is non-dangerous in its
requirements for locked down memory on large RAM systems.

21 years agoA few improvements suggested by nectar.
David Malone [Sun, 23 Feb 2003 17:22:20 +0000 (17:22 +0000)]
A few improvements suggested by nectar.

21 years agoUnder some unusual conditions, inetd can leak a open file discriptor
David Malone [Sun, 23 Feb 2003 16:54:19 +0000 (16:54 +0000)]
Under some unusual conditions, inetd can leak a open file discriptor
into a child process. Rather than closing the discriptors manually,
mark all discriptors as close-on-exec.

PR: 47694
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Obtained from: NetBSD
MFC after: 2 weeks

21 years agoAfter calling login_getclass, be sure to call login_close so that
David Malone [Sun, 23 Feb 2003 16:49:14 +0000 (16:49 +0000)]
After calling login_getclass, be sure to call login_close so that
we don't leak memory. Only one of these two cases (reconfig) actually
causes a leak because the other is usually followed by an exec.

PR: 46845
Reviewed by: David Wang <dsw@juniper.net>
MFC after: 2 weeks

21 years agoTemporarily disable tagged queueing while I figure out why it broke.
Søren Schmidt [Sun, 23 Feb 2003 16:43:26 +0000 (16:43 +0000)]
Temporarily disable tagged queueing while I figure out why it broke.

21 years agoFix chipset setup problem on older ALI chips.
Søren Schmidt [Sun, 23 Feb 2003 16:36:21 +0000 (16:36 +0000)]
Fix chipset setup problem on older ALI chips.

21 years agoAdd a section on different types of randomness, what the library
David Malone [Sun, 23 Feb 2003 16:28:58 +0000 (16:28 +0000)]
Add a section on different types of randomness, what the library
functions we provide are good for and how /dev/random fits into
this picture.

   Reviewed by:    markm

21 years agoYesterday just wasn't my day. Remove testing delta that crept into the diff.
Jonathan Lemon [Sun, 23 Feb 2003 15:40:36 +0000 (15:40 +0000)]
Yesterday just wasn't my day.  Remove testing delta that crept into the diff.

Pointy hat provided by: sam

21 years agoFix timeout when using UDMA speeds, bad chip setup.
Søren Schmidt [Sun, 23 Feb 2003 15:05:04 +0000 (15:05 +0000)]
Fix timeout when using UDMA speeds, bad chip setup.

21 years agoAdd an implementation of strdup() to libkern. Allocated memory is of
Robert Watson [Sun, 23 Feb 2003 14:30:17 +0000 (14:30 +0000)]
Add an implementation of strdup() to libkern.  Allocated memory is of
type M_STRING, now defined in malloc.h.  Useful when string parsing
must occur using the kernel strsep() and we want to avoid toasting
the source string.

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

21 years agoDoh. Forgot to remove _KERNEL version.
Peter Grehan [Sun, 23 Feb 2003 13:47:44 +0000 (13:47 +0000)]
Doh. Forgot to remove _KERNEL version.

21 years agoOK, I was too sleepy there...
Poul-Henning Kamp [Sun, 23 Feb 2003 13:45:55 +0000 (13:45 +0000)]
OK, I was too sleepy there...

Pointy hat over here!

21 years agoAdd NOTES for pc98.
Yoshihiro Takahashi [Sun, 23 Feb 2003 13:34:21 +0000 (13:34 +0000)]
Add NOTES for pc98.

21 years agoMove MD devices to <machine>/conf/NOTES.
Yoshihiro Takahashi [Sun, 23 Feb 2003 13:32:33 +0000 (13:32 +0000)]
Move MD devices to <machine>/conf/NOTES.

21 years agoMerged from sys/dev/syscons/syscons.c revision 1.393.
Yoshihiro Takahashi [Sun, 23 Feb 2003 13:29:59 +0000 (13:29 +0000)]
Merged from sys/dev/syscons/syscons.c revision 1.393.