]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
11 years agoRecord my ports commit bit.
marius [Thu, 3 Jan 2013 22:05:20 +0000 (22:05 +0000)]
Record my ports commit bit.

11 years agoDocument the output of the show command. Modified version of patch
wblock [Thu, 3 Jan 2013 21:58:28 +0000 (21:58 +0000)]
Document the output of the show command.  Modified version of patch
provided by Bas Smeelen <b.smeelen@ose.nl>.  Use of 'gpart list'
suggested by by Andrey V. Elsukov <ae@FreeBSD.org>.

PR: docs/174270
Submitted by: Ronald F.Guilmette <rfg@tristatelogic.com>
Reviewed by: ae (block sizes)
MFC after: 1 week

11 years agoSync with driver.
delphij [Thu, 3 Jan 2013 20:31:45 +0000 (20:31 +0000)]
Sync with driver.

MFC after: 2 weeks

11 years agoAllow to specify "cache" and "nocache" as an option for
kib [Thu, 3 Jan 2013 19:18:46 +0000 (19:18 +0000)]
Allow to specify "cache" and "nocache" as an option for
mount_nullfs(8).

Tested by: pho
MFC after: 2 weeks

11 years agoAdd the "nocache" nullfs mount option, which disables the caching of
kib [Thu, 3 Jan 2013 19:17:57 +0000 (19:17 +0000)]
Add the "nocache" nullfs mount option, which disables the caching of
the free nullfs vnodes, switching nullfs behaviour to pre-r240285.
The option is mostly intended as the last-resort when higher pressure
on the vnode cache due to doubling of the vnode counts is not
desirable.

Note that disabling the cache costs more than 2x wall time in the
metadata-hungry scenarious.  The default is "cache".

Tested and benchmarked by: pho (previous version)
MFC after: 2 weeks

11 years agoEnable the UFS quotas for big-iron GENERIC kernels.
kib [Thu, 3 Jan 2013 19:03:41 +0000 (19:03 +0000)]
Enable the UFS quotas for big-iron GENERIC kernels.

Discussed with:       mckusick
MFC after:       2 weeks

11 years agoDon't call the spectral methods for NICS that don't implement them.
adrian [Thu, 3 Jan 2013 19:03:03 +0000 (19:03 +0000)]
Don't call the spectral methods for NICS that don't implement them.

11 years agoRemove the deprecated MNT_VNODE_FOREACH interface. Use the
kib [Thu, 3 Jan 2013 19:02:52 +0000 (19:02 +0000)]
Remove the deprecated MNT_VNODE_FOREACH interface.  Use the
MNT_VNODE_FOREACH_ALL instead.

11 years agoRemove the last use of the deprecated MNT_VNODE_FOREACH interface in
kib [Thu, 3 Jan 2013 19:01:56 +0000 (19:01 +0000)]
Remove the last use of the deprecated MNT_VNODE_FOREACH interface in
the tree.

With the help from: mjg
Tested by: Ronald Klop <ronald-freebsd8@klop.yi.org>
MFC after: 2 weeks

11 years agoTone down the encouragement to use cvsup. Add directions to the handbook
peter [Thu, 3 Jan 2013 16:15:35 +0000 (16:15 +0000)]
Tone down the encouragement to use cvsup.  Add directions to the handbook
pages that cover the more current methods and bring closer to reality.

11 years agoMake sure to update the mtime of a logfile after archiving it. This
markj [Thu, 3 Jan 2013 16:14:51 +0000 (16:14 +0000)]
Make sure to update the mtime of a logfile after archiving it. This
ensures that the next rotation happens at the correct time when using
interval-based rotations.

PR: bin/174438
Reviewed by: gad
Approved by: rstone (co-mentor)
MFC after: 1 week

11 years agoHave -n imply -r, since dry-run mode obviously doesn't require root
markj [Thu, 3 Jan 2013 16:12:48 +0000 (16:12 +0000)]
Have -n imply -r, since dry-run mode obviously doesn't require root
privileges.

Approved by: rstone (co-mentor)
MFC after: 1 week

11 years agoFix a typo in an error message.
markj [Thu, 3 Jan 2013 16:11:24 +0000 (16:11 +0000)]
Fix a typo in an error message.

Approved by: rstone (co-mentor)
MFC after: 1 week

11 years agoComments.
dteske [Thu, 3 Jan 2013 15:48:00 +0000 (15:48 +0000)]
Comments.

