]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoBack out recent changes
ache [Sat, 19 Jan 2002 18:03:11 +0000 (18:03 +0000)]
Back out recent changes

22 years agoMFen (1.261 --> 1.263).
kuriyama [Sat, 19 Jan 2002 15:53:23 +0000 (15:53 +0000)]
MFen (1.261 --> 1.263).

22 years agoRemove bogus entry.
kuriyama [Sat, 19 Jan 2002 15:12:40 +0000 (15:12 +0000)]
Remove bogus entry.

22 years agoMFen (1.260 --> 1.261; order changes only).
kuriyama [Sat, 19 Jan 2002 15:12:05 +0000 (15:12 +0000)]
MFen (1.260 --> 1.261; order changes only).

22 years agoNew release notes: ARCNET support, cm driver.
bmah [Sat, 19 Jan 2002 13:38:48 +0000 (13:38 +0000)]
New release notes:  ARCNET support, cm driver.

22 years agoNew release notes: dc(4) supports VLANs, man(1) no longer SUID man,
bmah [Sat, 19 Jan 2002 13:02:32 +0000 (13:02 +0000)]
New release notes:  dc(4) supports VLANs, man(1) no longer SUID man,
/etc/pam.d/.

22 years agoAlphabetize the kernel changes section by manpage reference or
bmah [Sat, 19 Jan 2002 12:50:37 +0000 (12:50 +0000)]
Alphabetize the kernel changes section by manpage reference or
keyword, where possible.

22 years agoTurn on pam_opie by default. It should not affect non-OPIE users.
ache [Sat, 19 Jan 2002 10:31:32 +0000 (10:31 +0000)]
Turn on pam_opie by default. It should not affect non-OPIE users.

22 years agoIf user not exist in OPIE system, return failure immediately instead
ache [Sat, 19 Jan 2002 10:09:05 +0000 (10:09 +0000)]
If user not exist in OPIE system, return failure immediately instead
of producing fake prompts with random numbers which can be detected by
potential intruder in two tries and totally confuse non-OPIE users.

22 years agoBack out second right-now-expired password check in pam_sm_chauthtok,
ache [Sat, 19 Jan 2002 09:23:36 +0000 (09:23 +0000)]
Back out second right-now-expired password check in pam_sm_chauthtok,
old expired password assumed there

22 years agoTurn on pam_opie by default. It not affect non-OPIE users
ache [Sat, 19 Jan 2002 09:06:45 +0000 (09:06 +0000)]
Turn on pam_opie by default. It not affect non-OPIE users

22 years agoAdd PAM_CRED_ERR as valid failure case
ache [Sat, 19 Jan 2002 09:01:17 +0000 (09:01 +0000)]
Add PAM_CRED_ERR as valid failure case

22 years agoPrevious commit was incomplete, use
ache [Sat, 19 Jan 2002 08:39:35 +0000 (08:39 +0000)]
Previous commit was incomplete, use
"[default=ignore success=done cred_err=die]"
options instead of "required"

22 years agoPrevious commit was incomplete, use new error code PAM_CRED_ERR to
ache [Sat, 19 Jan 2002 08:36:47 +0000 (08:36 +0000)]
Previous commit was incomplete, use new error code PAM_CRED_ERR to
indicate die case, different from PAM_SUCCESS and PAM_AUTH_ERR

22 years agoAdd flags 0x10000 to IO Data WN-B11/PCM's entry. Evidentally, they
imp [Sat, 19 Jan 2002 08:11:39 +0000 (08:11 +0000)]
Add flags 0x10000 to IO Data WN-B11/PCM's entry.  Evidentally, they
changed firmware and the new cards don't work without this.

Submitted by: ume
MFC after: 3 days

22 years agoRemove explaining comment and pam_unix commented out, now pam_unix can be
ache [Sat, 19 Jan 2002 07:32:47 +0000 (07:32 +0000)]
Remove explaining comment and pam_unix commented out, now pam_unix can be
chained with pam_opie

