]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoAdd symbol maps and initial symbol version definitions to libc.
Daniel Eischen [Mon, 13 Mar 2006 00:53:21 +0000 (00:53 +0000)]
Add symbol maps and initial symbol version definitions to libc.

Reviewed by: davidxu

18 years agoAdd macros for generating symbol version assembler opcodes.
Daniel Eischen [Mon, 13 Mar 2006 00:49:28 +0000 (00:49 +0000)]
Add macros for generating symbol version assembler opcodes.

18 years agoRemove non-FreeBSD source from FreeBSD repository.
Tim Kientzle [Sun, 12 Mar 2006 19:55:02 +0000 (19:55 +0000)]
Remove non-FreeBSD source from FreeBSD repository.

18 years agoRemove automake source from FreeBSD tree.
Tim Kientzle [Sun, 12 Mar 2006 19:54:34 +0000 (19:54 +0000)]
Remove automake source from FreeBSD tree.

18 years agoremove depedancy with vnode_if.h.
Damien Bergamini [Sun, 12 Mar 2006 19:06:06 +0000 (19:06 +0000)]
remove depedancy with vnode_if.h.
it is no longer needed.

18 years agosync w/ iwi:
Damien Bergamini [Sun, 12 Mar 2006 19:01:00 +0000 (19:01 +0000)]
sync w/ iwi:
o fix locking
o use firmware(9)
o cosmetic

18 years agoo don't use '-' characters in firmware names
Damien Bergamini [Sun, 12 Mar 2006 18:54:40 +0000 (18:54 +0000)]
o don't use '-' characters in firmware names
o call firmware_put() early to release the firmware module
o on firmware panics or watchdog timeouts, schedule a task to reinitialize
  the interface (we may sleep in iwi_init())
o discard oversized rx frames

18 years agoRemove comment that does not appy to FreeBSD.
Andre Oppermann [Sun, 12 Mar 2006 15:34:33 +0000 (15:34 +0000)]
Remove comment that does not appy to FreeBSD.

18 years agoImport of OpenBSD's sys/sys/hash.h providing generic 32bit hash functions.
Andre Oppermann [Sun, 12 Mar 2006 15:33:19 +0000 (15:33 +0000)]
Import of OpenBSD's sys/sys/hash.h providing generic 32bit hash functions.

Requested by: flz (to port Open[BGP|OSPF]D)
MFC after: 3 days

18 years agoThere is no IFF_POLLING flag anymore.
Gleb Smirnoff [Sun, 12 Mar 2006 14:00:15 +0000 (14:00 +0000)]
There is no IFF_POLLING flag anymore.

18 years agoFlush stdout after printing name of created device, so it can be properly
Pawel Jakub Dawidek [Sun, 12 Mar 2006 09:27:51 +0000 (09:27 +0000)]
Flush stdout after printing name of created device, so it can be properly
read when 'ggatec create' is used in backticks or its output is piped to
another command.

Submitted by: Paul Schenkeveld
MFC after: 3 days

18 years ago - Remove the call to softdep_waitidle after suspending the filesystem.
Jeff Roberson [Sun, 12 Mar 2006 05:26:12 +0000 (05:26 +0000)]
 - Remove the call to softdep_waitidle after suspending the filesystem.
   This does not do what I wanted as all dirty buffers must be flushed
   by the call to ffs_sync and any remaining dependency work would mean
   that this failed.

Pointed out by: tegge

18 years ago - Force commit to give this the correct message; Lock giant when required
Jeff Roberson [Sun, 12 Mar 2006 05:25:16 +0000 (05:25 +0000)]
 - Force commit to give this the correct message;  Lock giant when required
   in softdep_flush().

Found by: kris
Sponsored by: Isilon Systems, Inc.

