]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoAdd the missing Giant when doing anything with VFS -- in this case,
green [Thu, 18 Mar 2004 18:15:58 +0000 (18:15 +0000)]
Add the missing Giant when doing anything with VFS -- in this case,
releasing the ktrace vnode.

20 years agoFor AMD64, lets officially support a -O2 kernel build!
obrien [Thu, 18 Mar 2004 18:05:08 +0000 (18:05 +0000)]
For AMD64, lets officially support a -O2 kernel build!
I've added -fno-strict-aliasing for now so we can ease into this.
I wanted to shoot for -O3, but the inlining caused problems due to GCC's
size heuristics; so also add -frename-registers, which is one of the things
-O3 would have given us.

20 years agoNew release note:
hrs [Thu, 18 Mar 2004 17:51:55 +0000 (17:51 +0000)]
New release note:
Intel ACPI-CA 20040311 import.

20 years agoCheck in files off the vendor branch as well as files with local patches.
njl [Thu, 18 Mar 2004 17:46:27 +0000 (17:46 +0000)]
Check in files off the vendor branch as well as files with local patches.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r127175,
njl [Thu, 18 Mar 2004 17:42:14 +0000 (17:42 +0000)]
This commit was generated by cvs2svn to compensate for changes in r127175,
which included commits to RCS files with non-trunk default branches.

20 years agoImport of Intel ACPI-CA 20040311.
njl [Thu, 18 Mar 2004 17:42:14 +0000 (17:42 +0000)]
Import of Intel ACPI-CA 20040311.

20 years agoNew release note:
hrs [Thu, 18 Mar 2004 16:39:19 +0000 (16:39 +0000)]
New release note:
SA-04:05.openssl
/etc/rc.d/mixer
/etc/rc.d/gbde_swap (wording fix)

20 years agoVerify more bits of the ELF header: the program header table
nectar [Thu, 18 Mar 2004 16:33:05 +0000 (16:33 +0000)]
Verify more bits of the ELF header: the program header table
entry size and the ELF version.  Also, avoid a potential integer
overflow when determining whether the ELF header fits entirely
within the first page.

Reviewed by: jdp

A panic when attempting to execute an ELF binary with a bogus program
header table entry size was

Reported by: Christer Öberg <christer.oberg@texonet.com>

20 years agoEcho and pass dumpdev as the device argument to savecore.
davidc [Thu, 18 Mar 2004 15:18:20 +0000 (15:18 +0000)]
Echo and pass dumpdev as the device argument to savecore.

PR: bin/51655

20 years agoCorrect a bug introduced with the recent clone API chang: when the clone
rwatson [Thu, 18 Mar 2004 14:18:51 +0000 (14:18 +0000)]
Correct a bug introduced with the recent clone API chang: when the clone
event handler for if_tap fails, make sure to clean up clone state to
prevent a clone memory leak.

20 years agoMake the vaule of PTT_RELAY_SID match the RFC. This should help PPPoE
dwmalone [Thu, 18 Mar 2004 12:34:14 +0000 (12:34 +0000)]
Make the vaule of PTT_RELAY_SID match the RFC. This should help PPPoE
users that are working with relayed PPPoE.

Submitted by: Bodo Rüskamp <jordbaer@mac.com>
PR: 44936
Approved by: julian
MFC after: 1 week

20 years agos/enable/enables/ in a comment
brueffer [Thu, 18 Mar 2004 12:22:31 +0000 (12:22 +0000)]
s/enable/enables/ in a comment

20 years agoInstall /bin/sh safely. This allows a shell script to be used
ru [Thu, 18 Mar 2004 10:55:47 +0000 (10:55 +0000)]
Install /bin/sh safely.  This allows a shell script to be used
to strip binaries by specifying it in the STRIPBIN environment
variable honoured by install(1).

MFC after: 3 days

20 years agoComment various stages of buildkernel, symmetrical to buildworld.
ru [Thu, 18 Mar 2004 10:17:03 +0000 (10:17 +0000)]
Comment various stages of buildkernel, symmetrical to buildworld.

