]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
13 years agoMFC r210331-r210333,r210335,r210336,r210338,r210340,r210341,r210559.
kaiw [Sat, 4 Sep 2010 13:13:00 +0000 (13:13 +0000)]
MFC r210331-r210333,r210335,r210336,r210338,r210340,r210341,r210559.

r210331:
  Add a new ELF type denoting GNU style hash tables.

r210332:
  Changes for supporting GNU Hash sections.

r210333:
  Note that the *_fsize() functions are only defined for ELF types that
  have a fixed size.

r210335:
  - Return zero for file sizes of ELF types that have a variable size.
  - Neaten a few comments.

r210336:
  Reduce verbosity.

r210338:
  Perform additional checks when translating between file and memory
  representations of ELF types.

  The ELF(3) API allows applications to request a conversion that is
  `in-place', i.e., with source and destinations data buffers being
  the same.  However, the file and memory sizes of ELF sections that
  have additional internal structure, such as those of type `Elf_Note',
  or `Elf_GNU_Hash_Header', can be determined only known after the
  type-specific headers that comprise the first few words in these
  sections are read and translated.

  Pass in the size of destination buffer to type translation routines
  in "libelf_convert.m4" and have these routines return an error code
  if the translated data would not fit inside the destination buffer.

r210340:
  - Document that the *fsize() functions return a size of 1 for Elf
    types that don't have a fixed size.
  - The *fsize() functions should return a size of 1, for variable length
    types.
  - Redefine symbol ELF_T_LAST to match the current end of the list.

r210341:
  Add support for translating sections of type ELF_T_GNUHASH.

r210559:
  Protect GNUHASH translation functions with #ifdef; unbreak cross
  toolchain build.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212208 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210351-r210353,r211192.
kaiw [Sat, 4 Sep 2010 13:00:22 +0000 (13:00 +0000)]
MFC r210351-r210353,r211192.

r210351:
  * Note that ar(1) archives may also be opened using `elf_memory(3)`.
  * Ignore the passed in value of the `fd` argument for ar(1) archives
    opened with elf_memory(3).

r210352:
  Add a cross-reference to `elf_rawfile(3)`.

r210353:
  * Remove a superfluous error description.
  * Document an additional error that may be returned: `ELF_E_ARCHIVE`.

r211192:
  Add translation support for section type SHT_SUNW_dof.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212206 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210344,r210345,r210348.
kaiw [Sat, 4 Sep 2010 12:52:44 +0000 (12:52 +0000)]
MFC r210344,r210345,r210348.

r210344:
  Avoid switching between "unsigned char" and "char" in the C code
  generated from "libelf_convert.m4".

r210345:
  * Deprecate `elf_getshnum()`, `elf_getphnum()` and `elf_getshstrndx()` in
    favour of `elf_getshdrnum()`, `elf_getphdrnum()` and `elf_getshdrstrndx()`
    respectively.
  * Add new manual pages for `elf_getshdrstrndx()`, `elf_getphdrnum()` and
    `elf_getshdrnum()`.
  * Add a deprecation warning for `elf_getshstrndx()`, `elf_getphnum()` and
    `elf_getshnum()`.

r210348:
  Move helper functions `_libelf_ar_get_{name,number,string}()` and
  `_libelf_ar_open()` to a new compilation unit "libelf_ar_util.c"
  to break the circular dependency between "elf_memory.o" and
  "libelf_ar.o".

git-svn-id: svn://svn.freebsd.org/base/stable/8@212204 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210329,r210330,r210347.
kaiw [Sat, 4 Sep 2010 12:40:06 +0000 (12:40 +0000)]
MFC r210329,r210330,r210347.

r210329:
  Use <unistd.h> to declare the prototype for ftruncate().

r210330:
  Allow an application that updates only the ELF Ehdr to work.

r210347:
  Fix a memory leak.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212202 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210325,r210326,r210328,r210349
kaiw [Sat, 4 Sep 2010 12:19:19 +0000 (12:19 +0000)]
MFC r210325,r210326,r210328,r210349

r210325:
  Bug fix: when updating headers using the gelf_update_*() functions,
  the appropriate `dirty' bit needs to be set for both the Elf32 and
  Elf64 case.

r210326:
  Improve compatibility with other implementations of the ELF(3) API:
  when an output file has no program headers, set the 'e_phentsize'
  field of the ELF executable header to zero.

r210328:
  Bug fix: permit the creation of zero-sized sections.

r210349:
  Remove a redundant word.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212200 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210324, r210438.
kaiw [Sat, 4 Sep 2010 12:06:02 +0000 (12:06 +0000)]
MFC r210324, r210438.