11 years agoRemove files not connected to the build. It's confusing enough that
marius [Thu, 3 Jan 2013 15:31:23 +0000 (15:31 +0000)]
Remove files not connected to the build. It's confusing enough that
we still have two not quite the same evtchn.c left over.

MFC after: 3 day

11 years agoAs discussed on -current last October, remove the firewire drivers from
des [Thu, 3 Jan 2013 14:30:24 +0000 (14:30 +0000)]
As discussed on -current last October, remove the firewire drivers from
GENERIC.

11 years ago- Replace partially incorrect function names in panic(9) strings with
marius [Thu, 3 Jan 2013 13:44:25 +0000 (13:44 +0000)]
- Replace partially incorrect function names in panic(9) strings with
  __func__ and add some missing ones.
- Remove a stale comment.
- Remove unused NUM_ELEMENTS macro.
- Remove extra empty lines.
- Use DEVMETHOD_END.
- Use NULL rather than 0 for pointers.

MFC after: 3 days

11 years ago- Fix !SMP build.
marius [Thu, 3 Jan 2013 13:42:45 +0000 (13:42 +0000)]
- Fix !SMP build.
- Replace incorrect function names in printf(9) strings with __func__.
- Make xctrl_shutdown_reasons table const.
- Use nitems() rather than rolling an own version.
- Use DEVMETHOD_END.
- Use NULL rather than 0 for pointers.

MFC after: 3 days

11 years agoTemporarily revert rev 244678. This is causing loopback problems with
peter [Thu, 3 Jan 2013 10:21:28 +0000 (10:21 +0000)]
Temporarily revert rev 244678.  This is causing loopback problems with
the lo (loopback) interfaces.

11 years agoMFV: one-true-awk 20121220.
delphij [Thu, 3 Jan 2013 07:25:30 +0000 (07:25 +0000)]
MFV: one-true-awk 20121220.

MFC after: 1 month

11 years agoFix !INVARIANTS && !SMP build.
marius [Thu, 3 Jan 2013 01:09:50 +0000 (01:09 +0000)]
Fix !INVARIANTS && !SMP build.

MFC after: 3 days

11 years agoRemove bogus '-' from getopt(3) string hit when porting daemon(8) to
marius [Thu, 3 Jan 2013 00:49:11 +0000 (00:49 +0000)]
Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
GNU/Linux *duck*.

MFC after: 1 week

11 years agoUse the right USB clock type on the EdgeRouter Lite. This fixes USB.
jmallett [Wed, 2 Jan 2013 23:29:54 +0000 (23:29 +0000)]
Use the right USB clock type on the EdgeRouter Lite.  This fixes USB.

11 years agoAdd basic support for the Ubiquiti EdgeRouter Lite.
jmallett [Wed, 2 Jan 2013 23:17:50 +0000 (23:17 +0000)]
Add basic support for the Ubiquiti EdgeRouter Lite.

Note that USB does not currently work, and the flash is connected via USB, so
local storage is not working.

11 years agoAdd Intel Lynx Point PCH SATA Controller Device IDs
jfv [Wed, 2 Jan 2013 22:26:46 +0000 (22:26 +0000)]
Add Intel Lynx Point PCH SATA Controller Device IDs

11 years agoAdd Intel Lynx Point PCH SMBus Device IDs
jfv [Wed, 2 Jan 2013 22:01:26 +0000 (22:01 +0000)]
Add Intel Lynx Point PCH SMBus Device IDs

11 years agoAdd Intel Lynx Point PCH HD Audio Device IDs
jfv [Wed, 2 Jan 2013 21:56:58 +0000 (21:56 +0000)]
Add Intel Lynx Point PCH HD Audio Device IDs

11 years agoAdd support for new Intel Lynx Point PCH - Watchdog Timer Device IDs
jfv [Wed, 2 Jan 2013 21:45:20 +0000 (21:45 +0000)]
Add support for new Intel Lynx Point PCH - Watchdog Timer Device IDs

11 years agoIndicate that we are using OpenSSL with some local modifications.
delphij [Wed, 2 Jan 2013 21:00:00 +0000 (21:00 +0000)]
Indicate that we are using OpenSSL with some local modifications.

X-MFC after: with r244974

11 years agoMFV r244973:
delphij [Wed, 2 Jan 2013 20:58:46 +0000 (20:58 +0000)]
MFV r244973:

  Integrate OpenSSL changeset 22950 (appro):

        bn_word.c: fix overflow bug in BN_add_word.