20 years agosAdd a comment indicating why there continues to be a race condition in
rwatson [Thu, 18 Mar 2004 09:55:11 +0000 (09:55 +0000)]
sAdd a comment indicating why there continues to be a race condition in
the tap driver, even with Giant over the cdev operation vector, due to
a non-atomic test-and-set of the si_drv1 field in the dev_t.  This bug
exists with Giant under high memory pressure, as malloc() may sleep
in tapcreate(), but is less likely to occur.  The resolution will
probably be to cover si_drv1 using the global tapmtx since no softc is
available, but I need to think about this problem more generally
across a range of drivers using si_drv1 in combination with SI_CHEAPCLONE
to defer expensive allocation to open().

Correct what appears to be a bug in the original if_tap implementation,
in which tapopen() will panic if a tap device instance is opened more
than once due to an incorrect assertion -- only triggered if INVARIANTS
is compiled in (i.e., when built into a kernel).  Return EBUSY instead.

Expand mtx_lock() coverage using tp->tap_mtx to include tp->ether_addr.

20 years agoGenerate opt_inet.h.
fjoe [Thu, 18 Mar 2004 09:45:17 +0000 (09:45 +0000)]
Generate opt_inet.h.
Add opt_inet.h to SRCS.

20 years agoMore cleanups:
ru [Thu, 18 Mar 2004 07:21:31 +0000 (07:21 +0000)]
More cleanups:

- 0 should have been -1 in previous commit (just to stay consistent),
- Spell null pointers as NULL, not 0,
- Fixed the comment about pr_usesysctl to not confuse it with boolean.

Pointed by: bde

20 years agoMove "is consumer attached?" check before G_VALID_PROVIDER() check,
pjd [Thu, 18 Mar 2004 07:17:10 +0000 (07:17 +0000)]
Move "is consumer attached?" check before G_VALID_PROVIDER() check,
because if consumer is not attached, its provider never will be valid,
so we never reach this check.

Approved by: phk

20 years agoConfigure as --enable-64-bit-bfd.
obrien [Thu, 18 Mar 2004 04:45:29 +0000 (04:45 +0000)]
Configure as --enable-64-bit-bfd.

20 years agoBraino in previous commit.
des [Thu, 18 Mar 2004 03:01:28 +0000 (03:01 +0000)]
Braino in previous commit.

20 years agoRemoved a vestige of the stl driver.
bde [Thu, 18 Mar 2004 02:54:42 +0000 (02:54 +0000)]
Removed a vestige of the stl driver.

20 years agoDocument machdep.hlt_cpus.
obrien [Thu, 18 Mar 2004 02:53:38 +0000 (02:53 +0000)]
Document machdep.hlt_cpus.

Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>

20 years agoBack out code for auto-gdb detection that accidentally leaked into the
njl [Thu, 18 Mar 2004 02:36:41 +0000 (02:36 +0000)]
Back out code for auto-gdb detection that accidentally leaked into the
bus_alloc_resource_any commit.

Submitted by: bde
Pointy-hat: njl

20 years agoSupport the DPF (start dependent function) resource type in parsing _PRS.
njl [Thu, 18 Mar 2004 02:33:58 +0000 (02:33 +0000)]
Support the DPF (start dependent function) resource type in parsing _PRS.
This should fix this error people get attaching cardbus controllers:

    pcib0: _PRS resource entry has unsupported type 2

20 years agoFix 'ps -p proclist' and 'ps -u userlist' so the command returns non-zero
gad [Thu, 18 Mar 2004 01:28:23 +0000 (01:28 +0000)]
Fix 'ps -p proclist' and 'ps -u userlist' so the command returns non-zero
if no processes were matched.  Also sorts the list of 'int's in main, as
long as I had to add another one...

Noticed by: Nate Lawson
MFC after: 10 days

20 years agoRegen after 1.169 of usbdevs.
sobomax [Thu, 18 Mar 2004 01:06:28 +0000 (01:06 +0000)]
Regen after 1.169 of usbdevs.

20 years agoAdd support for Crystalfontz CFA-632, CFA-633 and CFA-634, all of them
sobomax [Thu, 18 Mar 2004 01:02:46 +0000 (01:02 +0000)]
Add support for Crystalfontz CFA-632, CFA-633 and CFA-634, all of them
are based on the same USB->COM bridge, but have different product IDs.

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:  http://www.tnpi.biz/computing/freebsd/crystalfontz.shtml
MFC after:      3 days