18 years ago - Remove the call to softdep_waitidle after suspending the filesystem.
Jeff Roberson [Sun, 12 Mar 2006 05:24:14 +0000 (05:24 +0000)]
 - Remove the call to softdep_waitidle after suspending the filesystem.
   This does not do what I wanted as all dirty buffers must be flushed
   by the call to ffs_sync and any remaining dependency work would mean
   that this failed.

Pointed out by: tegge

18 years ago - Reorder vrele calls after vput calls to prevent lock order reversals
Jeff Roberson [Sun, 12 Mar 2006 04:59:04 +0000 (04:59 +0000)]
 - Reorder vrele calls after vput calls to prevent lock order reversals
   between leaf and directory locks.

Found by: kris
Sponsored by: Isilon Systems, Inc.

18 years ago - Define a null_getwritemount to get the mount-point for the lower
Jeff Roberson [Sun, 12 Mar 2006 04:58:18 +0000 (04:58 +0000)]
 - Define a null_getwritemount to get the mount-point for the lower
   filesystem so that nullfs doesn't permit you to circumvent snapshots.

Discussed with: tegge
Sponsored by: Isilon Systems, Inc.

18 years agoThe idea of supporting 'tp' was a fun one, but it is
Tim Kientzle [Sat, 11 Mar 2006 23:59:44 +0000 (23:59 +0000)]
The idea of supporting 'tp' was a fun one, but it is
really not worth the effort to develop and maintain
support for a format that hasn't been used for 30 years. ;-/

18 years agouse the same test as release/Makefile to select WITH_SMP
Sam Leffler [Sat, 11 Mar 2006 19:00:05 +0000 (19:00 +0000)]
use the same test as release/Makefile to select WITH_SMP

Reviewed by: ru

18 years agofix handling of default kernels
Sam Leffler [Sat, 11 Mar 2006 18:59:16 +0000 (18:59 +0000)]
fix handling of default kernels

Reviewed by: ru

18 years agoMake sure that we are adding a path token to the audit record in open(2).
Christian S.J. Peron [Sat, 11 Mar 2006 17:14:05 +0000 (17:14 +0000)]
Make sure that we are adding a path token to the audit record in open(2).
Do this by making sure we are using the AUDITVNODE1 mask in the namei flags.

Obtained from: TrustedBSD Project

18 years agoDon't be noisy in case of shared interrupts.
Poul-Henning Kamp [Sat, 11 Mar 2006 15:39:22 +0000 (15:39 +0000)]
Don't be noisy in case of shared interrupts.

18 years agoadd dependency with firmware module.
Damien Bergamini [Sat, 11 Mar 2006 13:30:21 +0000 (13:30 +0000)]
add dependency with firmware module.
pointed out by Martin Wilke.

18 years agoGo over calcru and friends once more.
Poul-Henning Kamp [Sat, 11 Mar 2006 10:48:19 +0000 (10:48 +0000)]
Go over calcru and friends once more.

Reintroduce the monotonicity for the normal case and make the two
special cases behave in what is belived to be the most sensible fasion.

18 years agoRemove last traces of disk_enumerate()
Poul-Henning Kamp [Sat, 11 Mar 2006 10:24:50 +0000 (10:24 +0000)]
Remove last traces of disk_enumerate()

18 years agoFix "make distribution" when just NO_CRYPT is defined.
Ruslan Ermilov [Sat, 11 Mar 2006 08:51:16 +0000 (08:51 +0000)]
Fix "make distribution" when just NO_CRYPT is defined.

PR: misc/94309
Submitted by: Matthias Lederhofer
MFC after: 3 days

18 years agoRemove debug flag.
Søren Schmidt [Sat, 11 Mar 2006 08:42:08 +0000 (08:42 +0000)]
Remove debug flag.

Spotted by: ru@

18 years agoFix build.
Ruslan Ermilov [Sat, 11 Mar 2006 08:36:15 +0000 (08:36 +0000)]
Fix build.

18 years agoBlock secondary writes while expunging active unlinked files.
Tor Egge [Sat, 11 Mar 2006 01:08:37 +0000 (01:08 +0000)]
Block secondary writes while expunging active unlinked files.