22 years agoRewrite 'pwok' fallback in the way it can be properly chained with pam_unix
ache [Sat, 19 Jan 2002 07:23:48 +0000 (07:23 +0000)]
Rewrite 'pwok' fallback in the way it can be properly chained with pam_unix

Replace snprintf %s with strlcpy

Check for NULL returned from getpwnam()

22 years agoLock the caller process if the pid passed to getsid() or getpgid()
tanimura [Sat, 19 Jan 2002 06:34:58 +0000 (06:34 +0000)]
Lock the caller process if the pid passed to getsid() or getpgid()
equals to zero.

22 years agoCall opieunlock() only if we skip opieverify() part
ache [Sat, 19 Jan 2002 05:59:24 +0000 (05:59 +0000)]
Call opieunlock() only if we skip opieverify() part

22 years agoMFen (1.259 --> 1.260).
kuriyama [Sat, 19 Jan 2002 05:41:17 +0000 (05:41 +0000)]
MFen (1.259 --> 1.260).

22 years agoFor getsid(), return the sid stored in struct session. This prevents
tanimura [Sat, 19 Jan 2002 05:31:51 +0000 (05:31 +0000)]
For getsid(), return the sid stored in struct session. This prevents
panic in case where a session has no session leader.

Inspired by: Solaris 8

22 years agoNew release notes: bpf(4) works better with select(2) and poll(2),
bmah [Sat, 19 Jan 2002 05:23:17 +0000 (05:23 +0000)]
New release notes:  bpf(4) works better with select(2) and poll(2),
natd(8) -log_ipfw_denied.

22 years agoAdd yet one expired-right-now password check, in pam_sm_chauthtok
ache [Sat, 19 Jan 2002 04:58:51 +0000 (04:58 +0000)]
Add yet one expired-right-now password check, in pam_sm_chauthtok

srandomdev() can't be used in libraries, replace srandomdev()+random()
by arc4random()

22 years agoMFen (1.257 --> 1.259).
kuriyama [Sat, 19 Jan 2002 04:29:55 +0000 (04:29 +0000)]
MFen (1.257 --> 1.259).

22 years agoMake compile, remove extra fdrop() calls.
alfred [Sat, 19 Jan 2002 03:52:17 +0000 (03:52 +0000)]
Make compile, remove extra fdrop() calls.
Change name of function to what it's supposed to be (s/sys/do)