20 years agoMention the user account for 'pf' is "proxy".
obrien [Thu, 18 Mar 2004 00:50:40 +0000 (00:50 +0000)]
Mention the user account for 'pf' is "proxy".

20 years agoCleanup hints, given that no hammer machine have (nor ever will have)
obrien [Thu, 18 Mar 2004 00:18:45 +0000 (00:18 +0000)]
Cleanup hints, given that no hammer machine have (nor ever will have)
ISA slots.

Submitted by: Peter

20 years agoRevise socow_iodone() in light of recent sf_buf changes. Specifically,
alc [Wed, 17 Mar 2004 23:25:04 +0000 (23:25 +0000)]
Revise socow_iodone() in light of recent sf_buf changes.  Specifically,
use sf_buf_free() instead of sf_buf_mext() to consolidate all actions
that require the page queues lock in one critical section.  While I'm
here remove unnecessary splvm() and splx() calls.

20 years agoImprovements to 'ps -p <x>'. If <x> is a process id that does not exist, then
gad [Wed, 17 Mar 2004 22:46:58 +0000 (22:46 +0000)]
Improvements to 'ps -p <x>'.  If <x> is a process id that does not exist, then
just print the header (if any) and exit, thus matching the behavior on -stable
and other OS's.

Also adds support for <x> being a comma-separated list of processes, and does
a much better checking for invalid-values of <x>, such as 'ps -p someword'.

Reviewed by: mentioned on freebsd-current
MFC after: 10 days

20 years agoEliminate bogus usage of WI_RSSI_TO_DBM(). Not only does it bogusly
green [Wed, 17 Mar 2004 21:54:52 +0000 (21:54 +0000)]
Eliminate bogus usage of WI_RSSI_TO_DBM().  Not only does it bogusly
clip/destroy the dB value contained in the wi(4)'s receive frames,
it doesn't match with the flag set in the radiotap header
(unperturbed dB versus dBm).

20 years agoFix border error to allow systems that specify 100 for latency also use
njl [Wed, 17 Mar 2004 21:49:47 +0000 (21:49 +0000)]
Fix border error to allow systems that specify 100 for latency also use
C2 and 1000 to use C3.

Submitted by: Bruno Ducrot <ducrot@poupinou.org>
Tested by: Scott Lambert <lambert@lambertfam.org>

20 years agosync comment with i386's isa.c.. This removes a comment that is YEARS
jmg [Wed, 17 Mar 2004 21:45:55 +0000 (21:45 +0000)]
sync comment with i386's isa.c..  This removes a comment that is YEARS
old...

20 years agoStyle(9) round for the pf kernel parts. Mostly #if defined() -> #ifdef
mlaier [Wed, 17 Mar 2004 21:11:02 +0000 (21:11 +0000)]
Style(9) round for the pf kernel parts. Mostly #if defined() -> #ifdef