r210324:
  - Correctly handle sections of type SHT_NOBITS.  For these sections:
    - elf_getdata() and elf_rawdata() should return an "Elf_Data" structure
      that has its "d_buf" member set to NULL and "d_size" member set to
      the nominal 'size' of the section.
    - Update the manual page for these functions.
  - Fix a memory leak in an error handling path inside elf_getdata().
  - Use _libelf_allocate_data() in elf_newdata() for consistency.

r210438: (np)
  Catch up with r210324.  d_buf will be NULL for SHT_NOBITS sections, do not
  attempt to copy from it in that case.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212198 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210321:
kaiw [Sat, 4 Sep 2010 11:50:17 +0000 (11:50 +0000)]
MFC r210321:
  Remove a superfluous comment.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212196 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211513: Call dev_rel() in error paths.
jh [Sat, 4 Sep 2010 06:36:12 +0000 (06:36 +0000)]
MFC r211513: Call dev_rel() in error paths.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212194 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211922:
mav [Sat, 4 Sep 2010 06:09:08 +0000 (06:09 +0000)]
MFC r211922:
Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing
entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212193 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211920:
mav [Sat, 4 Sep 2010 06:05:57 +0000 (06:05 +0000)]
MFC r211920:
Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing
entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212192 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209652: sh: Remove comment that the comma operator is missing
jilles [Fri, 3 Sep 2010 21:59:12 +0000 (21:59 +0000)]
MFC r209652: sh: Remove comment that the comma operator is missing
in arithmetic expansion.

The comma operator is not listed in POSIX.1-2008 XCU 1.1.2.1 Arithmetic
Precision and Operations (referenced by XCU 2.6.4 Arithmetic Expansion) and
is therefore not required.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212189 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208476,208629,210738,211080,211341,211467: New tests
jilles [Fri, 3 Sep 2010 21:51:38 +0000 (21:51 +0000)]
MFC r208476,208629,210738,211080,211341,211467: New tests
that also work with stable/8 sh.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212188 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC 212073:
jamie [Fri, 3 Sep 2010 15:34:28 +0000 (15:34 +0000)]
MFC 212073:

  Don't over-allocate array values in jailparam_export.

MFC 212074:

  Whitespace and comment fixes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212179 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r212072:
jamie [Fri, 3 Sep 2010 15:33:15 +0000 (15:33 +0000)]
MFC r212072:

  Make it clear in the example that jailparam_export's return value
  should be freed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212178 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211962: gsched(8): fix example usage, mdoc nits
uqs [Fri, 3 Sep 2010 11:58:50 +0000 (11:58 +0000)]
MFC r211962: gsched(8): fix example usage, mdoc nits

- ad0 was referred to as da0
- wrong parameter -s instead of -a in example
- use double quotes consistently

git-svn-id: svn://svn.freebsd.org/base/stable/8@212175 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209256, r209549, r209816, r209844:
jh [Fri, 3 Sep 2010 06:30:11 +0000 (06:30 +0000)]
MFC r209256, r209549, r209816, r209844:

- Fix compilation of the subr_unit.c user space test program.
- Use %zu for size_t in a few format strings.
- Correct a comment typo.
- Assert that low and high are >= 0 in new_unrhdr().

git-svn-id: svn://svn.freebsd.org/base/stable/8@212171 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoAdd nameday for Monique
edwin [Thu, 2 Sep 2010 21:52:43 +0000 (21:52 +0000)]
Add nameday for Monique

PR: conf/150049
Submitted by: Thierry Thomas <thierry@pompo.net>

git-svn-id: svn://svn.freebsd.org/base/stable/8@212164 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211904:
bz [Thu, 2 Sep 2010 16:09:09 +0000 (16:09 +0000)]
MFC r211904:

  MFp4 CH=182972:

  Add explicit linkstate UP/DOWN for the epair.  This is needed by carp(4)
  and other things to work.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212150 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r199972:
emaste [Thu, 2 Sep 2010 13:34:54 +0000 (13:34 +0000)]
MFC r199972:

  Use switch out (SWO) instead of switch in (SWI) debug log mask in
  csw_out.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212147 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211633:
ed [Thu, 2 Sep 2010 07:49:45 +0000 (07:49 +0000)]
MFC r211633:

  Add missing mlink for insmntque1().

git-svn-id: svn://svn.freebsd.org/base/stable/8@212141 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoWe don't have etc/rc.d/ip6fw anymore.
ume [Thu, 2 Sep 2010 06:49:27 +0000 (06:49 +0000)]
We don't have etc/rc.d/ip6fw anymore.
Since HEAD doesn't have etc/rc.d/network_ipv6,
this commit is directly into RELENG_8.

Spotted by: takachan__at__running-dog.net