MFC after: 2 weeks

11 years agoDisable clang for athstats for now.
adrian [Wed, 2 Jan 2013 18:49:40 +0000 (18:49 +0000)]
Disable clang for athstats for now.

11 years agoAdd missing err() format string.
adrian [Wed, 2 Jan 2013 18:33:48 +0000 (18:33 +0000)]
Add missing err() format string.

11 years agoFix missing err() format string.
adrian [Wed, 2 Jan 2013 18:29:54 +0000 (18:29 +0000)]
Fix missing err() format string.

11 years agoFix some conversions to keep clang happy.
adrian [Wed, 2 Jan 2013 18:29:11 +0000 (18:29 +0000)]
Fix some conversions to keep clang happy.

11 years agoFix some clang warnings!
adrian [Wed, 2 Jan 2013 18:26:32 +0000 (18:26 +0000)]
Fix some clang warnings!

11 years agoFix up some warnings from clang.
adrian [Wed, 2 Jan 2013 18:21:24 +0000 (18:21 +0000)]
Fix up some warnings from clang.

This still triggers a bug in clang..

11 years agoAdd missing err() format strings.
adrian [Wed, 2 Jan 2013 18:14:26 +0000 (18:14 +0000)]
Add missing err() format strings.

Thanks to: clang

11 years ago* Add missing err() string formats;
adrian [Wed, 2 Jan 2013 18:12:06 +0000 (18:12 +0000)]
* Add missing err() string formats;
* Fix up a printf() type mismatch.

Thanks to: clang

11 years ago* Add missing format specifier for err()
adrian [Wed, 2 Jan 2013 18:09:30 +0000 (18:09 +0000)]
* Add missing format specifier for err()
* add missing exit(0)
* Fix some operator evaluation complaints.

Thanks to: clang

11 years agoFix some printf() formats.
adrian [Wed, 2 Jan 2013 18:05:31 +0000 (18:05 +0000)]
Fix some printf() formats.

Found by: clang

11 years agoFix incorrect format string.
adrian [Wed, 2 Jan 2013 18:03:19 +0000 (18:03 +0000)]
Fix incorrect format string.

11 years agoMake sade actually be a symlink to partedit, as per the commit message in
nwhitehorn [Wed, 2 Jan 2013 13:25:11 +0000 (13:25 +0000)]
Make sade actually be a symlink to partedit, as per the commit message in
r244859, rather than a hardlink. This fixes installation if /usr/sbin
is on a different filesystem than /usr/libexec.

Submitted by: se

11 years agoAdd missing dependancy.
hselasky [Wed, 2 Jan 2013 07:33:43 +0000 (07:33 +0000)]
Add missing dependancy.

Submitted by: Michael Butler
MFC after: 1 week

11 years agoAdd a very skeletal spectral scan control application.
adrian [Wed, 2 Jan 2013 04:02:27 +0000 (04:02 +0000)]
Add a very skeletal spectral scan control application.

The main use for this is to manually trigger spectral scan operations
(athspectral -i athX start) whilst doing debugging.

11 years agoLink if_ath_spectral.c into the build.
adrian [Wed, 2 Jan 2013 04:00:54 +0000 (04:00 +0000)]
Link if_ath_spectral.c into the build.

11 years agoAdd a new (skeleton) spectral mode manager module.
adrian [Wed, 2 Jan 2013 03:59:02 +0000 (03:59 +0000)]
Add a new (skeleton) spectral mode manager module.

11 years agoFix the short repeat option code to not flip the option to 0 when
adrian [Wed, 2 Jan 2013 03:56:20 +0000 (03:56 +0000)]
Fix the short repeat option code to not flip the option to 0 when
we call this w/ NOVAL set.

11 years agoAdd spectral HAL accessor methods.
adrian [Wed, 2 Jan 2013 01:40:23 +0000 (01:40 +0000)]
Add spectral HAL accessor methods.

11 years agoAdd a method to explicitly disable radar reporting if required.
adrian [Wed, 2 Jan 2013 01:36:10 +0000 (01:36 +0000)]
Add a method to explicitly disable radar reporting if required.

11 years agoAdd missing update to link ar5416_spectral.c into the build.
adrian [Wed, 2 Jan 2013 01:24:36 +0000 (01:24 +0000)]
Add missing update to link ar5416_spectral.c into the build.