Also set HOOK_HACK to true (remove the related #ifdef's) as we have the
hooks in the kernel this was missed during the merge from the port.

Noticed by: Amir S. (for the HOOK_HACK part)
Approved by: bms(mentor)

20 years agoAdd a comment with an explanation why we don't report EPIPE errors on
pjd [Wed, 17 Mar 2004 21:10:20 +0000 (21:10 +0000)]
Add a comment with an explanation why we don't report EPIPE errors on
nfs sockets.

Requested by: ru

20 years agoNULL -> 0.
ru [Wed, 17 Mar 2004 20:50:25 +0000 (20:50 +0000)]
NULL -> 0.

20 years agoNULL -> 0.
ru [Wed, 17 Mar 2004 20:19:45 +0000 (20:19 +0000)]
NULL -> 0.

20 years agoFixed a warning.
ru [Wed, 17 Mar 2004 20:10:59 +0000 (20:10 +0000)]
Fixed a warning.

20 years ago- Replace wait1() with a kern_wait() function that accepts the pid,
jhb [Wed, 17 Mar 2004 20:00:00 +0000 (20:00 +0000)]
- Replace wait1() with a kern_wait() function that accepts the pid,
  options, status pointer and rusage pointer as arguments.  It is up to
  the caller to copyout the status and rusage to userland if needed.  This
  lets us axe the 'compat' argument and hide all that functionality in
  owait(), by the way.  This also cleans up some locking in kern_wait()
  since it no longer has to drop locks around copyout() since all the
  copyout()'s are deferred.
- Convert owait(), wait4(), and the various ABI compat wait() syscalls to
  use kern_wait() rather than wait1() or wait4().  This removes a bit
  more stackgap usage.

Tested on: i386
Compiled on: i386, alpha, amd64

20 years agoremove stale comment since these limits have been increased YEARS ago...
jmg [Wed, 17 Mar 2004 19:04:58 +0000 (19:04 +0000)]
remove stale comment since these limits have been increased YEARS ago...

20 years agoI accidently spammed rev. 1.18, back out rev 1.19.
obrien [Wed, 17 Mar 2004 18:38:07 +0000 (18:38 +0000)]
I accidently spammed rev. 1.18, back out rev 1.19.

20 years agoDon't report EPIPE errors on nfs sockets. These can be due to idle tcp
pjd [Wed, 17 Mar 2004 18:10:38 +0000 (18:10 +0000)]
Don't report EPIPE errors on nfs sockets.  These can be due to idle tcp
mounts which will be closed by netapp, solaris, etc. if left idle too long.

Obtained from: NetBSD

20 years agoConvert callers to the new bus_alloc_resource_any(9) API.
njl [Wed, 17 Mar 2004 17:50:55 +0000 (17:50 +0000)]
Convert callers to the new bus_alloc_resource_any(9) API.

Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde

20 years agoResolve conflicts after import of OpenSSL 0.9.7d.
nectar [Wed, 17 Mar 2004 17:44:39 +0000 (17:44 +0000)]
Resolve conflicts after import of OpenSSL 0.9.7d.

20 years agoAdd bus_alloc_resource_any(9), which does bus_alloc_resource() with the
njl [Wed, 17 Mar 2004 17:40:34 +0000 (17:40 +0000)]
Add bus_alloc_resource_any(9), which does bus_alloc_resource() with the
appropriate default values.  Document it in the manpage.

Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Abstains: bde

20 years agoUpdate manual pages for OpenSSL 0.9.7d.
nectar [Wed, 17 Mar 2004 16:15:46 +0000 (16:15 +0000)]
Update manual pages for OpenSSL 0.9.7d.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r127128,
nectar [Wed, 17 Mar 2004 15:49:33 +0000 (15:49 +0000)]
This commit was generated by cvs2svn to compensate for changes in r127128,
which included commits to RCS files with non-trunk default branches.

20 years agoVendor import of OpenSSL 0.9.7d.
nectar [Wed, 17 Mar 2004 15:49:33 +0000 (15:49 +0000)]
Vendor import of OpenSSL 0.9.7d.

20 years agoFix typo
brueffer [Wed, 17 Mar 2004 14:07:44 +0000 (14:07 +0000)]
Fix typo

20 years agoo Start sentences on new lines
brueffer [Wed, 17 Mar 2004 14:06:57 +0000 (14:06 +0000)]
o Start sentences on new lines
o misc format fixes

20 years agoLanguage cleanup
brueffer [Wed, 17 Mar 2004 13:55:40 +0000 (13:55 +0000)]
Language cleanup

20 years agoLanguage cleanup
brueffer [Wed, 17 Mar 2004 13:41:37 +0000 (13:41 +0000)]
Language cleanup

20 years agoFix information leakage.
pjd [Wed, 17 Mar 2004 13:19:43 +0000 (13:19 +0000)]
Fix information leakage.
Without this fix it is possible to cheat policies like:
- sysctl security.bsd.see_other_[gu]ids=0,
- mac_seeotheruids(4),
- jail(2)
and get full processes list with their arguments.

This problem exists from revision 1.62 of kern_proc.c when it was
introduced.

Reviewed by: nectar, rwatson.

20 years agoMake ddp_ports static, as it's not used outside of ddp_usrreq.c.
rwatson [Wed, 17 Mar 2004 12:54:21 +0000 (12:54 +0000)]
Make ddp_ports static, as it's not used outside of ddp_usrreq.c.

Inspired by: Day spent hiking to hot springs in Taiwan
Powered by: Asia BSDCon 2004

20 years agoUpdate list of macros defined in <stdio.h>.
tjr [Wed, 17 Mar 2004 12:54:06 +0000 (12:54 +0000)]
Update list of macros defined in <stdio.h>.

20 years agoRe-add description of putc() macro (back out rev. 1.13.)
tjr [Wed, 17 Mar 2004 12:46:17 +0000 (12:46 +0000)]
Re-add description of putc() macro (back out rev. 1.13.)

20 years agoRe-add text that says getc() is a macro (back out rev. 1.16.)
tjr [Wed, 17 Mar 2004 12:37:28 +0000 (12:37 +0000)]
Re-add text that says getc() is a macro (back out rev. 1.16.)

20 years agoCorrect a denial-of-service vulnerability in OpenSSL (CAN-2004-0079).
nectar [Wed, 17 Mar 2004 12:11:08 +0000 (12:11 +0000)]
Correct a denial-of-service vulnerability in OpenSSL (CAN-2004-0079).

Obtained from: OpenSSL CVS (http://cvs.openssl.org/chngview?cn=12033)

20 years agoThis commit was generated by cvs2svn to compensate for changes in r127114,
nectar [Wed, 17 Mar 2004 12:11:08 +0000 (12:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r127114,
which included commits to RCS files with non-trunk default branches.

20 years agoCorrect a grammatical error.
ceri [Wed, 17 Mar 2004 11:35:23 +0000 (11:35 +0000)]
Correct a grammatical error.

PR: docs/63984
Submitted by: Ulrich Spoerlein <q@uni.de>
MFC after: 1 day

20 years agoImproved incorrect usage diagnostics.
ru [Wed, 17 Mar 2004 11:06:40 +0000 (11:06 +0000)]
Improved incorrect usage diagnostics.

20 years agoTrust bsd.prog.mk to set SRCS correctly.
ru [Wed, 17 Mar 2004 10:52:12 +0000 (10:52 +0000)]
Trust bsd.prog.mk to set SRCS correctly.

20 years agoGC unnecessary include file.
ru [Wed, 17 Mar 2004 10:51:18 +0000 (10:51 +0000)]
GC unnecessary include file.

20 years agoAdjust the number of processes waiting on a semaphore properly if we're
cperciva [Wed, 17 Mar 2004 09:37:13 +0000 (09:37 +0000)]
Adjust the number of processes waiting on a semaphore properly if we're
woken up in the middle of sleeping.

PR: misc/64347
Reviewed by: tjr
MFC after: 7 days

20 years agoMove the _arlconfig define in the existing i386 section.
nyan [Wed, 17 Mar 2004 08:50:17 +0000 (08:50 +0000)]
Move the _arlconfig define in the existing i386 section.

Suggested by: ru

20 years agoThis commit was generated by cvs2svn to compensate for changes in r127105,
obrien [Wed, 17 Mar 2004 07:58:36 +0000 (07:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r127105,
which included commits to RCS files with non-trunk default branches.

20 years agoAvoid the whole -I${DESTDIR}/usr/include/gnu issue by including
obrien [Wed, 17 Mar 2004 07:40:42 +0000 (07:40 +0000)]
Avoid the whole -I${DESTDIR}/usr/include/gnu issue by including
<gnu/regex.h> vs. just <regex.h>.

20 years agoAdjust $FreeBSD$'s.
obrien [Wed, 17 Mar 2004 03:43:53 +0000 (03:43 +0000)]
Adjust $FreeBSD$'s.

20 years agoFix a POSIX conformance bug. POSIX says sigwait should return error number
davidxu [Wed, 17 Mar 2004 02:12:19 +0000 (02:12 +0000)]
Fix a POSIX conformance bug. POSIX says sigwait should return error number
in return value not in errno.

20 years agoAdd a tip for people who are using database-related ports on a sparc64
gad [Wed, 17 Mar 2004 01:59:47 +0000 (01:59 +0000)]
Add a tip for people who are using database-related ports on a sparc64
system that they intend to upgrade to 64-bit time_t.

Noticed by: Roderick van Domburg

20 years agoRe-add macro versions of getc(), getchar(), putc(), putchar(), feof(),
tjr [Wed, 17 Mar 2004 01:43:08 +0000 (01:43 +0000)]
Re-add macro versions of getc(), getchar(), putc(), putchar(), feof(),
ferror(), fileno() and clearerr(), using the value of __isthreaded to
decide between the fast inline single-threaded code and the more
general function equivalent. This gives most of the performance
benefits of the old unsafe macros while preserving thread safety.

20 years agoRemove tun_proc; replace with tun_pid. tun_proc pointer may be stale
rwatson [Wed, 17 Mar 2004 01:12:09 +0000 (01:12 +0000)]
Remove tun_proc; replace with tun_pid.  tun_proc pointer may be stale
as the process that opens tun_softc can exit before the file
descriptor is closed.

Taiwan experience provided by: keichii
Crashing breakers provided by: Chia-liang Kao <clkao@clkao.org>

20 years agoAdd tap_mtx to tap_softc in order to protect per-softc variables
rwatson [Wed, 17 Mar 2004 01:09:59 +0000 (01:09 +0000)]
Add tap_mtx to tap_softc in order to protect per-softc variables
(tap_pid, tap_flags).  if_tap should now be entirely MPSAFE.

Committed from: Bamboo house by ocean in Taiwan
Tropical paradise provided by: Chia-liang Kao <clkao@clkao.org>

20 years agoImplement "arlconfig arlX quality".
fjoe [Tue, 16 Mar 2004 22:29:26 +0000 (22:29 +0000)]
Implement "arlconfig arlX quality".
Man pages fixes.

Submitted by: Stanislav A. Svirid <count@riss-telecom.ru>

20 years agoNew release note:
hrs [Tue, 16 Mar 2004 22:14:37 +0000 (22:14 +0000)]
New release note:
libdisk's u_long->d_addr_t change.

20 years agoAvoid doing bawrite to initialize inode block while holding cylinder
kan [Tue, 16 Mar 2004 22:06:32 +0000 (22:06 +0000)]
Avoid doing bawrite to initialize inode block while holding cylinder
group block locked. If filesystem has any active snapshots, bawrite
can come back trying to allocate new snapshot data block from the same
cylinder group and cause panic due to recursive lock attempt.

PR: 64206
Reviewed by: mckusick
Tested by: pjd

20 years agoRun through indent(1) so I can read the code without getting a headache.
des [Tue, 16 Mar 2004 21:30:41 +0000 (21:30 +0000)]
Run through indent(1) so I can read the code without getting a headache.
The result isn't quite knf, but it's knfer than the original, and far
more consistent.

20 years agoFix copyrights and mandoc markup.
fjoe [Tue, 16 Mar 2004 21:03:25 +0000 (21:03 +0000)]
Fix copyrights and mandoc markup.

Pointed out by: ru

20 years agoUse void * instead of char * to avoid violating C99 strict aliasing rules.
des [Tue, 16 Mar 2004 20:45:37 +0000 (20:45 +0000)]
Use void * instead of char * to avoid violating C99 strict aliasing rules.

20 years agoUse unions to avoid violating C99 strict aliasing rules.
des [Tue, 16 Mar 2004 20:42:02 +0000 (20:42 +0000)]
Use unions to avoid violating C99 strict aliasing rules.

20 years agoApproved by: mat (mentor).
thierry [Tue, 16 Mar 2004 19:39:11 +0000 (19:39 +0000)]
Approved by: mat (mentor).

20 years agoAdd explicit dependency on "ether", since we use ether_ifattach().
mux [Tue, 16 Mar 2004 19:25:55 +0000 (19:25 +0000)]
Add explicit dependency on "ether", since we use ether_ifattach().

20 years agoRefactor the existing machine-dependent sf_buf_free() into a machine-
alc [Tue, 16 Mar 2004 19:04:28 +0000 (19:04 +0000)]
Refactor the existing machine-dependent sf_buf_free() into a machine-
dependent function by the same name and a machine-independent function,
sf_buf_mext().  Aside from the virtue of making more of the code machine-
independent, this change also makes the interface more logical.  Before,
sf_buf_free() did more than simply undo an sf_buf_alloc(); it also
unwired and if necessary freed the page.  That is now the purpose of
sf_buf_mext().  Thus, sf_buf_alloc() and sf_buf_free() can now be used
as a general-purpose emphemeral map cache.

20 years agoRemove a bogus assertion and readd it in a more correct location. A thread
jhb [Tue, 16 Mar 2004 18:56:22 +0000 (18:56 +0000)]
Remove a bogus assertion and readd it in a more correct location.  A thread
might be enqueued on a sleep queue but not be asleep when the timeout fires
if it is blocked on a lock trying to check for pending signals before going
to sleep.  In the case of fixing up the TDF_TIMEOUT race, however, the
thread must be marked asleep.

Reported by: kan (the bogus one)

20 years agoAdded entries for 90 columns russian VGA modes.
schweikh [Tue, 16 Mar 2004 18:04:14 +0000 (18:04 +0000)]
Added entries for 90 columns russian VGA modes.

PR: conf/51830
Submitted by: Sergiy Vyshnevetskiy <serg@vostok.net>
MFC after: 1 week

20 years agoFix $FreeBSD$ ids.
obrien [Tue, 16 Mar 2004 17:24:06 +0000 (17:24 +0000)]
Fix $FreeBSD$ ids.

20 years agoChange libdisk and sysinstall to use d_addr_t rather than u_long for disk
jhb [Tue, 16 Mar 2004 17:07:06 +0000 (17:07 +0000)]
Change libdisk and sysinstall to use d_addr_t rather than u_long for disk
addresses.  For arch's with 64-bit longs, this is a nop, but for i386 this
allows sysinstall to properly handle disks and filesystems > 1 TB.

Changes from the original patch include:
- Use d_addr_t rather than inventing a blkcnt type based on int64_t.
- Use strtoimax() rather than strtoull() to parse d_addr_t's from config
  files.
- Use intmax_t casts and %jd rather than %llu to printf d_addr_t values.

Tested on: i386
Tested by: kuriyama
Submitted by: julian
MFC after: 1 month

20 years agoUpdate the SiS support to distinguish older southbridges better.
sos [Tue, 16 Mar 2004 16:23:28 +0000 (16:23 +0000)]
Update the SiS support to distinguish older southbridges better.

20 years agoNew release note:
hrs [Tue, 16 Mar 2004 15:30:46 +0000 (15:30 +0000)]
New release note:
raid(4) removal.

20 years agoo Add an -S option to not attempt to ascertain the validity of a shell.
mtm [Tue, 16 Mar 2004 13:46:29 +0000 (13:46 +0000)]
o Add an -S option to not attempt to ascertain the validity of a shell.
o Add a -D option to not attempt to create the home directory.
o Treat the /nonexistent home directory specially. It means the user has
  no home directory and it should not be created.
o Update Copyright year and my email.

20 years agoRemove dangling raidctl reference
phk [Tue, 16 Mar 2004 13:42:23 +0000 (13:42 +0000)]
Remove dangling raidctl reference

20 years agoAdd powerpc to temporary fix. The new cpu device claims all
grehan [Tue, 16 Mar 2004 13:34:50 +0000 (13:34 +0000)]
Add powerpc to temporary fix. The new cpu device claims all
'generic' OpenFirmware nexus nodes, since it uses bus_generic_probe.
Maybe the cpu device probe should be MD.

20 years agoRefer to "wide characters" instead of "wide-characters".
tjr [Tue, 16 Mar 2004 13:30:11 +0000 (13:30 +0000)]
Refer to "wide characters" instead of "wide-characters".

20 years agoThe arlconfig is needed on i386 only.
nyan [Tue, 16 Mar 2004 12:46:14 +0000 (12:46 +0000)]
The arlconfig is needed on i386 only.

20 years agoMove the arl to i386 only.
nyan [Tue, 16 Mar 2004 12:43:08 +0000 (12:43 +0000)]
Move the arl to i386 only.

20 years agoDon't use the pcic polling.
nyan [Tue, 16 Mar 2004 12:40:11 +0000 (12:40 +0000)]
Don't use the pcic polling.

20 years agoRemove the RAIDframe manual page
scottl [Tue, 16 Mar 2004 12:35:55 +0000 (12:35 +0000)]
Remove the RAIDframe manual page

20 years agoRemove the RAIDframe userland tool.
scottl [Tue, 16 Mar 2004 12:28:40 +0000 (12:28 +0000)]
Remove the RAIDframe userland tool.

20 years agoRemove the module reference for RAIDframe
scottl [Tue, 16 Mar 2004 12:27:34 +0000 (12:27 +0000)]
Remove the module reference for RAIDframe