git-svn-id: svn://svn.freebsd.org/base/stable/8@212140 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209970,209971,211990: add -q flag to usage() and
maxim [Thu, 2 Sep 2010 06:07:03 +0000 (06:07 +0000)]
MFC r209970,209971,211990: add -q flag to usage() and
man page synopsys.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212139 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211684 & r211818; return ENOENT if we fall off the end of the directory.
brian [Thu, 2 Sep 2010 04:56:01 +0000 (04:56 +0000)]
MFC r211684 & r211818; return ENOENT if we fall off the end of the directory.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212137 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r202289:
emaste [Wed, 1 Sep 2010 20:25:36 +0000 (20:25 +0000)]
MFC r202289:

  Reject invalid CIDR widths rather than silently stopping at the first
  non-digit character.

  Due to an issue with rc(8) in a test configuration, ifconfig was being
  invoked with the address used again as the width - for example,

    ifconfig vlan0 10.0.0.1/10.0.0.1

  Prior to this change, that address/width would be interpreted as
  10.0.0.1/10.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212114 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210736: sh: Do not enter consecutive duplicates into the history.
jilles [Wed, 1 Sep 2010 19:49:24 +0000 (19:49 +0000)]
MFC r210736: sh: Do not enter consecutive duplicates into the history.

This simply sets a flag in libedit. It has a shortcoming in that it does not
apply to multi-line commands.

Note that a configuration option for this is not going to happen, but always
having this seems better than not having it. NetBSD has done the same.

PR: bin/54683
Obtained from: NetBSD

git-svn-id: svn://svn.freebsd.org/base/stable/8@212111 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r202988, r203022
emaste [Wed, 1 Sep 2010 19:36:06 +0000 (19:36 +0000)]
MFC r202988, r203022

  Remove vestigial NetBSD compatibility shim.

  Convert to 2-clause license, from NetBSD rc.subr r1.70.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212110 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211800:
netchild [Wed, 1 Sep 2010 11:11:20 +0000 (11:11 +0000)]
MFC r211800:
  - Change the threshold from 'running next scrub the <value+1>th day after the
    last one' to 'running next scrub the <value>th day after the last one'.
  - Improve wording.

  Requested by: jhell <jhell@DataIX.net>

git-svn-id: svn://svn.freebsd.org/base/stable/8@212091 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211966:
kib [Wed, 1 Sep 2010 06:51:42 +0000 (06:51 +0000)]
MFC r211966:
Use NULL instead of 0 for pointer in example.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212082 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211801: fix typo.
maxim [Wed, 1 Sep 2010 05:39:56 +0000 (05:39 +0000)]
MFC r211801: fix typo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212080 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211435, r211530: Make `ping6 -I' work with
ume [Tue, 31 Aug 2010 15:52:12 +0000 (15:52 +0000)]
MFC r211435, r211530: Make `ping6 -I' work with
net.inet6.ip6.use_defaultzone=1.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212056 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211650,211667:
yongari [Tue, 31 Aug 2010 00:19:03 +0000 (00:19 +0000)]
MFC r211650,211667:
r211650:
  Document tunable dev.rl.%unit.prefer_iomap

r211667:
  Better wording and fix wrong explanation.

  Submitted by: Ben Kaduk ( minimarmot <> gmail dot com )

git-svn-id: svn://svn.freebsd.org/base/stable/8@212041 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211648:
yongari [Tue, 31 Aug 2010 00:15:20 +0000 (00:15 +0000)]
MFC r211648:
  It seems some newer RTL8139 controllers provides only memory space
  register mapping. I'm not sure whether it comes from the fact that
  controllers live behind certain PCI brdge(PLX PCI 6152 33BC) and
  the bridge has some issues in handling I/O space register mapping.
  Unfortunately it's not possible to narrow down to an exact
  controller that shows this issue because RealTek used the same PCI
  device/revision id again. In theory, it's possible to check parent
  PCI bridge device and change rl(4) to use memory space register
  mapping if the parent PCI bridge is PLX PCI 6152. But I didn't try
  to do that and we wouldn't get much benefit with added complexity.

  Blindly switching to use memory space register mapping for rl(4)
  may make most old controllers not to work. At least, I don't want
  to take potential risk from such change. So use I/O space register
  mapping by default but give users chance to override it via a
  tunable. The tunable to use memory space register mapping would be
  given by adding the following line to /boot/loader.conf file.

  dev.rl.%d.prefer_iomap="0"

  This change makes P811B quad-port work with this tunable.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212039 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211106:
yongari [Mon, 30 Aug 2010 21:18:27 +0000 (21:18 +0000)]
MFC r211106:
  Document newly added controller AR8151 and AR8152.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211105:
yongari [Mon, 30 Aug 2010 21:15:40 +0000 (21:15 +0000)]
MFC r211105:
  Add support for Atheros AR8151/AR8152 PCIe gigabit/fast ethernet
  controller. These controllers are known as L1D(AR8151) and
  L2CB/B2(AR8152). This change adds supports for the following
  controllers.
   o AR8151 v1.0(L1D) gigabit ethernet controller
   o AR8151 v2.0(L1D) gigabit ethernet controller
   o AR8152 v1.1(L2CB) fast ethernet controller
   o AR8152 v2.0(L2CB2) fast ethernet controller
  These controllers have the same feature of AR8131/AR8132 and
  support improved power saving control. The user visible change at
  this moment is reduced jumbo frame size from 9KB to 6KB. Many
  thanks to Atheros for continuing to support FreeBSD.

  HW donated by: Atheros Communications, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212021 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211103:
yongari [Mon, 30 Aug 2010 21:11:45 +0000 (21:11 +0000)]
MFC r211103:
  Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet
  controller.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212019 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211047-211048,211051-211053,211285:
yongari [Mon, 30 Aug 2010 21:07:26 +0000 (21:07 +0000)]
MFC r211047-211048,211051-211053,211285:
r211047:
  Controller does not seem to support more than 1024 bytes DMA burst.
  Limit DMA burst size to be less than or equal to 1024 bytes.

r211048:
  Do not touch CMB TX threshold register when CMB is not used.
  Note, alc(4) does not use CMB at all due to silicon bug.

r211051:
  Always disable ASPM L0s and enable L1 before entering into WOL
  suspend state.  Also disable master clock after PHY power down,
  this is supposed to save more power. The master clock should be
  enabled if WOL is active.

r211052:
  Remove unnecessary assignment.

r211053:
  Cache PCIY_PMG and PCIY_EXPRESS capability pointer to softc and use
  it instead of calling pci_find_extcap().

r211285:
  Make sure to disable RX MAC in alc_stop_mac(). Previously there
  was a logic error which it always enabled RX MAC.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212017 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211046:
yongari [Mon, 30 Aug 2010 20:59:13 +0000 (20:59 +0000)]
MFC r211046:
  Marvell model number 0x06 is 88E1101 PHY.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210905:
yongari [Mon, 30 Aug 2010 20:56:12 +0000 (20:56 +0000)]
MFC r210905:
  Reflect default Tx interrupt moderation timer value change(50ms -> 1ms).

git-svn-id: svn://svn.freebsd.org/base/stable/8@212013 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210904:
yongari [Mon, 30 Aug 2010 20:49:51 +0000 (20:49 +0000)]
MFC r210904:
  Reduce Tx interrupt moderation timer from 50ms to 1ms. The default
  value resulted in poor performance for UDP packets. With this
  change, UDP bulk transfer performance is more than 940Mbps.

  While I'm here fix a wrong register definition.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212011 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210665:
delphij [Mon, 30 Aug 2010 18:23:48 +0000 (18:23 +0000)]
MFC r210665:

In rdmsr_safe, use zero extend (by doing a 32-bit movl over
eax to itself) instead of a sign extend.

Discussed with: stas

git-svn-id: svn://svn.freebsd.org/base/stable/8@212005 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC: r211823
jkim [Mon, 30 Aug 2010 17:34:59 +0000 (17:34 +0000)]
MFC: r211823

Check opcode for short jump as well.  Some option ROMs do short jumps
(e.g., some NVIDIA video cards) and we were not able to do POST while
resuming because we only honored long jump.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212003 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211342:
jh [Mon, 30 Aug 2010 14:44:22 +0000 (14:44 +0000)]
MFC r211342:

- Check that strtoul(3) succeeds to convert the entire string in a few
  places.
- In getasciilabel(), set the disk type only when a valid type is given.

PR: bin/86765

git-svn-id: svn://svn.freebsd.org/base/stable/8@212000 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208752, r209590:
attilio [Mon, 30 Aug 2010 10:30:35 +0000 (10:30 +0000)]
MFC r208752, r209590:
Protect periph drivers list and rearrange things to minimize the chance of
stepping oneself during probing.
Don't blindly decrement a periph probe count.

Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@211993 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210181: fix typo.
maxim [Mon, 30 Aug 2010 07:11:13 +0000 (07:11 +0000)]
MFC r210181: fix typo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211989 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210000: correct path to include file.
maxim [Mon, 30 Aug 2010 07:09:40 +0000 (07:09 +0000)]
MFC r210000: correct path to include file.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211988 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209972: restore missed flag in the synopsis.
maxim [Mon, 30 Aug 2010 07:06:27 +0000 (07:06 +0000)]
MFC r209972: restore missed flag in the synopsis.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211987 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209926: fix typo.
maxim [Mon, 30 Aug 2010 07:04:19 +0000 (07:04 +0000)]
MFC r209926: fix typo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoRecord merge info for r211960.
davidxu [Sun, 29 Aug 2010 08:19:07 +0000 (08:19 +0000)]
Record merge info for r211960.
-This line, and those below, will be ignored--
> Description of fields to fill in above:                     76 columns --|
> PR:            If a GNATS PR is affected by the change.
> Submitted by:  If someone else sent in the change.
> Reviewed by:   If someone else reviewed your modification.
> Approved by:   If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after:     N [day[s]|week[s]|month[s]].  Request a reminder email.
> Security:      Vulnerability reference (one per line) or description.
> Empty fields above will be automatically removed.