11 years agoBring over the basic spectral scan framework code from Qualcomm Atheros.
adrian [Wed, 2 Jan 2013 00:38:01 +0000 (00:38 +0000)]
Bring over the basic spectral scan framework code from Qualcomm Atheros.

This includes the HAL routines to setup, enable/activate/disable spectral
scan and configure the relevant registers.

This still requires driver interaction to enable spectral scan reporting.
Specifically:

* call ah_spectralConfigure() to configure and enable spectral scan;
* .. there's currently no way to disable spectral scan... that will have
  to follow.
* call ah_spectralStart() to force start a spectral report;
* call ah_spectralStop() to force stop an active spectral report.

The spectral scan results appear as PHY errors (type 0x5 on the AR9280,
same as radar) but with the spectral scan bit set (0x10 in the last byte
of the frame) identifying it as a spectral report rather than a radar
FFT report.

Caveats:

* It's likely quite difficult to run spectral _and_ radar at the same
  time.  Enabling spectral scan disables the radar thresholds but
  leaves radar enabled.  Thus, the driver (for now) needs to ensure
  that only one or the other is enabled.

* .. it needs testing on HT40 mode.

Tested:

* AR9280 in STA mode, HT/20 only

TODO:

* Test on AR9285, AR9287;
* Test in both HT20 and HT40 modes;
* .. all the driver glue.

Obtained from: Qualcomm Atheros

11 years agoMerge @219932 from Perforce:
rwatson [Tue, 1 Jan 2013 19:42:06 +0000 (19:42 +0000)]
Merge @219932 from Perforce:

  FDT headers can't be included if the kernel is compiled without
  FDT support, due to dependence on generated kobj headers.  BERI
  supports both FDT and non-FDT kernels.

  Spotted by: bz

11 years agolibedit: bind the correct command when using "bind -k".
pfg [Tue, 1 Jan 2013 19:20:51 +0000 (19:20 +0000)]
libedit: bind the correct command when using "bind -k".

"ed-argument-digit" (i. e. command 0) was incorrectly used
instead.
This bug comes from the original sources imported in 1994
and has been confirmed in upstream NetBSD.

Reported by: Yamagi Burmeister
Submitted by: Christoph Mallon
MFC after: 3 days

11 years agoOverhauled CPSW driver for TI CPSW Ethernet module
kientzle [Tue, 1 Jan 2013 18:55:04 +0000 (18:55 +0000)]
Overhauled CPSW driver for TI CPSW Ethernet module
(as used in AM335x SoC for BeagleBone).

Among other things:
 * Watchdog reset doesn't hang the driver.
 * Disconnecting cable doesn't hang the driver.
 * ifconfig up/down doesn't hang the driver
 * Out-of-memory no longer panics the driver.

Known issues:
 * Doesn't have good support for fragmented packets
   (calls m_defrag() on TX, assumes RX packets are never fragmented)
 * Promisc and allmulti still unimplimented
 * addmulti and delmulti still unimplemented
 * TX queue still stalls (but watchdog now consistently recovers in ~5s)
 * No sysctl monitoring
 * Only supports port0
 * No switch configuration support
 * Not tested on anything but BeagleBone

Committed from: BeagleBone

11 years agoFix a dependency
antoine [Tue, 1 Jan 2013 18:31:21 +0000 (18:31 +0000)]
Fix a dependency

11 years agoAdd missing DPADD
antoine [Tue, 1 Jan 2013 18:29:25 +0000 (18:29 +0000)]
Add missing DPADD

11 years agopflogd does not depend on libutil
antoine [Tue, 1 Jan 2013 18:28:21 +0000 (18:28 +0000)]
pflogd does not depend on libutil

11 years agoAdd missing DPADD.
antoine [Tue, 1 Jan 2013 18:25:14 +0000 (18:25 +0000)]
Add missing DPADD.

11 years agoRemove unneeded semicolons.
antoine [Tue, 1 Jan 2013 18:16:49 +0000 (18:16 +0000)]
Remove unneeded semicolons.

Reviewed by: md5 of the object files

11 years agoThe process_deferred_inactive() function locks the vnodes of the ufs
kib [Tue, 1 Jan 2013 16:14:48 +0000 (16:14 +0000)]
The process_deferred_inactive() function locks the vnodes of the ufs
mount, which means that is must not be called while the snaplock is
owned.  The vfs_write_resume(9) does call the function as the
VFS_SUSP_CLEAN() method, which is too early and falls into the region
still protected by snaplock.