22 years agomake compile, add missing { and variable declaration.
alfred [Sat, 19 Jan 2002 03:48:38 +0000 (03:48 +0000)]
make compile, add missing { and variable declaration.

22 years agoSemi-backout previous fgetvp change, we need the struct file pointer
alfred [Sat, 19 Jan 2002 03:45:14 +0000 (03:45 +0000)]
Semi-backout previous fgetvp change, we need the struct file pointer
to perform relative offset calculations, so use fget instead.

22 years agoo Clarify that various sysctl timing values are in milliseconds.
rwatson [Sat, 19 Jan 2002 03:44:42 +0000 (03:44 +0000)]
o Clarify that various sysctl timing values are in milliseconds.

22 years agoChange comment since fallback provided now not by ftpd but by pam_opie
ache [Sat, 19 Jan 2002 03:35:39 +0000 (03:35 +0000)]
Change comment since fallback provided now not by ftpd but by pam_opie

22 years agoSet pwok to 1 for non-OPIE users
ache [Sat, 19 Jan 2002 03:31:39 +0000 (03:31 +0000)]
Set pwok to 1 for non-OPIE users

22 years agoRemove conditional 'pwok' fallback for PAM which now
ache [Sat, 19 Jan 2002 03:18:33 +0000 (03:18 +0000)]
Remove conditional 'pwok' fallback for PAM which now
is implemented in pam_opie module

For non-PAM variant rewrite empty password checking code to do the right thing
and not disallow empty passwords in all cases.

22 years agoAdd missing check for right-now-expired password
ache [Sat, 19 Jan 2002 02:45:24 +0000 (02:45 +0000)]
Add missing check for right-now-expired password

22 years agoImplement 'pwok', i.e. conditional fallback to unix password
ache [Sat, 19 Jan 2002 02:38:43 +0000 (02:38 +0000)]
Implement 'pwok', i.e. conditional fallback to unix password
as supposed by opieaccessfile() and opiealways()

22 years agoRemove 'VXLOCK: interlock avoided' warnings. This can now occur in normal
dillon [Sat, 19 Jan 2002 02:14:45 +0000 (02:14 +0000)]
Remove 'VXLOCK: interlock avoided' warnings.  This can now occur in normal
operation.  The vgonel() code has always called vclean() but until we
started proactively freeing vnodes it would never actually be called with
a dirty vnode, so this situation did not occur prior to the vnlru() code.
Now that we proactively free vnodes when kern.maxvnodes is hit, however,
vclean() winds up with work to do and improperly generates the warnings.

Reviewed by: peter
Approved by: re (for MFC)
MFC after: 1 day

22 years agoundo a bit of the Giant pushdown.
alfred [Sat, 19 Jan 2002 01:03:54 +0000 (01:03 +0000)]
undo a bit of the Giant pushdown.

fdrop isn't SMP safe as it may call into the file's close routine which
definetly is not SMP safe right now, so we hold Giant over calls to
fdrop now.

22 years agoExplain that the admin can safely power down the system as well as
nik [Fri, 18 Jan 2002 22:45:29 +0000 (22:45 +0000)]
Explain that the admin can safely power down the system as well as
rebooting.

22 years agoBy popular demand, also include the "devlist" subcommand into the set
joerg [Fri, 18 Jan 2002 22:42:51 +0000 (22:42 +0000)]
By popular demand, also include the "devlist" subcommand into the set
of commands available in the boot floppy environment.

MFC after: 1 week

22 years agoWell, RELEASE_BUILD_FIXIT has now been renamed into RELEASE_CRUNCH.
joerg [Fri, 18 Jan 2002 22:17:35 +0000 (22:17 +0000)]
Well, RELEASE_BUILD_FIXIT has now been renamed into RELEASE_CRUNCH.
At least, the old version is still good for the MFC though (where
everything is still going the old way). ;-)

22 years agoCut more than 500 bytes off the size of the alpha boot1 by adding
iedowse [Fri, 18 Jan 2002 21:54:02 +0000 (21:54 +0000)]
Cut more than 500 bytes off the size of the alpha boot1 by adding
a simple version of bcopy() so we avoid picking up the overly-complex
implementation in libc (via libstand). This is not necessary on
-current, but RELENG_4 has apparently just exceeded the 15-sector
limit for boot1.

Reviewed by: wilko

22 years agoCoalesce several release notes dealing with the aac(4) driver,
bmah [Fri, 18 Jan 2002 19:10:06 +0000 (19:10 +0000)]
Coalesce several release notes dealing with the aac(4) driver,
clean-up, and mention that it is "fully qualified and sanctioned by
Adaptec".

Requested by: scottl (the last part, that is)
Approved by: re (implicitly)

22 years agoChange ich_calibrate to busy wait on buffer fill level and use a more
orion [Fri, 18 Jan 2002 18:44:41 +0000 (18:44 +0000)]
Change ich_calibrate to busy wait on buffer fill level and use a more
likely looking rate calculation.

Install interrupt handler before calling ich_init as the initialization
occasionally generates spurious interrupts.

These changes are derived from cg's work in progress version of this
driver.

22 years agoAdd 'camcontrol rescan all' and 'camcontrol reset all' functionality to
ken [Fri, 18 Jan 2002 18:00:00 +0000 (18:00 +0000)]
Add 'camcontrol rescan all' and 'camcontrol reset all' functionality to
camcontrol.

This enables rescanning all busses or resetting all busses in a system.
The current implementation is not the ideal way to do it -- the ideal way
to do it would be for the transport layer to handle wildcarded busses on
bus rescan and reset operations.  The current implementation enumerates all
the busses and sends a rescan or reset CCB individually.  Handling this
behavior in the transport layer will happen later.

Reviewed by: imp
Tested by: joerg
MFC after: 1 week

22 years agoWe don't use two-letters terminal names, so strip them out from vt520* entries
ache [Fri, 18 Jan 2002 17:41:54 +0000 (17:41 +0000)]
We don't use two-letters terminal names, so strip them out from vt520* entries

22 years agoUpdate PCMCIA cards (fe(4), ex(4), and ep(4) drivers).
bmah [Fri, 18 Jan 2002 16:55:22 +0000 (16:55 +0000)]
Update PCMCIA cards (fe(4), ex(4), and ep(4) drivers).

Submitted by: Tom Rhodes <darklogik@pittgoth.com>

22 years agomdoc(7) police: tidy up.
ru [Fri, 18 Jan 2002 16:46:43 +0000 (16:46 +0000)]
mdoc(7) police: tidy up.

Reviewed by: chris

22 years agoNew release note: SA-02:07.
bmah [Fri, 18 Jan 2002 16:42:43 +0000 (16:42 +0000)]
New release note:  SA-02:07.

22 years agoGC spurious -m in the usage().
ru [Fri, 18 Jan 2002 16:08:29 +0000 (16:08 +0000)]
GC spurious -m in the usage().

22 years agoMFV: Initialize %I register.
ru [Fri, 18 Jan 2002 15:28:32 +0000 (15:28 +0000)]
MFV: Initialize %I register.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r89500,
ru [Fri, 18 Jan 2002 15:25:01 +0000 (15:25 +0000)]
This commit was generated by cvs2svn to compensate for changes in r89500,
which included commits to RCS files with non-trunk default branches.

22 years agoFrom ChangeLog:
ru [Fri, 18 Jan 2002 15:25:01 +0000 (15:25 +0000)]
From ChangeLog:

: 2002-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
:
:  * tmac/doc.common: Initialize %I register for the %I macro to
:  avoid (harmless) warning.
:  * tmac/doc.tmac (Bd): There is no reason to enforce -compact
:  when in the SYNOPSIS section.

22 years agoIntroduce an interface announcement message for the routing
ru [Fri, 18 Jan 2002 14:33:04 +0000 (14:33 +0000)]
Introduce an interface announcement message for the routing
socket so that routing daemons and other interested parties
know when an interface is attached/detached.

PR: kern/33747
Obtained from: NetBSD
MFC after: 2 weeks

22 years agoInvert the test of sx_xholder for SX_LOCKED. We need to warn if a
tanimura [Fri, 18 Jan 2002 09:21:15 +0000 (09:21 +0000)]
Invert the test of sx_xholder for SX_LOCKED. We need to warn if a
thread other than the curthread holds an sx.

While I am here, break a line at the end of warning.

22 years agoAdded kgzldr for pc98.
nyan [Fri, 18 Jan 2002 09:00:38 +0000 (09:00 +0000)]
Added kgzldr for pc98.
crt.s is based on btx.s.

22 years agoAdd a definition of ddb_regs. ddb_regs is declared as extern in
marcel [Fri, 18 Jan 2002 07:55:23 +0000 (07:55 +0000)]
Add a definition of ddb_regs. ddb_regs is declared as extern in
db_machdep.h to fix the link failure (multiple definitions)
caused by disabling the emission of common symbols. As a result,
there were no definitions at all. While here, remove useless
declarations.

22 years agoRemove the definition of bootverbose. This fixes the link failure
marcel [Fri, 18 Jan 2002 07:49:37 +0000 (07:49 +0000)]
Remove the definition of bootverbose. This fixes the link failure
caused by disabling the emission of common symbols.

22 years agoDeclare ddb_regs as extern to avoid creating a tentative definition.
marcel [Fri, 18 Jan 2002 07:47:38 +0000 (07:47 +0000)]
Declare ddb_regs as extern to avoid creating a tentative definition.
This fixes the link failure caused by disabling the emission of
common symbols.

22 years agoAvoid __func__ string concatenation
peter [Fri, 18 Jan 2002 04:41:23 +0000 (04:41 +0000)]
Avoid __func__ string concatenation

22 years agoAdd:
imp [Fri, 18 Jan 2002 03:49:03 +0000 (03:49 +0000)]
Add:
Accton airDirect WN3301
Melco WLI-CF-S11G
GeoWave GW-NS11S

Submitted by: Shigeru Ishida-san on bsd-nomads (16142,16143,16144)

22 years agoMFi386: revision 1.52: add camcontrol
nyan [Fri, 18 Jan 2002 03:35:51 +0000 (03:35 +0000)]
MFi386: revision 1.52: add camcontrol

22 years agoMFi386: revision 1.64
nyan [Fri, 18 Jan 2002 03:33:52 +0000 (03:33 +0000)]
MFi386: revision 1.64

22 years agoMerged from sys/dev/sio/sio.c revisions from 1.360 to 1.362.
nyan [Fri, 18 Jan 2002 03:30:22 +0000 (03:30 +0000)]
Merged from sys/dev/sio/sio.c revisions from 1.360 to 1.362.

22 years agoMFi386: revision 1.487
nyan [Fri, 18 Jan 2002 03:28:02 +0000 (03:28 +0000)]
MFi386: revision 1.487

22 years agoMFi386: revision 1.388
nyan [Fri, 18 Jan 2002 03:26:38 +0000 (03:26 +0000)]
MFi386: revision 1.388

22 years agoChange "From Id:" to the correct "$Id$" string, as there's no danger
chris [Thu, 17 Jan 2002 23:08:43 +0000 (23:08 +0000)]
Change "From Id:" to the correct "$Id$" string, as there's no danger
of it being expanded.

Sponsored by: DARPA, NAI Labs

22 years agoOops, the previous revision (1.35) broke booting from floppies
iedowse [Thu, 17 Jan 2002 22:39:19 +0000 (22:39 +0000)]
Oops, the previous revision (1.35) broke booting from floppies
because the buffers we use could end up spanning a 64k boundary.
Unfortunately it causes too much bloat (228 -> 72 bytes free) to
just reinstate the old malloc() function.

Instead, define a structure that contains all 4 buffers which must
not cross 64k boundaries. We allocate a 64k-aligned instance in
main() using the magic that was in the old boot2 malloc() function.
This brings the free space down to 168 bytes, but that is still
better than it was before revision 1.35 (136 bytes).

Reported by: Mike Brancato <funnyguy@digitalsmackdown.net>
Pointy-hat to: iedowse

22 years agoRe-add a call to "camcontrol rescan" after insertion of an aic pccard.
joerg [Thu, 17 Jan 2002 20:38:04 +0000 (20:38 +0000)]
Re-add a call to "camcontrol rescan" after insertion of an aic pccard.
We now do it as a "camcontrol rescan all" which is something ken
promised to implement; for the time being it's not worse than the old
"camcontrol rescan $device" which ended up in something like
"camcontrol rescan aic1".  Currently, camcontrol misinterprets the
third non-numeric arg as number 0, and rescans bus 0, which is about
the best we could get at this time.

Approved by: imp
MFC after: 1 week

22 years agoBack out the hack from rev 1.13 that was done to initiate a bus rescan
joerg [Thu, 17 Jan 2002 20:34:58 +0000 (20:34 +0000)]
Back out the hack from rev 1.13 that was done to initiate a bus rescan
at insert time.  When asking gibbs for approval for an MFC, this was
his reply:

1) It leaks memory if it can't allocate a path.