Fix detection of active unlinked files by checking VI_OWEINACT and
VI_DOINGINACT in addition to v_usecount.

Defer inactive handling for unlinked files if the file system is mostly
suspended (secondary writes being blocked).

Perform deferred inactive handling after the file system is resumed.

18 years agoFix multicast support for cs89x0 chips. Just setting the RX_MULTCAST_ACCEPT
Philip Paeps [Fri, 10 Mar 2006 23:50:53 +0000 (23:50 +0000)]
Fix multicast support for cs89x0 chips.  Just setting the RX_MULTCAST_ACCEPT
flag isn't enough - the filter needs to be set up too, or no multicast frames
are accepted.

Sponsored by: Philips Industrial Applications (indirectly)
MFC after: 3 days

18 years agoMicro-optimize invalid UUID check.
Jung-uk Kim [Fri, 10 Mar 2006 23:33:27 +0000 (23:33 +0000)]
Micro-optimize invalid UUID check.

18 years agoo acknowledge interrupts early in the interrupt handler
Damien Bergamini [Fri, 10 Mar 2006 20:35:09 +0000 (20:35 +0000)]
o acknowledge interrupts early in the interrupt handler
o stop processing interrupts after a firmware fatal error or a radio kill
o clarify the possible values for the 'antenna' sysctl.
o by default, let the firmware do antenna diversity.
  the  firmware will periodically switch to another antenna to evaluate the
  signal quality.

18 years agomake use of the firmware(9) subsystem.
Damien Bergamini [Fri, 10 Mar 2006 19:59:09 +0000 (19:59 +0000)]
make use of the firmware(9) subsystem.
use intel's firmware version 3.0 layout.

18 years agoAdd atausb module
Søren Schmidt [Fri, 10 Mar 2006 19:15:20 +0000 (19:15 +0000)]
Add atausb module

18 years agoAdd "device atausb"
Søren Schmidt [Fri, 10 Mar 2006 19:10:05 +0000 (19:10 +0000)]
Add "device atausb"

18 years agoModule that adds support for using USB storage devices through the
Søren Schmidt [Fri, 10 Mar 2006 19:08:52 +0000 (19:08 +0000)]
Module that adds support for using USB storage devices through the
ATA framework. Mainly written to be able to use USB Flash keys.
This is work in progress so use with care :)
Doesn't need CAM and cannot coexist with umass.c

18 years agofix the locking.
Damien Bergamini [Fri, 10 Mar 2006 18:55:30 +0000 (18:55 +0000)]
fix the locking.

18 years agoAdd note about 'audit' group.
Warner Losh [Fri, 10 Mar 2006 18:40:31 +0000 (18:40 +0000)]
Add note about 'audit' group.
Add note about the '_dhcp' user.

While one is expected to run mergemaster -p before installworld, make
a note of the points where this will actively fail due to the addition of
users/groups.

18 years agoUse .Cm for all key words, not just the ones I added. More in line with
Tom Rhodes [Fri, 10 Mar 2006 12:37:19 +0000 (12:37 +0000)]
Use .Cm for all key words, not just the ones I added.  More in line with
mdoc(7) according to ru.

Requested by: ru

18 years agowrite the right unit # on verbose output.
Søren Schmidt [Fri, 10 Mar 2006 12:20:53 +0000 (12:20 +0000)]
write the right unit # on verbose output.

18 years agoDisable an SMP detection on pc98.
Yoshihiro Takahashi [Fri, 10 Mar 2006 12:18:41 +0000 (12:18 +0000)]
Disable an SMP detection on pc98.

18 years agoHopefully fix all nearby style bugs that Bruce has mentioned.
Ruslan Ermilov [Fri, 10 Mar 2006 11:07:39 +0000 (11:07 +0000)]
Hopefully fix all nearby style bugs that Bruce has mentioned.