Add yet another flag for the vfs_write_resume_flags() to avoid calling
suspension cleanup handler after the suspend is lifted, and use it in
the ffs_snapshot() call to vfs_write_resume.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks

11 years agosh: Fix a Subversion property.
jilles [Tue, 1 Jan 2013 12:48:24 +0000 (12:48 +0000)]
sh: Fix a Subversion property.

Test scripts should have keywords; only pure output that must match exactly
should have keywords disabled.

11 years agoDocument the known values of the RTL release field in the cache is register
andrew [Tue, 1 Jan 2013 03:48:39 +0000 (03:48 +0000)]
Document the known values of the RTL release field in the cache is register

11 years agoAdd interrupt for PL310 controller
gonzo [Mon, 31 Dec 2012 22:48:54 +0000 (22:48 +0000)]
Add interrupt for PL310 controller

11 years agoExplicitly specify that the beforelinking target depends on the
markj [Mon, 31 Dec 2012 21:54:43 +0000 (21:54 +0000)]
Explicitly specify that the beforelinking target depends on the
generated object files, ensuring that the beforelinking recipe won't be
executed until compilation has finished.

Also define SHLIB_NAME_FULL to denote ${SHLIB_NAME}.debug if
DEBUG_FILES is set and ${SHLIB_NAME} otherwise, which helps avoid
obfuscating the compilation and linking rules.

Reviewed by: emaste
Approved by: emaste (co-mentor)

11 years agoPL310 driver update:
gonzo [Mon, 31 Dec 2012 21:19:44 +0000 (21:19 +0000)]
PL310 driver update:

- Add pl310.disable tunable to disable L2 cache altogether. In
    order to make sure that it's 100% disabled we use cache event
    counters for cache line eviction and read allocate events
    and panic if any of these counters increased. This is purely
    for debugging purpose
- Direct access DEBUG_CTRL and CTRL might be unavailable in
    unsecure mode, so use platform-specific functions for
    these registers
- Replace #if 1 with proper erratum numbers
- Add erratum 753970 workaround
- Remove wait function for atomic operations
- Protect cache operations with spin mutex in order to prevent race condition
- Disable instruction cache prefetch and make sure data cache
    prefetch is enabled in OMAP4-specific intialization

11 years agoMerge r234561 from busdma_machdep.c to ARMv6 version of busdma:
gonzo [Mon, 31 Dec 2012 21:00:38 +0000 (21:00 +0000)]
Merge r234561 from busdma_machdep.c to ARMv6 version of busdma:

Interrupts must be disabled while handling a partial cache line flush,
as otherwise the interrupt handling code may modify data in the non-DMA
part of the cache line while we have it stashed away in the temporary
stack buffer, then we end up restoring a stale value.

PR:             160431
Submitted by:   Ian Lepore

11 years agoHappy New Year 2013!
bz [Mon, 31 Dec 2012 11:22:55 +0000 (11:22 +0000)]
Happy New Year 2013!

11 years agoIf FDT is compiled into a FreeBSD/beri kernel, initialise OpenFirmware.
rwatson [Mon, 31 Dec 2012 11:06:37 +0000 (11:06 +0000)]
If FDT is compiled into a FreeBSD/beri kernel, initialise OpenFirmware.

Sponsored by: DARPA, AFRL

11 years agoWhen a partially initialised FDT-based device instance can't attach,
rwatson [Sun, 30 Dec 2012 21:10:48 +0000 (21:10 +0000)]
When a partially initialised FDT-based device instance can't attach,
perhaps due to an interrupt configuration problem, do not try to free
device ivars that have not yet have been allocated.

MFC after: 1 week
Reviewed by: gonzo
Sponsored by: DARPA, AFRL

11 years agoWith the old sade removed, libdisk is no longer used by anything in HEAD
nwhitehorn [Sun, 30 Dec 2012 16:28:06 +0000 (16:28 +0000)]
With the old sade removed, libdisk is no longer used by anything in HEAD
and uses a number of problematic pre-gpart interfaces. Since it has been
entirely obsoleted by interfaces in geom, remove it.

11 years ago- Use BN_set_negative() and BN_is_negative() instead of subtracting or
kevlo [Sun, 30 Dec 2012 15:20:27 +0000 (15:20 +0000)]
- Use BN_set_negative() and BN_is_negative() instead of subtracting or
  comparing to zero.