2) It defers allocation of aic->path until the call to scan the
   bus.  This means the path may be NULL when an interrupt occurs
   prior to the call to scan the bus (stray bus reset for instance),
   which will lead to a panic.

3) The driver in current doesn't recover from the failure to allocate
   aic->path.  The driver doesn't check during normal operation if
   the path is NULL, so again a panic will result.

4) aic_cam_rescan calls malloc with M_WAITOK.  aic_cam_rescan is called
   from attach where it isn't necessarily safe to sleep.

5) And most importantly, it co-opts the xpt_periph from the driver level.
   This was never part of the design (xpt_periph used to be static).  Making
   a call of this type may completely confuse the XPT if other XPT operations
   are ongoing.

In the long term, Justin and Warner agreed to implement solution where
CAM itself will initiate the bus rescan if a new bus is added.  For
the time being (and in particular in light of the upcoming 4.5
release), we now have camcontrol available on the boot floppy, and can
have pccardd initiate the rescan through it.

22 years agoInclude /dev/xpt0 into the list of devices to go onto the boot floppy, so
joerg [Thu, 17 Jan 2002 20:29:02 +0000 (20:29 +0000)]
Include /dev/xpt0 into the list of devices to go onto the boot floppy, so
camcontrol can get a handle to initiate a rescan or reset.