_M   libthr

git-svn-id: svn://svn.freebsd.org/base/stable/8@211961 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211833: Decrease rdlock count only when thread unlocked
davidxu [Sun, 29 Aug 2010 08:15:57 +0000 (08:15 +0000)]
MFC r211833: Decrease rdlock count only when thread unlocked
a reader lock.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211960 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211335:
kib [Sun, 29 Aug 2010 08:10:34 +0000 (08:10 +0000)]
MFC r211335:
Add convenience defines for hidden and default/exported attributes.

MFC r211741:
Use preferred spelling for the __attribute__.

MFC r211868:
Use private namespace for visibility keyword.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211959 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211340: Correct the return code from _dns_gethostby*()
ume [Sun, 29 Aug 2010 03:53:17 +0000 (03:53 +0000)]
MFC r211340: Correct the return code from _dns_gethostby*()
to correspond with h_errno.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211956 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoRecord mergeinfo for r211276.
ume [Sat, 28 Aug 2010 17:52:53 +0000 (17:52 +0000)]
Record mergeinfo for r211276.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211942 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211276:
ume [Sat, 28 Aug 2010 17:06:22 +0000 (17:06 +0000)]
MFC r211276:
- When there is no room for returning the result, nss backend
  have to return ERANGE and terminate with NS_RETURN.
- When gethostbyname_r(3) and the friends end with an error,
  set errno to the value nss backend returns, and return errno
  value.

PR: kern/131623

git-svn-id: svn://svn.freebsd.org/base/stable/8@211938 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211295,211314,211546:
bschmidt [Sat, 28 Aug 2010 07:21:15 +0000 (07:21 +0000)]
MFC r211295,211314,211546:
Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework
should set this capability. Initialize ni_txrate after txparams have
been setup. Some drivers calculate various things prior to association
based on ni_txrate and rely on it being nonzero.

PR: kern/149185

git-svn-id: svn://svn.freebsd.org/base/stable/8@211921 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210624 and r210833:
delphij [Sat, 28 Aug 2010 00:48:40 +0000 (00:48 +0000)]
MFC r210624 and r210833:

Improve cputemp(4) driver wrt newer Intel processors, especially
Xeon 5500/5600 series:

 - Utilize IA32_TEMPERATURE_TARGET, a.k.a. Tj(target) in place
   of Tj(max) when a sane value is available, as documented
   in Intel whitepaper "CPU Monitoring With DTS/PECI"; (By sane
   value we mean 70C - 100C for now);
 - Print the probe results when booting verbose;
 - Replace cpu_mask with cpu_stepping;
 - Use CPUID_* macros instead of rolling our own.

Catch known CPUs before using IA32_TEMPERATURE_TARGET.
This way we would have an opportunity to hide the
Tj(target) value doesn't seem right stuff if we know
it's not working there.

Add temperature value for Core2 Duo Extreme Mobile that
I have access to.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211914 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC of -r210382 to note that foreground fsck should be run after
mckusick [Sat, 28 Aug 2010 00:30:57 +0000 (00:30 +0000)]
MFC of -r210382 to note that foreground fsck should be run after
a filesystem related panic. Also -r210933 by joel to fix typos
and spelling mistakes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211912 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC of -r210382 to note that foreground fsck should be run after
mckusick [Sat, 28 Aug 2010 00:27:47 +0000 (00:27 +0000)]
MFC of -r210382 to note that foreground fsck should be run after
a filesystem related panic. Also -r210933 and -r211397 by joel
to fix typos and spelling mistakes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211911 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211451:
bz [Fri, 27 Aug 2010 21:52:05 +0000 (21:52 +0000)]
MFC r211451:

  When calculating the expected memory size for userspace, also take the
  number of syncache entries into account for the surplus we add to account
  for a possible increase of records in the re-entry window.

  Discussed with: jhb, silby

git-svn-id: svn://svn.freebsd.org/base/stable/8@211901 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC 210774,210935:
jhb [Fri, 27 Aug 2010 18:55:24 +0000 (18:55 +0000)]
MFC 210774,210935:
- Tweak the logic to disable CLFLUSH in virtual environments to work around
  problems with flushing the local APIC register range so that it checks
  vm_guest directly.
- Add Xen to the list of virtual vendors.  In the non PV (HVM) case this
  fixes the virtualization detection successfully disabling the CLFLUSH
  instruction.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211891 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC 211433:
jhb [Fri, 27 Aug 2010 18:50:12 +0000 (18:50 +0000)]
MFC 211433:
Ensure a minimum "slop" of 10 extra pcb structures when providing a
memory size estimate to userland for pcb list sysctls.  The previous
behavior of a "slop" of n/8 does not work well for small values of n
(e.g. no slop at all if you have less than 8 open UDP connections).

git-svn-id: svn://svn.freebsd.org/base/stable/8@211889 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r206622,207939,208593,208732,209031: mdoc cleanup
uqs [Fri, 27 Aug 2010 10:47:17 +0000 (10:47 +0000)]
MFC r206622,207939,208593,208732,209031: mdoc cleanup

- order prologue by Dd/Dt/Os
- fix prologue
- remove empty lines and other garbage
- uppercase document title

git-svn-id: svn://svn.freebsd.org/base/stable/8@211872 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211464:
andre [Fri, 27 Aug 2010 10:15:45 +0000 (10:15 +0000)]
MFC r211464:

  If a TCP connection has been idle for one retransmit timeout or more
  it must reset its congestion window back to the initial window.

  RFC3390 has increased the initial window from 1 segment to up to
  4 segments.

  The initial window increase of RFC3390 wasn't reflected into the
  restart window which remained at its original defaults of 4 segments
  for local and 1 segment for all other connections.  Both values are
  controllable through sysctl net.inet.tcp.local_slowstart_flightsize
  and net.inet.tcp.slowstart_flightsize.

  The increase helps TCP's slow start algorithm to open up the congestion
  window much faster.

  Reviewed by: lstewart
  MFC after: 1 week

git-svn-id: svn://svn.freebsd.org/base/stable/8@211870 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211462:
andre [Fri, 27 Aug 2010 09:36:02 +0000 (09:36 +0000)]
MFC r211462:

  Untangle the net.inet.tcp.log_in_vain and net.inet.tcp.log_debug
  sysctl's and remove any side effects.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211867 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r206615: remove .Pp where not needed
uqs [Fri, 27 Aug 2010 09:35:05 +0000 (09:35 +0000)]
MFC r206615: remove .Pp where not needed

git-svn-id: svn://svn.freebsd.org/base/stable/8@211866 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r205208:
uqs [Fri, 27 Aug 2010 09:33:26 +0000 (09:33 +0000)]
MFC r205208:

- Use `Va' for variables instead of `Dv'.
- Correctly spell negative values.
- Also fixes make manlint.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211865 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211750:
kib [Fri, 27 Aug 2010 08:05:44 +0000 (08:05 +0000)]
MFC r211750:
Remove extra FreeBSD tag.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211863 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r204111: Fix common misspelling of hierarchy
uqs [Thu, 26 Aug 2010 20:44:12 +0000 (20:44 +0000)]
MFC r204111: Fix common misspelling of hierarchy

git-svn-id: svn://svn.freebsd.org/base/stable/8@211849 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208887, r209115-209116, r209839-209841, r211345-211347
np [Thu, 26 Aug 2010 19:55:03 +0000 (19:55 +0000)]
MFC r208887, r209115-209116, r209839-209841, r211345-211347

r208887
tunable to control mc5 partition

r209115
make format string a string literal.

r209116
Add knob to get packet timestamps from the hardware.

r209839
Fix bufsize calculation so that cxgbtool can display information for the
last I/O queue too.

r209840
Eliminate ext_intr_task.  The "slow" interrupt handler is already
running on the adapter's task queue.  Just do what the task does
instead of enqueueing it.

r209841
Improved link detection.

r211345
wakeup is required if the adapter lock is released anywhere during
init and not just for the may_sleep case.

r211346
Always reset the XGMAC's XAUI PCS on a link up.

r211347
Fix tx pause quanta and timer calculations.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211848 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211704:
kib [Thu, 26 Aug 2010 11:25:09 +0000 (11:25 +0000)]
MFC r211704:
Style.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211840 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC: r210834
rmacklem [Wed, 25 Aug 2010 22:19:52 +0000 (22:19 +0000)]
MFC: r210834
Add some mutex locking on the nfsnode to the regular NFS client.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211828 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211455:
mav [Wed, 25 Aug 2010 08:49:21 +0000 (08:49 +0000)]
MFC r211455:
Remove bintime_cmp() function, unused since r200086.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211803 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210447:
trasz [Tue, 24 Aug 2010 17:47:52 +0000 (17:47 +0000)]
MFC r210447:

Add P_HASTHREADS flag description.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211761 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210448:
trasz [Tue, 24 Aug 2010 17:46:43 +0000 (17:46 +0000)]
MFC r210448:

Fix alignment for the 'flags' label, and make more room for 'tdev'.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211760 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoFor some reason, the new files which got merged from the head branch
edwin [Tue, 24 Aug 2010 07:59:39 +0000 (07:59 +0000)]
For some reason, the new files which got merged from the head branch
didn't get automatically added to the repository.

MFC of r205821 r205827 r205828 r205862 r205872 r205937 r206568
MFC of r208825 r208826 r208827 r208828 r208829 r208943

r205821:
Long awaited update to the calendar system:

- Repeating events which span multiple years (because of -A, -B or
just the three days before the end of the year).
- Support for lunar events (full moon, new moon) and solar events
(equinox and solstice, chinese new year). Because of this, the
options -U (UTC offset) and -l (longitude) are available to
compensate if reality doesn't match the calculated values.

r205828:
Use local names for calendar.dutch

r205862:
Fix DST thingies in calendar.australia

r205872:
Make licenses 3 clause instead of 4 clause

r205937:
Make the dates in the Tasmanian part of calendar.australia properly
variable.

r206568:
Typo in Allerheiligen in calendar.dutch

r208825, r208826, r208827, r208828, r208829, r208943:
Coverity Prevent related fixes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211734 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC of r205821 r205827 r205828 r205862 r205872 r205937 r206568
edwin [Mon, 23 Aug 2010 22:09:25 +0000 (22:09 +0000)]
MFC of r205821 r205827 r205828 r205862 r205872 r205937 r206568
MFC of r208825 r208826 r208827 r208828 r208829 r208943

r205821:
Long awaited update to the calendar system:

- Repeating events which span multiple years (because of -A, -B or
  just the three days before the end of the year).
- Support for lunar events (full moon, new moon) and solar events
  (equinox and solstice, chinese new year). Because of this, the
  options -U (UTC offset) and -l (longitude) are available to
  compensate if reality doesn't match the calculated values.

r205828:
Use local names for calendar.dutch

r205862:
Fix DST thingies in calendar.australia

r205872:
Make licenses 3 clause instead of 4 clause

r205937:
Make the dates in the Tasmanian part of calendar.australia properly
variable.

r206568:
Typo in Allerheiligen in calendar.dutch

r208825, r208826, r208827, r208828, r208829, r208943:
Coverity Prevent related fixes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211723 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC 210936,210946:
jhb [Mon, 23 Aug 2010 20:53:01 +0000 (20:53 +0000)]
MFC 210936,210946:
Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but
use a different interface type (IFT_L2VLAN vs IFT_ETHER).  Treat IFT_L2VLAN
interfaces like IFT_ETHER interfaces when handling link layer addresses.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211719 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMove mergeinfo for sys/cam up to sys.
jhb [Mon, 23 Aug 2010 13:47:20 +0000 (13:47 +0000)]
Move mergeinfo for sys/cam up to sys.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211703 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r205078,208483,211401-211402,211404: mdoc cleanup
uqs [Mon, 23 Aug 2010 11:58:45 +0000 (11:58 +0000)]
MFC r205078,208483,211401-211402,211404: mdoc cleanup

- Fix typo in macro name and macro usage.
- Consistently spell our email addresses <foo@FreeBSD.org>
- Wordsmithing of bsnmpd.1; bump .Dd
- Fix two minor typos.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211702 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210407: Add a -S switch to override syslogd's pidfile.
brian [Mon, 23 Aug 2010 09:52:04 +0000 (09:52 +0000)]
MFC r210407: Add a -S switch to override syslogd's pidfile.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211699 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC: r148701
brueffer [Sun, 22 Aug 2010 20:24:24 +0000 (20:24 +0000)]
MFC: r148701

Fixed a typo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211642 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC: r211355
brueffer [Sun, 22 Aug 2010 20:17:28 +0000 (20:17 +0000)]
MFC: r211355

Fixed a typo and added a comma.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211639 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211339:
kib [Sun, 22 Aug 2010 14:54:59 +0000 (14:54 +0000)]
MFC r211339:
Add missed dependency.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211624 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge r211026 from head:
gavin [Sun, 22 Aug 2010 12:03:31 +0000 (12:03 +0000)]
Merge r211026 from head:
  Add a keymap for the Swiss-German Macbook keyboard.

PR: conf/139997
Submitted by: Andreas Tobler <andreast fgznet.ch>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211620 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge r211066 from head:
gavin [Sun, 22 Aug 2010 09:05:08 +0000 (09:05 +0000)]
Merge r211066 from head:
  Add a termcap entry for rxvt-256color.

PR: conf/147726
Submitted by: Sterling (Chip) Camden <sterling camdensoftware.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211604 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211333:
andre [Sun, 22 Aug 2010 09:01:58 +0000 (09:01 +0000)]
MFC r211333:

  Fix the interaction between 'ICMP fragmentation needed' MTU updates,
  path MTU discovery and the tcp_minmss limiter for very small MTU's.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211602 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211327:
andre [Sun, 22 Aug 2010 08:47:00 +0000 (08:47 +0000)]
MFC r211327:

  Add more logging points for failures in syncache_socket() to
  report when a new socket couldn't be created because one of
  in_pcbinshash(), in6_pcbconnect() or in_pcbconnect() failed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211600 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoFix a mismerge in r211581, MFC of r210427
avg [Sun, 22 Aug 2010 08:18:32 +0000 (08:18 +0000)]
Fix a mismerge in r211581, MFC of r210427

This is a direct commit.

Reported by: many
Pointyhat to: avg

git-svn-id: svn://svn.freebsd.org/base/stable/8@211599 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209950:
nwhitehorn [Sun, 22 Aug 2010 00:04:24 +0000 (00:04 +0000)]
MFC r209950:

Unify ABI-related bits of the Book-E and AIM machdep routines
(exec_setregs, etc.) in order to simplify the addition of 64-bit support,
and possible future extension of the Book-E code to handle hard floating
point and Altivec.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211595 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209812:
nwhitehorn [Sat, 21 Aug 2010 22:23:22 +0000 (22:23 +0000)]
MFC r209812:

Replace the existing PowerPC busdma implementation with the one from
amd64 (with slight modifications). This provides support for bounce
buffers, which are required on systems with RAM above 4 GB.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211593 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211155: sh: Fix heap-based buffer overflow in pathname generation.
jilles [Sat, 21 Aug 2010 20:48:09 +0000 (20:48 +0000)]
MFC r211155: sh: Fix heap-based buffer overflow in pathname generation.

The buffer for generated pathnames could be too small in some cases. It
happened to be always at least PATH_MAX long, so there was never an overflow
if the resulting pathnames would be usable.

This bug may be abused if a script subjects input from an untrusted source
to pathname generation, which a bad idea anyhow. Most shell scripts do not
work on untrusted data. secteam@ says no advisory is necessary.

PR: bin/148733
Reported by: Changming Sun snnn119 at gmail com

git-svn-id: svn://svn.freebsd.org/base/stable/8@211592 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209963:
nwhitehorn [Sat, 21 Aug 2010 19:31:58 +0000 (19:31 +0000)]
MFC r209963:
Add a missing architecture declaration to the machine specification
for sun4v.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211591 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210425: dtrace: correctly map sections to addresses in elf object
avg [Sat, 21 Aug 2010 19:02:49 +0000 (19:02 +0000)]
MFC r210425: dtrace: correctly map sections to addresses in elf object
modules (amd64)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211589 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210424: kgdb: correctly map sections to addresses in elf object
avg [Sat, 21 Aug 2010 18:54:13 +0000 (18:54 +0000)]
MFC r210424: kgdb: correctly map sections to addresses in elf object
modules (amd64)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211587 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210423: completely ignore zero-sized elf sections in modules of elf
avg [Sat, 21 Aug 2010 18:48:24 +0000 (18:48 +0000)]
MFC r210423: completely ignore zero-sized elf sections in modules of elf
object type (amd64)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211585 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210245: binutils/ld: fix incorrect placement of __start_SECNAME in
avg [Sat, 21 Aug 2010 18:38:56 +0000 (18:38 +0000)]
MFC r210245: binutils/ld: fix incorrect placement of __start_SECNAME in
some cases

git-svn-id: svn://svn.freebsd.org/base/stable/8@211583 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210427: zfs arc_memory_throttle: available memory is free + cache
avg [Sat, 21 Aug 2010 18:20:56 +0000 (18:20 +0000)]
MFC r210427: zfs arc_memory_throttle: available memory is free + cache

git-svn-id: svn://svn.freebsd.org/base/stable/8@211581 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210422: cpufreq: allocate long-lived buffer for handling of sysctl
avg [Sat, 21 Aug 2010 17:48:29 +0000 (17:48 +0000)]
MFC r210422: cpufreq: allocate long-lived buffer for handling of sysctl
requests

git-svn-id: svn://svn.freebsd.org/base/stable/8@211578 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210454: ichwd: correct range check for timeout value
avg [Sat, 21 Aug 2010 16:40:04 +0000 (16:40 +0000)]
MFC r210454: ichwd: correct range check for timeout value

git-svn-id: svn://svn.freebsd.org/base/stable/8@211574 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211317:
andre [Sat, 21 Aug 2010 11:10:58 +0000 (11:10 +0000)]
MFC r211317:

  Reset the internal tso flag in tcp_output() on every iteration
  of sendalot.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211548 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211316:
andre [Sat, 21 Aug 2010 11:01:40 +0000 (11:01 +0000)]
MFC r211316:

  Change the messages of the ICMP bad port bandwidth limiter from
  a kernel printf to a log output with the priority of LOG_NOTICE.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211542 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f