- Fix fractional number exponentiation, especially for negative exponents.

Obtained from: OpenBSD

11 years agoAdd a man page for the new sade(8), which is mostly the same uninformative
nwhitehorn [Sun, 30 Dec 2012 14:44:14 +0000 (14:44 +0000)]
Add a man page for the new sade(8), which is mostly the same uninformative
manpage as the old sade(8).

11 years agoReplace sade the extracted piece of sysinstall with sade the extracted
nwhitehorn [Sun, 30 Dec 2012 14:35:00 +0000 (14:35 +0000)]
Replace sade the extracted piece of sysinstall with sade the extracted
piece of bsdinstall (although this time with a symlink instead of duplicated
source code).

Discussed on: freebsd-geom
MFC after: 3 months

11 years agoIf invoked as sade, don't complain about having a filesystem on / already
nwhitehorn [Sun, 30 Dec 2012 14:33:16 +0000 (14:33 +0000)]
If invoked as sade, don't complain about having a filesystem on / already
-- it's something you expect (and indeed hope for).

MFC after: 1 week

11 years agoAllow to create pool even if mount point directory is not empty if -f is given.
pjd [Sun, 30 Dec 2012 13:47:40 +0000 (13:47 +0000)]
Allow to create pool even if mount point directory is not empty if -f is given.

Obtained from: WHEEL Systems

11 years agoAdd directories which were wrongly created during auditdistd addition.
ume [Sun, 30 Dec 2012 08:00:40 +0000 (08:00 +0000)]
Add directories which were wrongly created during auditdistd addition.

Requested by: netchild

11 years agoAdd the initial HAL glue for the spectral analysis support.
adrian [Sun, 30 Dec 2012 06:48:12 +0000 (06:48 +0000)]
Add the initial HAL glue for the spectral analysis support.

* Finish adding the HAL capability to announce whether a NIC supports
  spectral scan or not;
* Add spectral scan methods to the HAL structure;
* Add HAL_SPECTRAL_PARAM for configuration of the spectral scan logic.

The capability ID and HAL_SPECTRAL_PARAM struct are from Qualcomm
Atheros.

11 years agoAdd spectral scan capability.
adrian [Sun, 30 Dec 2012 06:46:11 +0000 (06:46 +0000)]
Add spectral scan capability.

11 years agoRevert r241818 that updated dialog to 20120706. This turns out to horribly
nwhitehorn [Sun, 30 Dec 2012 04:22:34 +0000 (04:22 +0000)]
Revert r241818 that updated dialog to 20120706. This turns out to horribly
break mixed form dialogs in conjunction with the FreeBSD termcap, making
the bsdinstall partition editor Add dialog, among other things, completely
nonfunctional. This restores dialog 20110707.

11 years agoAdd new USB ID.
hselasky [Sat, 29 Dec 2012 21:22:38 +0000 (21:22 +0000)]
Add new USB ID.

PR: usb/174814
Submitted by: Andy Balholm
MFC after: 1 week

11 years agoMinor changes to force commit these files so new freebsd*.cf files are
gshapiro [Sat, 29 Dec 2012 20:42:28 +0000 (20:42 +0000)]
Minor changes to force commit these files so new freebsd*.cf files are
built to use the new sendmail-8.14.6/cf tree.

While here, update DNSBL link once again.

MFC after: 4 days

11 years agoUpdate import info based on recent experiences and sendmail 8.14.6 import.
gshapiro [Sat, 29 Dec 2012 20:38:57 +0000 (20:38 +0000)]
Update import info based on recent experiences and sendmail 8.14.6 import.

MFC after: 4 days

11 years agoMerge sendmail 8.14.6 to HEAD
gshapiro [Sat, 29 Dec 2012 20:30:46 +0000 (20:30 +0000)]
Merge sendmail 8.14.6 to HEAD

MFC after: 4 days

11 years agoAdd missing closing quote on commented out example
gshapiro [Sat, 29 Dec 2012 19:57:52 +0000 (19:57 +0000)]
Add missing closing quote on commented out example

PR: bin/174108
Obtained from: Julian H. Stacey
MFC after: 1 day

11 years agoTest commit to make sure commit mail works after moving the server.
peter [Sat, 29 Dec 2012 16:03:23 +0000 (16:03 +0000)]
Test commit to make sure commit mail works after moving the server.

Approved by: core (implicit)

11 years agoComments.
dteske [Sat, 29 Dec 2012 00:30:30 +0000 (00:30 +0000)]
Comments.