MFC after: 1 week

22 years agoInclude camcontrol(8) (in its minimalistic form) into the boot floppy.
joerg [Thu, 17 Jan 2002 20:28:10 +0000 (20:28 +0000)]
Include camcontrol(8) (in its minimalistic form) into the boot floppy.

This change should/could be merged into other arch's release build
areas (PC98, Alpha), but since i cannot test a "make release" there, i
won't do this myself.

MFC after: 1 week

22 years agoProvide an option to make camcontrol `minimalistic': if the (env/make)
joerg [Thu, 17 Jan 2002 20:26:14 +0000 (20:26 +0000)]
Provide an option to make camcontrol `minimalistic': if the (env/make)
variable RELEASE_BUILD_FIXIT is defined, a camcontrol binary will be
built that only knows the "rescan" and "reset" subcommands.  The
resulting code is small enough to still fit onto the boot floppy.

Reviewed by: ken
MFC after: 1 week

22 years agoCosmetic fix: Not every machine that uses the sio driver has a BIOS.
bmah [Thu, 17 Jan 2002 20:05:47 +0000 (20:05 +0000)]
Cosmetic fix:  Not every machine that uses the sio driver has a BIOS.

Pointed out by: imp

22 years agoGarbage-collect an unused variable left by rev.1.61.
bde [Thu, 17 Jan 2002 18:50:46 +0000 (18:50 +0000)]
Garbage-collect an unused variable left by rev.1.61.