18 years ago- Fix variable assignment to be portable.
Ruslan Ermilov [Fri, 10 Mar 2006 11:00:11 +0000 (11:00 +0000)]
- Fix variable assignment to be portable.
- "Line up" continuations.

Submitted by: bde

18 years agoAdd entries for new pthread stubs.
David Xu [Fri, 10 Mar 2006 09:58:18 +0000 (09:58 +0000)]
Add entries for new pthread stubs.

18 years agoBlock all signals in helper threads except those should not be blocked.
David Xu [Fri, 10 Mar 2006 08:01:23 +0000 (08:01 +0000)]
Block all signals in helper threads except those should not be blocked.

18 years agoRemove including of libc sources. All the required functions
Daniel Eischen [Fri, 10 Mar 2006 07:58:02 +0000 (07:58 +0000)]
Remove including of libc sources.  All the required functions
are exported by libc with prototypes in our standard headers.
I guess at one time this was necessary, but not any longer.

18 years agoWhen inserting a new component md_provsize metadata field wasn't set, which
Pawel Jakub Dawidek [Fri, 10 Mar 2006 07:41:31 +0000 (07:41 +0000)]
When inserting a new component md_provsize metadata field wasn't set, which
means that old problem was triggered (when two providers end at the same
offset, eg. ad0 and ad0s1 and the wrong was is picked up by gmirror/graid3).

Reported by: Michal Suszko <dry@dry.pl>
MFC after: 3 days

18 years agofix switching between agressive and non-agressive wmm modes
Sam Leffler [Fri, 10 Mar 2006 06:18:03 +0000 (06:18 +0000)]
fix switching between agressive and non-agressive wmm modes

Obtained from: atheros
MFC after: 3 days

18 years agoIt is not necessary to read %gs twice.
David Xu [Fri, 10 Mar 2006 05:55:26 +0000 (05:55 +0000)]
It is not necessary to read %gs twice.

18 years agoFix stack offset to allow gcc's stack aligment code to work correctly.
David Xu [Fri, 10 Mar 2006 02:54:45 +0000 (02:54 +0000)]
Fix stack offset to allow gcc's stack aligment code to work correctly.

MFC after: 3 days

18 years agoRemove unneeded (and broken) usage of MNT_REF()/MNT_REL().
Tor Egge [Fri, 10 Mar 2006 02:31:12 +0000 (02:31 +0000)]
Remove unneeded (and broken) usage of MNT_REF()/MNT_REL().

18 years agoMFp4: Forget the asm inlined version of in_cksum_hdr(). It doesn't work if
Olivier Houchard [Thu, 9 Mar 2006 23:33:59 +0000 (23:33 +0000)]
MFp4: Forget the asm inlined version of in_cksum_hdr(). It doesn't work if
the pointer is unaligned, and it just doesn't worth it.

18 years ago- Implement serial numbers, UUID, and asset tag (turned off by default).
Jung-uk Kim [Thu, 9 Mar 2006 22:49:44 +0000 (22:49 +0000)]
- Implement serial numbers, UUID, and asset tag (turned off by default).
Use 'BOOT_SENSITIVE_INFO=YES' variable to turn them on.
- Use 'uint*_t' instead of 'u_int*_t', correct compilation warnings, and
update copyright while I am here.

18 years agoImplement printf 'X' conversion for both libstand and kernel.
Jung-uk Kim [Thu, 9 Mar 2006 22:37:34 +0000 (22:37 +0000)]
Implement printf 'X' conversion for both libstand and kernel.

18 years agomissed a case that needs WITH_SMP
Sam Leffler [Thu, 9 Mar 2006 21:54:32 +0000 (21:54 +0000)]
missed a case that needs WITH_SMP

Noticed by: kensmith