11 years agoAdd missing enforcement of height restriction after minor adjustment.
dteske [Sat, 29 Dec 2012 00:06:26 +0000 (00:06 +0000)]
Add missing enforcement of height restriction after minor adjustment.

11 years agoAdd support for running without a controlling terminal (for example, when
dteske [Sat, 29 Dec 2012 00:01:24 +0000 (00:01 +0000)]
Add support for running without a controlling terminal (for example, when
running as an rvalue to a pipe).

11 years agoAllow debug output to be logged to a file (set $debugFile to target pathname)
dteske [Fri, 28 Dec 2012 23:49:17 +0000 (23:49 +0000)]
Allow debug output to be logged to a file (set $debugFile to target pathname)
or both stdout and a file (precede $debugFile pathname with a plus-sign, `+').

11 years agoWhitespace.
dteske [Fri, 28 Dec 2012 23:40:13 +0000 (23:40 +0000)]
Whitespace.

11 years agoFix incorrect function name. s/[[:<:]]dialog_clear/f_&/
dteske [Fri, 28 Dec 2012 23:27:17 +0000 (23:27 +0000)]
Fix incorrect function name. s/[[:<:]]dialog_clear/f_&/

11 years agoIt's no longer necessary to explicitly specify isa bus.
delphij [Fri, 28 Dec 2012 23:21:54 +0000 (23:21 +0000)]
It's no longer necessary to explicitly specify isa bus.

MFC after: 2 weeks

11 years agoMake it possible to atomically resume writes on the mount and account
kib [Fri, 28 Dec 2012 23:08:30 +0000 (23:08 +0000)]
Make it possible to atomically resume writes on the mount and account
the write start, by adding a variation of the vfs_write_resume(9)
which accepts flags.

Use the new function to prevent a deadlock between parallel suspension
and snapshotting a UFS mount.  The ffs_snapshot() code performed
vfs_write_resume() followed by vn_start_write() while owning the
snaplock.  If the suspension intervene between resume and
vn_start_write(), the deadlock occured after the suspending thread
tried to lock the snaplock, most typically during the write in the
ffs_copyonwrite().

Reported and tested by: Andreas Longwitz <longwitz@incore.de>
Reviewed by: mckusick
MFC after: 2 weeks
X-MFC-note: make the vfs_write_resume(9) function a macro after the MFC,
in HEAD

11 years agogcc: avoid generating negative values to DW_AT_byte_size.
pfg [Fri, 28 Dec 2012 22:06:50 +0000 (22:06 +0000)]
gcc: avoid generating negative values to DW_AT_byte_size.

The previous change was actually a NOP because size is
unsigned and compilers are dumb.

Submitted by: Christoph Mallon
MFC after: 1 week

11 years agoFix wording nit.
gjb [Fri, 28 Dec 2012 22:06:33 +0000 (22:06 +0000)]
Fix wording nit.

PR: 174787
Submitted by: Cody Rank
MFC after: 3 days

11 years agoFix typo in comment.
bapt [Fri, 28 Dec 2012 21:59:47 +0000 (21:59 +0000)]
Fix typo in comment.

Submitted by: Christoph Mallon <christoph.mallon@gmx.de>

11 years agoAdd DEVICE_IDENTIFY method for wbwd(4), required on most of recent
delphij [Fri, 28 Dec 2012 21:35:47 +0000 (21:35 +0000)]
Add DEVICE_IDENTIFY method for wbwd(4), required on most of recent
Supermicro motherboards.

Tested on X8STi and X8DTH boards.

Sponsored by: iXsystems, Inc.
MFC after: 2 weeks

11 years agoUse DEVMETHOD_END.
delphij [Fri, 28 Dec 2012 20:44:23 +0000 (20:44 +0000)]
Use DEVMETHOD_END.

MFC after: 2 weeks

11 years agoSimplify pointing dst after the end of all the gr_mem pointers in newgr
bapt [Fri, 28 Dec 2012 20:44:10 +0000 (20:44 +0000)]
Simplify pointing dst after the end of all the gr_mem pointers in newgr

Submitted by: pjd
Reviewed by: db

11 years agoerrno = ENOMEM was supposed to be removed not return (NULL);
bapt [Fri, 28 Dec 2012 20:30:04 +0000 (20:30 +0000)]
errno = ENOMEM was supposed to be removed not return (NULL);

Submitted by: gcooper