22 years agoUninlined most of the bloated inline functions in <sys/disklabel.h>. Some
bde [Thu, 17 Jan 2002 18:33:18 +0000 (18:33 +0000)]
Uninlined most of the bloated inline functions in <sys/disklabel.h>.  Some
of them need to become even larger to support devfs.

22 years agoGarbage-collect vestiges of disksort(). We now have only one disksort()
bde [Thu, 17 Jan 2002 18:08:25 +0000 (18:08 +0000)]
Garbage-collect vestiges of disksort().  We now have only one disksort()
again, but its name has regressed to bioqdisksort().

Fixed some style bugs

22 years agoChanged the type of pcb_flags from u_char to u_int and adjusted things.
bde [Thu, 17 Jan 2002 17:49:23 +0000 (17:49 +0000)]
Changed the type of pcb_flags from u_char to u_int and adjusted things.
This removes the only atomic operation on a char type in the entire
kernel.

22 years ago o Eliminate an unused parameter from aio_fphysio().
alc [Thu, 17 Jan 2002 17:19:40 +0000 (17:19 +0000)]
 o Eliminate an unused parameter from aio_fphysio().

22 years agoDon't declare vm_swapout() in the NO_SWAPPING case when it is not defined.
bde [Thu, 17 Jan 2002 16:46:26 +0000 (16:46 +0000)]
Don't declare vm_swapout() in the NO_SWAPPING case when it is not defined.