18 years agoRever the previous changes. It turns out that it perfectly correct
Garance A Drosehn [Thu, 9 Mar 2006 19:52:44 +0000 (19:52 +0000)]
Rever the previous changes.  It turns out that it perfectly correct
for a makefile to set 'NO_MAN=' when the makefile is for a program
that will not create a man page.

Based on reaction from: ru bde

18 years agoFix this to what I've actually submitted.
Ruslan Ermilov [Thu, 9 Mar 2006 17:55:08 +0000 (17:55 +0000)]
Fix this to what I've actually submitted.

18 years agoRevise the names of modules in the recent note on tdfx_linux.
Yaroslav Tykhiy [Thu, 9 Mar 2006 17:50:01 +0000 (17:50 +0000)]
Revise the names of modules in the recent note on tdfx_linux.

18 years agohandle KERNELS as before
Sam Leffler [Thu, 9 Mar 2006 17:11:17 +0000 (17:11 +0000)]
handle KERNELS as before

Submitted by: ru, andrew

18 years agoFlip the switch and don't route interrupts to hyperthreads in a HT system.
John Baldwin [Thu, 9 Mar 2006 16:38:52 +0000 (16:38 +0000)]
Flip the switch and don't route interrupts to hyperthreads in a HT system.
In at least one benchmark this showed around a 20% performance increase.
If other workloads do benefit from having hyperthreads service interrupts,
we can always make this a loader tunable.

MFC after: 3 days
Tested by: ps

18 years agoDon't dereference an uninitialized pointer.
Warner Losh [Thu, 9 Mar 2006 16:28:24 +0000 (16:28 +0000)]
Don't dereference an uninitialized pointer.

18 years agoRevert last change, per ru@'s objection. I misunderstood consensus
Warner Losh [Thu, 9 Mar 2006 16:24:58 +0000 (16:24 +0000)]
Revert last change, per ru@'s objection.  I misunderstood consensus

18 years agoAvoid pulling in the whole <net/pfvar.h> by opaquely declaring
Yaroslav Tykhiy [Thu, 9 Mar 2006 15:54:01 +0000 (15:54 +0000)]
Avoid pulling in the whole <net/pfvar.h> by opaquely declaring
the structs pflog_packet() takes pointers to.

Approved by: mlaier
MFC after: 3 days

18 years agoThe `pf' and `pflog' sources do not depend on DEV_PF or DEV_PFLOG,
Yaroslav Tykhiy [Thu, 9 Mar 2006 15:48:45 +0000 (15:48 +0000)]
The `pf' and `pflog' sources do not depend on DEV_PF or DEV_PFLOG,
which is normal for own files of a device driver.

DEV_FOO should be used if an unrelated kernel file needs to know of
the `foo' driver's static presence.  Obviously, module source files
should never use DEV_*.

18 years agoRevert to setting vlan and vlandev parametes synchronously, as soon
Yaroslav Tykhiy [Thu, 9 Mar 2006 14:58:09 +0000 (14:58 +0000)]
Revert to setting vlan and vlandev parametes synchronously, as soon
as both have been read from the command line.  Still use the callback,
but this time only to verify that both vlan and vlandev have been
found on the command line.

This should allow for control over the relative order of processing
parameters, which is needed to satisfy some caveats of the if_vlan
driver.  E.g., MTU cannot be changed on a vlan interface until it's
attached to its parent.

PR:             bin/94028
Reviewed by:    ru
MFC after:      3 days

18 years agoAdd -F option to not fail on already installed packages.
Poul-Henning Kamp [Thu, 9 Mar 2006 14:49:19 +0000 (14:49 +0000)]
Add -F option to not fail on already installed packages.

Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>

18 years agoIn addition to -b (suppress builds) add -k (suppress kernel build) and
Poul-Henning Kamp [Thu, 9 Mar 2006 14:43:07 +0000 (14:43 +0000)]
In addition to -b (suppress builds) add -k (suppress kernel build) and
-w (suppress world).

18 years agoDon't acquire a lock before calling vlan_unconfig().
Ruslan Ermilov [Thu, 9 Mar 2006 14:42:51 +0000 (14:42 +0000)]
Don't acquire a lock before calling vlan_unconfig().
This fixes a panic when doing "ifconfig ... -vlandev".

OK'ed by: glebius

18 years agoAfter revision 1.4 of `src/usr.sbin/bsnmpd/bsnmpd/Makefile' the
Giorgos Keramidas [Thu, 9 Mar 2006 12:55:02 +0000 (12:55 +0000)]
After revision 1.4 of `src/usr.sbin/bsnmpd/bsnmpd/Makefile' the
gensnmptree utility is required at "make depend" time, because it
is used to generate `oid.h' for bsnmpd.