Fixed some style bugs.

22 years agoWhile I'm not sure that I like the wording of the BIOS message in the
imp [Thu, 17 Jan 2002 16:16:51 +0000 (16:16 +0000)]
While I'm not sure that I like the wording of the BIOS message in the
previous commit, it should always print due to lack of {} around the
second line in the if statement.  The message should likely say
something more like "There's no hardware responding at this IRQ.
Device not present (or disbaled)," but that is too long.  We generally
don't give elementary advise in device driver messages anyway.  Be
that as it may, the problem with it printing all the time should be
corrected.

22 years agomdoc(7) police: removed raw troff from previous delta.
ru [Thu, 17 Jan 2002 15:57:43 +0000 (15:57 +0000)]
mdoc(7) police: removed raw troff from previous delta.

Objected to by: mpp, jhb

22 years agoPass `-9' flag to gzip(1), so that package is compressed using maximum
sobomax [Thu, 17 Jan 2002 10:51:39 +0000 (10:51 +0000)]
Pass `-9' flag to gzip(1), so that package is compressed using maximum
compression. Usually this gives gives extra 1-1.5%.

MFC after: 1 day

22 years agomdoc(7) police: bump document date for the -p change, tidy up the markup.
ru [Thu, 17 Jan 2002 10:38:32 +0000 (10:38 +0000)]
mdoc(7) police: bump document date for the -p change, tidy up the markup.

22 years agoMark daily_news_expire_enable as a variable, not a path.
sheldonh [Thu, 17 Jan 2002 10:35:48 +0000 (10:35 +0000)]
Mark daily_news_expire_enable as a variable, not a path.

22 years agoMFen (1.255 --> 1.257).
kuriyama [Thu, 17 Jan 2002 09:52:19 +0000 (09:52 +0000)]
MFen (1.255 --> 1.257).

22 years agomdoc(7) police: tidy up markup and spelling.
ru [Thu, 17 Jan 2002 08:42:31 +0000 (08:42 +0000)]
mdoc(7) police: tidy up markup and spelling.

PR: docs/33962

22 years agoFix a bug introduced in ffs_snapshot.c -r1.25 and fs.h -r1.26
mckusick [Thu, 17 Jan 2002 08:33:32 +0000 (08:33 +0000)]
Fix a bug introduced in ffs_snapshot.c -r1.25 and fs.h -r1.26
which caused incomplete snapshots to be taken. When background
fsck would run on these snapshots, the result would be files
being incorrectly released which would subsequently panic the
kernel with ``handle_workitem_freefile: inodedep survived'',
``handle_written_inodeblock: live inodedep'', and
``handle_workitem_remove: lost inodedep'' errors.

22 years agoFix a typo introduced in the previous delta. The mistake was mine
mike [Thu, 17 Jan 2002 07:48:12 +0000 (07:48 +0000)]
Fix a typo introduced in the previous delta.  The mistake was mine
rather than the submitter's.

22 years agoMake sio device probe messages less misleading, for the case that
bmah [Thu, 17 Jan 2002 06:21:45 +0000 (06:21 +0000)]
Make sio device probe messages less misleading, for the case that
a port is either disabled or not responding.

PR: 33963
Submitted by: Kevin Oberman <oberman@es.net>
MFC after: 2 weeks

22 years agoCombine a release note entry on the alpha and i386 boot loaders now
bmah [Thu, 17 Jan 2002 05:56:39 +0000 (05:56 +0000)]
Combine a release note entry on the alpha and i386 boot loaders now
that they handle differently-sized blocks on filesystems in the same
way.

22 years agoNew release notes: kern.maxvnodes now works, VIA 82C686B Southbridge
bmah [Thu, 17 Jan 2002 05:29:03 +0000 (05:29 +0000)]
New release notes:  kern.maxvnodes now works, VIA 82C686B Southbridge
fix.

22 years agoAllow alpha kernels to compile again- make sure opt_ddb.h is included
mjacob [Thu, 17 Jan 2002 02:16:35 +0000 (02:16 +0000)]
Allow alpha kernels to compile again- make sure opt_ddb.h is included
and the reference to db_regs is *extern* from alpha/include/db_machdep.h
(put it in alpha/alpha/machdep.c)- this avoids the problems we've had
about different 'common' sizes prohibiting the kernel from linking.

22 years agopid is 'long' on alpha.
mjacob [Thu, 17 Jan 2002 02:14:44 +0000 (02:14 +0000)]
pid is 'long' on alpha.

22 years agoMerge the changes in the English version (1.254 --> 1.255).
kuriyama [Thu, 17 Jan 2002 02:09:43 +0000 (02:09 +0000)]
Merge the changes in the English version (1.254 --> 1.255).

22 years agoforced commit for previous revision:
alfred [Thu, 17 Jan 2002 00:12:56 +0000 (00:12 +0000)]
forced commit for previous revision:

PR: bin/33897

22 years agoFix boundry condition in lock management:
alfred [Thu, 17 Jan 2002 00:12:05 +0000 (00:12 +0000)]
Fix boundry condition in lock management:

 Alfred, I took a look at retry_blockingfilelocklist() and the
 solution seemed  simple enough. Please correct me if I am wrong.
 It seems said routine doesn't  take into account boundary conditions
 when putting back file_lock entries into the blocked lock-list.
 Specifically, it fails when the file_lock being put back is the
 last element in the list, and when it is the only element in the
 list.  I've included a patch below.

 Basically, it introduces another variable: pfl, which keeps track
 of the list  item before ifl. That way if nfl is NULL, ifl gets
 inserted after pfl. If pfl  is also NULL, then it gets inserted
 at the head of the list (since it was the  only element in the
 list).

Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
Tested by: Thomas Quinot <thomas@cuivre.fr.eu.org>

22 years agoo Improve the line-wrapping of additional comments, some of which appeared
rwatson [Thu, 17 Jan 2002 00:10:28 +0000 (00:10 +0000)]
o Improve the line-wrapping of additional comments, some of which appeared
  to be wrapped around 60, others around 40 columns.

22 years agoo Remove a somewhat less comprehensible comment about modifying /etc/rc.
rwatson [Thu, 17 Jan 2002 00:08:44 +0000 (00:08 +0000)]
o Remove a somewhat less comprehensible comment about modifying /etc/rc.
o Improve line-wrapping of another comment for consistency.

22 years agoForgot one part of the VLAN support for the dc(4) driver.
ambrisko [Wed, 16 Jan 2002 21:34:11 +0000 (21:34 +0000)]
Forgot one part of the VLAN support for the dc(4) driver.

Pointed out by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>

22 years agoFix giant handling in pwrite(2), I forgot to release it when finishing
alfred [Wed, 16 Jan 2002 21:33:41 +0000 (21:33 +0000)]
Fix giant handling in pwrite(2), I forgot to release it when finishing
the syscall.

22 years agoFix typo by s/advertise/advertises/
schweikh [Wed, 16 Jan 2002 19:19:09 +0000 (19:19 +0000)]
Fix typo by s/advertise/advertises/
MFC after: 4 weeks

22 years agoUpdate release note: kern.security.* sysctls have moved to
bmah [Wed, 16 Jan 2002 16:45:29 +0000 (16:45 +0000)]
Update release note:  kern.security.* sysctls have moved to
security.*.

Requested by: arr