This means that all versions of HEAD before 2004/01/23 16:22:49 need
gensnmptree as a bootstrap util when it's not already installed as
part of the base system.  The first __FreeBSD_version that we can
assume this can work is 700014 which happened after the gensnmptree
change (in -r 1.263 of `src/sys/sys/param.h', at 2006/02/17 14:14:15).

For __FreeBSD_version values before 700014 add gensnmptree to the
bootstrap tools, to allow upgrades from versions of FreeBSD before
that date.

Approved by: ru, harti

18 years agoOnly use the channel in the request given to ata_completed if its
Søren Schmidt [Thu, 9 Mar 2006 10:25:35 +0000 (10:25 +0000)]
Only use the channel in the request given to ata_completed if its
still present.

18 years agotypo.
Søren Schmidt [Thu, 9 Mar 2006 10:24:03 +0000 (10:24 +0000)]
typo.

18 years agoOops, forgot newline.
Poul-Henning Kamp [Thu, 9 Mar 2006 09:44:10 +0000 (09:44 +0000)]
Oops, forgot newline.

18 years agoAdd slop to "backwards" cpu accounting messages, 3 usec or 1% whichever
Poul-Henning Kamp [Thu, 9 Mar 2006 09:33:17 +0000 (09:33 +0000)]
Add slop to "backwards" cpu accounting messages, 3 usec or 1% whichever
triggers.

This should eliminate all the trivial messages which result from minor
increases in cpu_tick frequency.

Machines which don't du cpu clock fiddling shouldn't issue "backwards"
messages now.

Laptops and other machines where the initial estimate of cputicks may be
waaaay off will still issue warnings.

18 years agosilence cpu_tick calibration and notice only (under bootverbose)
Poul-Henning Kamp [Thu, 9 Mar 2006 09:30:33 +0000 (09:30 +0000)]
silence cpu_tick calibration and notice only (under bootverbose)
when the frequency increases.

18 years agoIgnore kenv strings which overflow the room we have, rather than pretend
Poul-Henning Kamp [Thu, 9 Mar 2006 09:29:41 +0000 (09:29 +0000)]
Ignore kenv strings which overflow the room we have, rather than pretend
we have room for them.

18 years agoGet rid of all the "long long"/"maxint" casting around in printf's.
Søren Schmidt [Thu, 9 Mar 2006 08:34:44 +0000 (08:34 +0000)]
Get rid of all the "long long"/"maxint" casting around in printf's.
On all our platforms intmax == int64_t so simply using %j to print
int64_t's is safe all over, and doesn't pullute the code.

18 years agoRemove _STOPEVENT call, it is already called in issignal, simplify
David Xu [Thu, 9 Mar 2006 08:31:51 +0000 (08:31 +0000)]
Remove _STOPEVENT call, it is already called in issignal, simplify
code for SIGKILL signal.

18 years agons_name_skip was not prefixed by `__'.
Hajimu UMEMOTO [Thu, 9 Mar 2006 03:47:11 +0000 (03:47 +0000)]
ns_name_skip was not prefixed by `__'.

Obtained from: BIND9

18 years agoWhen a process is de-configuring a log file, also stop all of its
Joseph Koshy [Thu, 9 Mar 2006 02:08:12 +0000 (02:08 +0000)]
When a process is de-configuring a log file, also stop all of its
PMCs that require a log file to operate.  This change should fix
PR 90269.

PR: kern/90269
MFC after: 1 week

18 years agoNow that we now spell NO_MAN=xxx MAN=, update the docs.
Warner Losh [Thu, 9 Mar 2006 01:33:38 +0000 (01:33 +0000)]
Now that we now spell NO_MAN=xxx MAN=, update the docs.

Submitted by: John Hein

18 years agoConnect librt to buildworld.
David Xu [Thu, 9 Mar 2006 01:03:58 +0000 (01:03 +0000)]
Connect librt to buildworld.

18 years agocorrect ni_txrate when using a fixed rate; fixes current rate reporting
Sam Leffler [Thu, 9 Mar 2006 00:28:44 +0000 (00:28 +0000)]
correct ni_txrate when using a fixed rate; fixes current rate reporting

MFC after: 3 days

18 years agoRemove mqueue and timer, now they are in librt.
David Xu [Wed, 8 Mar 2006 23:47:04 +0000 (23:47 +0000)]
Remove mqueue and timer, now they are in librt.

18 years agoUse vn_start_secondary_write() and vn_finished_secondary_write() as a
Tor Egge [Wed, 8 Mar 2006 23:43:39 +0000 (23:43 +0000)]
Use vn_start_secondary_write() and vn_finished_secondary_write() as a
replacement for vn_write_suspend_wait() to better account for secondary write
processing.

Close race where secondary writes could be started after ffs_sync() returned
but before the file system was marked as suspended.

Detect if secondary writes or softdep processing occurred during vnode sync
loop in ffs_sync() and retry the loop if needed.

18 years agoRemove mq.c, the POSIX mqueue is implemented in librt.
David Xu [Wed, 8 Mar 2006 23:42:41 +0000 (23:42 +0000)]
Remove mq.c, the POSIX mqueue is implemented in librt.

Suggested by: deischen

18 years agoSwitch these makefiles to use 'MAN=' to indicate they will not generate
Garance A Drosehn [Wed, 8 Mar 2006 22:28:12 +0000 (22:28 +0000)]
Switch these makefiles to use 'MAN=' to indicate they will not generate
a man page, instead of 'NO_MAN='.  'NO_MAN=' is something users would
set, not something a makefile should be using.

Based on comments by: des

18 years agoFix overriding jail_list from command line.
Max Khon [Wed, 8 Mar 2006 20:40:37 +0000 (20:40 +0000)]
Fix overriding jail_list from command line.

MFC after: 3 days

18 years agoFix exec_map resource leaks.
Stephan Uphoff [Wed, 8 Mar 2006 20:21:54 +0000 (20:21 +0000)]
Fix exec_map resource leaks.

Tested by: kris@

18 years agoWhen parsing an RPC request in nfsrv_dorec(), KASSERT that there
Simon L. B. Nielsen [Wed, 8 Mar 2006 20:21:15 +0000 (20:21 +0000)]
When parsing an RPC request in nfsrv_dorec(), KASSERT that there
actually is an mbuf to process.  This catches the missing mbuf before it
would otherwise causes a NULL pointer dereference, which could be
triggered by a 0 length RPC record before the check for such records was
added in rev 1.97.

Approved by: cperciva (mentor)

18 years agokernel install script (missed in previous commit)
Sam Leffler [Wed, 8 Mar 2006 18:03:09 +0000 (18:03 +0000)]
kernel install script (missed in previous commit)

18 years agoRevamp base system packaging of kernels to enable up/smp selection
Sam Leffler [Wed, 8 Mar 2006 18:02:32 +0000 (18:02 +0000)]
Revamp base system packaging of kernels to enable up/smp selection
at runtime and to support distributing additional kernels:
o remove kernel from the base tarball
o add new kernel tarballs
o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP
  config file is present
o add sysinstall support for multiple kernels
o update sysinstall to probe for the number of cpus on a system
  and auto-select smp/up kernel accordingly
o add a post-kernels install hook to fixup /boot/kernel
o add -ldevinfo to boot crunch for sysinstall's cpu probing logic

Notes:
1. On HEAD this code is not currently used because GENERIC kernels
   include SMP.  This work is mainly intended for RELENG_6 where the
   GENERIC kernel is UP.  If HEAD changes to match then just enable
   WITH_SMP in sysinstall/Makefile.
2. The cpu probing support is done with acpi and MPTable; this means
   some systems will require work for auto-detection to work.
3. The handling of /boot/kernel may need to be revisited; for now
   we rename one kernel at the last moment (SMP if installed, otherwise
   GENERIC).  There are other, possibly better, approaches.

Lots of help from ru, emaste, scottl, and jhb.

18 years agoFix output and exit status when daily_mailq_shorten is set to YES
Matteo Riondato [Wed, 8 Mar 2006 17:26:53 +0000 (17:26 +0000)]
Fix output and exit status when daily_mailq_shorten is set to YES

PR: conf/93472
MFC after: 3

18 years agoATA_USB will need to hook into the delayed boot identify to have
Søren Schmidt [Wed, 8 Mar 2006 16:39:01 +0000 (16:39 +0000)]
ATA_USB will need to hook into the delayed boot identify to have
interrupts running, so externalize it.

18 years agoUpdate a DB_SET to DB_FUNC I missed yesterday.
John Baldwin [Wed, 8 Mar 2006 15:47:48 +0000 (15:47 +0000)]
Update a DB_SET to DB_FUNC I missed yesterday.

18 years agoExplain why the first partition should start at offset 16.
Pawel Jakub Dawidek [Wed, 8 Mar 2006 14:17:26 +0000 (14:17 +0000)]
Explain why the first partition should start at offset 16.

Requested by: hrs

18 years agoFix spelling error
Matteo Riondato [Wed, 8 Mar 2006 14:10:38 +0000 (14:10 +0000)]
Fix spelling error

MFC after: 1 day

18 years agoProperly handle the case when the packet secondary zone can't allocate
Andre Oppermann [Wed, 8 Mar 2006 14:05:38 +0000 (14:05 +0000)]
Properly handle the case when the packet secondary zone can't allocate
further mbuf clusters to attach to mbufs.

Reported by: kris
Tested by: kris
Sponsored by: TCP/IP Optimization Fundraise 2005
MFC after: 3 days

18 years agoAlways read the TOC in acd_read_toc even if MEDIA_CHANGED wasn't set.
Søren Schmidt [Wed, 8 Mar 2006 10:14:39 +0000 (10:14 +0000)]
Always read the TOC in acd_read_toc even if MEDIA_CHANGED wasn't set.
Since we cannot (reliably) detect when media has been removed before we
try to touch it, this could leave stale TOC's around.

18 years agoBail out of afd_sense if ENODEV.
Søren Schmidt [Wed, 8 Mar 2006 09:21:48 +0000 (09:21 +0000)]
Bail out of afd_sense if ENODEV.

18 years agoCollapse strncpy/strncat/strncat into a single snprintf, as suggested
Garance A Drosehn [Wed, 8 Mar 2006 09:15:20 +0000 (09:15 +0000)]
Collapse strncpy/strncat/strncat into a single snprintf, as suggested
by pjd.

MFC after: 3 weeks

18 years agoFix the case where the user specifies an alternate heading for some
Garance A Drosehn [Wed, 8 Mar 2006 08:58:44 +0000 (08:58 +0000)]
Fix the case where the user specifies an alternate heading for some
output-format keyword, and the keyword they picked is an alias to
some other keyword.                 E.g.:   ps -o stat=Zustand $$
('stat' is defined as an alias for 'state')

PR: bin/57833
MFC after: 3 weeks