]> CyberLeo.Net >> Repos - FreeBSD/releng/9.1.git/log
FreeBSD/releng/9.1.git
9 years ago[SA-14:31] Fix multiple vulnerabilities in NTP suite. master
des [Tue, 23 Dec 2014 22:53:03 +0000 (22:53 +0000)]
[SA-14:31] Fix multiple vulnerabilities in NTP suite.
[EN-14:13] Fix directory deletion issue in freebsd-update.

Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@276155 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix multiple vulnerabilities in file(1) and libmagic(3).
delphij [Wed, 10 Dec 2014 08:36:40 +0000 (08:36 +0000)]
Fix multiple vulnerabilities in file(1) and libmagic(3).

Security: FreeBSD-SA-14:28.file
Security: CVE-2014-3710, CVE-2014-8116, CVE-2014-8117

Fix BIND remote denial of service vulnerability.

Security: FreeBSD-SA-14:29.bind
Security: CVE-2014-8500

Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@275672 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years ago[SA-14:24] Fix denial of service attack against sshd(8).
des [Tue, 4 Nov 2014 23:32:45 +0000 (23:32 +0000)]
[SA-14:24] Fix denial of service attack against sshd(8).
[SA-14:25] Fix kernel stack disclosure in setlogin(2) / getlogin(2).
[SA-14:26] Fix remote command execution in ftp(1).
[EN-14:12] Fix NFSv4 and ZFS cache consistency issue.

Approved by: so (des)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@274112 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoTime zone data file update. [EN-14:10]
delphij [Tue, 21 Oct 2014 23:52:25 +0000 (23:52 +0000)]
Time zone data file update. [EN-14:10]

Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@273439 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix rtsold(8) remote buffer overflow vulnerability. [SA-14:20]
delphij [Tue, 21 Oct 2014 20:21:10 +0000 (20:21 +0000)]
Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20]

Fix routed(8) remote denial of service vulnerability. [SA-14:21]

Fix memory leak in sandboxed namei lookup. [SA-14:22]

Fix OpenSSL multiple vulnerabilities. [SA-14:23]

Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@273415 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix Denial of Service in TCP packet processing.
delphij [Tue, 16 Sep 2014 09:50:19 +0000 (09:50 +0000)]
Fix Denial of Service in TCP packet processing.

Security: FreeBSD-SA-14:19.tcp
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@271669 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix multiple OpenSSL vulnerabilities:
delphij [Tue, 9 Sep 2014 10:13:46 +0000 (10:13 +0000)]
Fix multiple OpenSSL vulnerabilities:

The receipt of a specifically crafted DTLS handshake message may cause OpenSSL
to consume large amounts of memory. [CVE-2014-3506]

The receipt of a specifically crafted DTLS packet could cause OpenSSL to leak
memory. [CVE-2014-3507]

A flaw in OBJ_obj2txt may cause pretty printing functions such as
X509_name_oneline, X509_name_print_ex et al. to leak some information from
the stack. [CVE-2014-3508]

OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject to
a denial of service attack. [CVE-2014-3510]

Security: CVE-2014-3506, CVE-2014-3507, CVE-2014-3508, CVE-2014-3510
Security: FreeBSD-SA-14:18.openssl
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@271305 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix kernel memory disclosure in control message and SCTP notifications.
delphij [Tue, 8 Jul 2014 21:55:27 +0000 (21:55 +0000)]
Fix kernel memory disclosure in control message and SCTP notifications.

Security: FreeBSD-SA-14:17.kmem
Security: CVE-2014-3952, CVE-2014-3953
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@268434 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix multiple vulnerabilities in file(1) and libmagic(3).
delphij [Tue, 24 Jun 2014 19:05:36 +0000 (19:05 +0000)]
Fix multiple vulnerabilities in file(1) and libmagic(3).
[SA-14:16]

Fix gss_pseudo_random interoperability issue. [EN-14:08]

Security: CVE-2013-7345, CVE-2014-1943, CVE-2014-2270
Security: FreeBSD-SA-14:16.file
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@267831 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix OpenSSL multiple vulnerabilities.
delphij [Thu, 5 Jun 2014 12:33:23 +0000 (12:33 +0000)]
Fix OpenSSL multiple vulnerabilities.

Security: CVE-2014-0195, CVE-2014-0221, CVE-2014-0224,
CVE-2014-3470
Security: SA-14:14.openssl
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@267104 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix sendmail improper close-on-exec flag handling. [SA-14:11]
delphij [Tue, 3 Jun 2014 19:03:11 +0000 (19:03 +0000)]
Fix sendmail improper close-on-exec flag handling. [SA-14:11]

Fix ktrace memory disclosure. [SA-14:12]

Fix incorrect error handling in PAM policy parser. [SA-14:13]

Fix triple-fault when executing from a threaded process. [EN-14:06]

Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@267018 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoAdd pkg bootstrapping, configuration and public keys. [EN-14:03]
delphij [Tue, 13 May 2014 23:24:14 +0000 (23:24 +0000)]
Add pkg bootstrapping, configuration and public keys. [EN-14:03]
Improve build repeatability for kldxref(8). [EN-14:04]
Fix data corruption with ciss(4). [EN-14:05]

Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@265988 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix TCP reassembly vulnerability.
delphij [Wed, 30 Apr 2014 04:05:47 +0000 (04:05 +0000)]
Fix TCP reassembly vulnerability.

Security: FreeBSD-SA-14:08.tcp
Security: CVE-2014-3000
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@265125 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFix NFS deadlock vulnerability. [SA-14:05]
delphij [Tue, 8 Apr 2014 23:16:05 +0000 (23:16 +0000)]
Fix NFS deadlock vulnerability. [SA-14:05]

Fix ECDSA Cache Side-channel Attack in OpenSSL. [SA-14:06]

Approved by:    so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@264284 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFix bsnmpd remote denial of service vulnerability. [SA-14:01]
delphij [Tue, 14 Jan 2014 19:42:28 +0000 (19:42 +0000)]
Fix bsnmpd remote denial of service vulnerability. [SA-14:01]

Fix ntpd distributed reflection Denial of Service vulnerability.
[SA-14:02]

Fix BIND remote denial of service vulnerability. [SA-14:04]

Disable hardware RNGs by default. [EN-14:01]

Fix incorrect coalescing of stack entry with mmap. [EN-14:02]

Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@260647 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r257879:
delphij [Thu, 28 Nov 2013 22:12:48 +0000 (22:12 +0000)]
MFC r257879:

Fix typo in r256646: We want to generate lists of directories in
INDEX-OLD and INDEX-NEW and compare them, not generate the same
list of directories from INDEX-OLD twice...

Pointy hats to: cperciva & everybody who didn't proofread
EN-13:04 enough
Errata Notice: FreeBSD-EN-13:05.freebsd-update
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@258725 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r256646, r256767, r257038:
delphij [Sat, 26 Oct 2013 20:01:00 +0000 (20:01 +0000)]
MFC r256646, r256767, r257038:
  When installing updates, install new directories first and remove old
  directories last.

  Allow ~ in file names so libtool droppings in contrib don't break updates.
  It has happened twice now, and is likely to happen again.

  Be more selective when filtering for lib*.so.N files.  These are deleted
  at the end of the upgrade process, after warning users to upgrade any
  3rd party software (e.g., from the ports tree) which might link to the
  libraries being removed.

Errata Notice:  FreeBSD-EN-13:04.freebsd-update
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@257194 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoIn IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR
des [Tue, 10 Sep 2013 10:15:33 +0000 (10:15 +0000)]
In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR
and SIOCSIFNETMASK at the socket layer rather than pass them on to the
link layer without validation or credential checks.  [SA-13:12]

Prevent cross-mount hardlinks between different nullfs mounts of the
same underlying filesystem.  [SA-13:13]

Security: CVE-2013-5691
Security: FreeBSD-SA-13:12.ifioctl
Security: CVE-2013-5710
Security: FreeBSD-SA-13:13.nullfs
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@255448 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFix an integer overflow in computing the size of a temporary buffer
delphij [Thu, 22 Aug 2013 00:51:48 +0000 (00:51 +0000)]
Fix an integer overflow in computing the size of a temporary buffer
can result in a buffer which is too small for the requested
operation. [13:09]

Fix a bug that could lead to kernel memory disclosure with
SCTP state cookie. [13:10]

Fix a data corruption problem with mfi(4) operating on > 2TB
disks in a JBOD. [EN-13:03]

Security: CVE-2013-3077
Security: FreeBSD-SA-13:09.ip_multicast
Security: CVE-2013-5209
Security: FreeBSD-SA-13:10.sctp
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@254631 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFix Denial of Service vulnerability in named(8). [13:07]
delphij [Fri, 26 Jul 2013 22:40:23 +0000 (22:40 +0000)]
Fix Denial of Service vulnerability in named(8). [13:07]

Fix a bug that allows remote client bypass the normal
access checks when when -network or -host restrictions
are used at the same time with -mapall. [13:08]

Security: CVE-2013-4854
Security: FreeBSD-SA-13:07.bind
Security: CVE-2013-4851
Security: FreeBSD-SA-13:08.nfsserver
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@253693 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFix a bug that allowed a tracing process (e.g. gdb) to write
des [Tue, 18 Jun 2013 07:05:51 +0000 (07:05 +0000)]
Fix a bug that allowed a tracing process (e.g. gdb) to write
to a memory-mapped file in the traced process's address space
even if neither the traced process nor the tracing process had
write access to that file.

Security: CVE-2013-2171
Security: FreeBSD-SA-13:06.mmap
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@251903 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFix a bug that allows NFS clients to issue READDIR on files.
des [Mon, 29 Apr 2013 21:11:05 +0000 (21:11 +0000)]
Fix a bug that allows NFS clients to issue READDIR on files.

(files missing from previous commit)

PR: kern/178016
Security: CVE-2013-3266
Security: FreeBSD-SA-13:05.nfsserver
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@250071 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFix a bug that allows NFS clients to issue READDIR on files.
des [Mon, 29 Apr 2013 20:16:00 +0000 (20:16 +0000)]
Fix a bug that allows NFS clients to issue READDIR on files.

PR: kern/178016
Security: CVE-2013-3266
Security: FreeBSD-SA-13:05.nfsserver
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@250061 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoFix OpenSSL multiple vulnerabilities. [13:03]
delphij [Tue, 2 Apr 2013 17:34:42 +0000 (17:34 +0000)]
Fix OpenSSL multiple vulnerabilities. [13:03]

Fix BIND remote denial of service. [13:04]

Security: CVE-2013-0166, CVE-2013-0169
Security: FreeBSD-SA-13:03.openssl
Security: CVE-2013-2266
Security: FreeBSD-SA-13:04.bind
Approved by: so

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@249029 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoFix Denial of Service vulnerability in named(8) with DNS64. [13:01]
bz [Tue, 19 Feb 2013 13:27:20 +0000 (13:27 +0000)]
Fix Denial of Service vulnerability in named(8) with DNS64. [13:01]

Fix Denial of Service vulnerability in libc's glob(3) functionality.
[13:02]

Security: CVE-2012-5688
Security: FreeBSD-SA-13:01.bind
Security: CVE-2010-2632
Security: FreeBSD-SA-13:02.libc
Approved by: so (simon, bz)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@246989 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoWe think we're ready for the 9.1-RELEASE builds.
kensmith [Fri, 30 Nov 2012 19:36:20 +0000 (19:36 +0000)]
We think we're ready for the 9.1-RELEASE builds.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@243710 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r243708:
kensmith [Fri, 30 Nov 2012 19:35:01 +0000 (19:35 +0000)]
Merge r243708:
Guess when we'll be ready to announce 9.1-RELEASE.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@243709 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoRemove stale documents.
hrs [Fri, 30 Nov 2012 16:18:26 +0000 (16:18 +0000)]
Remove stale documents.

Approved by: re (implicitly)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@243706 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years ago- Bump versions and revert XML migration of the release documents in
hrs [Fri, 30 Nov 2012 16:15:35 +0000 (16:15 +0000)]
- Bump versions and revert XML migration of the release documents in
  releng/9.1 branch.  The doc tree release/9.1.0 for this release still uses
  SGML toolchain[1].

- Add SVNROOT{BASE,SRC,DOC,PORTS} for subversion repository URLs and
  BRANCH{SRC,DOC,PORTS} for the branches to generate-release.sh, and
  remove -p, -r, -d options.  The revision to be built should be specified
  in the URL.

- Add {WORLD,KERNEL}_FLAGS to generate-release.sh.  These were supported in
  the old release build framework.

- Disable to use binary package for docproj port during a release build.
  This package should be built successfully.

Pointy hat to: hrs [1]
Approved by: re (implicitly)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@243705 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoFix multiple Denial of Service vulnerabilities with named(8).
simon [Thu, 22 Nov 2012 22:52:15 +0000 (22:52 +0000)]
Fix multiple Denial of Service vulnerabilities with named(8).

Fix insufficient message length validation for EAP-TLS messages.

Fix Linux compatibility layer input validation error.

Security: FreeBSD-SA-12:06.bind
Security: FreeBSD-SA-12:07.hostapd
Security: FreeBSD-SA-12:08.linux
Security: CVE-2012-4244, CVE-2012-5166, CVE-2012-4445, CVE-2012-4576
Approved by: re
Approved by: security-officer

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@243417 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r242514:
eadler [Sat, 10 Nov 2012 06:05:04 +0000 (06:05 +0000)]
MFC r242514:
Revert the change that makes less default.

Since I've committed this I've receieved roughly an equal
amount of email thanking me for making this change
and asking me to revert it.

I've resisted making this change because
new users tend to prefer less over more
and these users are the least likely to know
how to change the PAGER on their own.

Approved by: cperciva (implicit)
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@242850 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoReady for 9.1-RC3...
kensmith [Sun, 28 Oct 2012 16:21:46 +0000 (16:21 +0000)]
Ready for 9.1-RC3...

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@242247 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of r242187:
hrs [Sat, 27 Oct 2012 20:17:59 +0000 (20:17 +0000)]
MFC of r242187:

Fix an issue when ipv6_enable=YES && ipv6_gateway_enable=YES which could
prevent rtadvd(8) from working as intended.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@242189 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 240586 and 240587 to unbreak release building:
hrs [Sat, 27 Oct 2012 19:40:25 +0000 (19:40 +0000)]
MFC of 240586 and 240587 to unbreak release building:

Update generate-release.sh script:

 - Use svn for ports and doc trees
 - When installing a binary textproc/docproj package,
   switch pkg_add(1) to pkg(8) [1]

Approved by: re (implicitly)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@242186 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoUpdate branch tag from RELENG_9 to RELENG_9_1.
kensmith [Wed, 24 Oct 2012 02:21:39 +0000 (02:21 +0000)]
Update branch tag from RELENG_9 to RELENG_9_1.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241980 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoUpdate for being on releng/9.1 (RELENG_9_1).
kensmith [Wed, 24 Oct 2012 02:20:07 +0000 (02:20 +0000)]
Update for being on releng/9.1 (RELENG_9_1).

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241979 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241976: Add the release package directory for 9.1-RELEASE.
kensmith [Wed, 24 Oct 2012 02:09:21 +0000 (02:09 +0000)]
MFC r241976: Add the release package directory for 9.1-RELEASE.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241978 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r241679
marius [Sun, 21 Oct 2012 12:53:33 +0000 (12:53 +0000)]
MFC: r241679

It turns out that as documented, PCF8563_R_SECOND_VL (i.e. battery low)
doesn't automatically clear when VDD rises above Vlow again and needs to be
cleared manually. However, apparently this needs all of the time registers
to be set, i.e. pcf8563_settime(), and not just PCF8563_R_SECOND in order
for PCF8563_R_SECOND_VL to stick. Thus, we just issue a warning during
pcf8563_attach() rather than failing with ENXIO in case it is set.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241813 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241753:
delphij [Sat, 20 Oct 2012 07:39:47 +0000 (07:39 +0000)]
MFC r241753:

Integrate changes from LSI vendor driver 10.80.00.005 to FreeBSD.

PR: kern/172833
Submitted by: "Charles O'Donnell" <cao bus net>
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241764 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241096:
gabor [Thu, 11 Oct 2012 15:49:42 +0000 (15:49 +0000)]
MFC r241096:
  - Rename files to track the XML migration in the doc tree and make the
    release notes build again

Approved by: re (hrs)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241445 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241414:
delphij [Wed, 10 Oct 2012 20:37:57 +0000 (20:37 +0000)]
MFC r241414:

Upgrade to 9.8.3-P4:

Prevents a lockup when queried a deliberately constructed combination
of records. [CVE-2012-5166]

For more information: https://kb.isc.org/article/AA-00801

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241417 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r240985 from head:
glebius [Tue, 2 Oct 2012 13:03:11 +0000 (13:03 +0000)]
Merge r240985 from head:
  Fix bug in TCP_KEEPCNT setting, which slipped in in the last round
  of reviewing of r231025.

  Unlike other options from this family TCP_KEEPCNT doesn't specify
  time interval, but a count, thus parameter supplied doesn't need
  to be multiplied by hz.

  Reported & tested by:       amdmi3

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240917:
mav [Mon, 1 Oct 2012 10:52:10 +0000 (10:52 +0000)]
MFC r240917:
Reduce delays in several wait loops from 10ms to 10us, same is it is
done in Linux. This substantially increases graphics performance on Ivy
Bridge.

Submitted by: avg@
Reviewed by: kib@
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@241093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240884:
mav [Thu, 27 Sep 2012 08:24:34 +0000 (08:24 +0000)]
MFC r240884:
Fix panic caused by wrong pointer dereference, left after pin sense rewrite
at r230551.

Also while there, make sense polling use reported for each node separately
instead of reporting accumulated total status.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240988 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoReady for 9.1-RC2 builds.
kensmith [Wed, 26 Sep 2012 14:29:15 +0000 (14:29 +0000)]
Ready for 9.1-RC2 builds.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240964 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 240729 (dougb):
delphij [Sat, 22 Sep 2012 08:48:26 +0000 (08:48 +0000)]
MFC 240729 (dougb):

Upgrade to 9.8.3-P3:

Prevents a crash when queried for a record whose RDATA exceeds
65535 bytes.

Prevents a crash when validating caused by using "Bad cache" data
before it has been initialized.

ISC_QUEUE handling for recursive clients was updated to address
a race condition that could cause a memory leak. This rarely
occurred with UDP clients, but could be a significant problem
for a server handling a steady rate of TCP queries.

A condition has been corrected where improper handling of
zero-length RDATA could cause undesirable behavior, including
termination of the named process.

For more information: https://kb.isc.org/article/AA-00788

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240808 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240079:
delphij [Thu, 20 Sep 2012 17:30:26 +0000 (17:30 +0000)]
MFC r240079:

Update arcmsr(4) to vendor version 1.20.00.25.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by: Ching-Lung Huang <ching2048 areca com tw>
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240758 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years ago- Fix release notes build on releng/9.1 [1]
gjb [Wed, 19 Sep 2012 21:44:39 +0000 (21:44 +0000)]
- Fix release notes build on releng/9.1 [1]
- MFC r240508, r240516, r240519 (gabor):
  o Update releng/9.1/release/doc files post-XML conversion.
  o This commit fixes most of the 9-STABLE release build problems.
- Close colspec tags to conform to XML standards. [1]
- Convert installation article to XML stanards. [1]

[1] - These are direct commits to releng/9.1

Approved by: re (hrs)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240710 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r240476
jkim [Wed, 19 Sep 2012 19:14:21 +0000 (19:14 +0000)]
MFC: r240476

Do not change owner, group, or mode when package database directory
and its contents are created with pkg_add(1).  It may happen when the
packing list contains @owner, @group, or @mode.

Approved by: re (kib), portmgr (bapt)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240702 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240412:
emaste [Tue, 18 Sep 2012 13:13:28 +0000 (13:13 +0000)]
MFC r240412:

  According to a clarification at http://austingroupbugs.net/view.php?id=503
  ptsname may set errno, so avoid saving and restoring errno across the
  function.

PR: standards/171572
Approved by: re
Sponsored by: ADARA Networks

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240648 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240410:
emaste [Tue, 18 Sep 2012 13:03:00 +0000 (13:03 +0000)]
MFC r240410:

  Avoid mapping ENOENT to ENOTDIR for non-existent path components.

  The ENOTDIR mapping was introduced in r235266 for kern/128933 based on
  an interpretation of the somewhat ambiguous language in the POSIX realpath
  specification.  The interpretation is inconsistent with Solaris and Linux,
  a regression from 9.0, and does not appear to be permitted by the
  description of ENOTDIR:

       20 ENOTDIR Not a directory.  A component of the specified pathname
               existed, but it was not a directory, when a directory was
               expected.

PR: standards/171577
Approved by: re
Sponsored by: ADARA Networks

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240647 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r238182 by theraven@:
glebius [Mon, 17 Sep 2012 19:25:24 +0000 (19:25 +0000)]
Merge r238182 by theraven@:
  Restore the __collate_load_error global that was accidentally removed in the
  xlocale refactoring.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240617 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240514:
jimharris [Mon, 17 Sep 2012 16:39:32 +0000 (16:39 +0000)]
MFC r240514:

isci(4): Fix SCSI/ATA translation for SCSI_WRITE_BUFFER w/ mode==0x7
(download microcode with offsets, save, and activate).

SATI translation layer was incorrectly using allocation length instead
of blocks, and was constructing the ATA command incorrectly.

Also change #define to specify that the 512 block size here is
specific for DOWNLOAD_MICROCODE, and does not relate to the device's
logical block size.

Approved by:   re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240614 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240465:
mav [Sun, 16 Sep 2012 11:02:22 +0000 (11:02 +0000)]
MFC r240465:
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240558 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240286:
mav [Wed, 12 Sep 2012 10:53:08 +0000 (10:53 +0000)]
MFC r240286:
At least from A70M FCH chipsets AMD started to use their real vendor ID
(1022) in HPET. But according to report they still haven't fixed problem
with level-triggered interrupts.
Make workaround used for earlier chipsets apply to this new ID also.

PR: amd64/171355
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240390 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r226738:
pjd [Tue, 11 Sep 2012 13:58:03 +0000 (13:58 +0000)]
MFC r226738:

Don't look for includes in userland directories. There is no need for it
and it breaks building the kernel without userland sources.

Reported by: andre, imp
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240363 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH (r240107, r240111): warn against using these for cryptographic purposes.
des [Tue, 11 Sep 2012 11:05:32 +0000 (11:05 +0000)]
MFH (r240107, r240111): warn against using these for cryptographic purposes.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240360 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240315:
jpaetzel [Mon, 10 Sep 2012 16:25:52 +0000 (16:25 +0000)]
MFC r240315:

Add TRIM support, enabled by default.
Fix a bug installing components from a localPath.
Allow autosizing of any partition, not just the last partition.
Adjust how ZFS is laid out to work with Boot Environments.

Submitted by: kmoore
Approved by: re (kib)
Obtained from: PC-BSD

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240320 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r239663, r239664
bapt [Mon, 10 Sep 2012 08:14:58 +0000 (08:14 +0000)]
MFC: r239663, r239664

change ALWAYS_ASSUME_YES to ASSUME_ALWAYS_YES for consistency with pkg(8)
if not on a tty prompt about the missing pkg(8) but default on 'no' except if
ASSUME_ALWAYS_YES is set

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240300 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r230454 (pjd):
mm [Sun, 9 Sep 2012 20:26:19 +0000 (20:26 +0000)]
MFC r230454 (pjd):
Use provided name when allocating ksid domain. It isn't really used
on FreeBSD, but should fix a panic when pool is imported from another OS
that is using this.

MFC r240162 (mm):
Make r230454 more readable and vendor-like.

PR: kern/171380
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240288 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239125:
kib [Sat, 8 Sep 2012 16:47:52 +0000 (16:47 +0000)]
MFC r239125:
Do not apply errata 721 workaround when under hypervisor, since
typical hypervisor does not implement access to the required MSR,
causing #GP on boot.

PR: amd64/170388
Approved by: re (kensmith)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240240 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r232197 (by phk):
kib [Sat, 8 Sep 2012 16:45:48 +0000 (16:45 +0000)]
MFC r232197 (by phk):
Also call the low-level driver if ->c_iflag & (IXON|IXOFF|IXANY) changes.

Approved by: re (kensmith)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240239 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238935,238960:
bz [Fri, 7 Sep 2012 09:45:08 +0000 (09:45 +0000)]
MFC r238935,238960:

  Properly apply #ifdef INET and leave a comment that we are (will) apply
  delayed IPv6 checksum processing in ip6_output.c when doing IPsec.

  In case of IPsec he have to do delayed checksum calculations before
  adding any extension header, or rather before calling into IPsec
  processing as we may send the packet and not return to IPv6 output
  processing here.

PR: kern/170116
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240194 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238877-238878:
bz [Fri, 7 Sep 2012 09:22:11 +0000 (09:22 +0000)]
MFC r238877-238878:
 Fix a comment that we do not have an SA yet but need to acquire one.
 For consistency put the IPsec comment iside the #fidef section.

MFC r238934
  Improve the should-never-hit printf to ease debugging in case we'd ever hit
  it again when doing the delayed IPv6 checksum calculations.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240193 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFS r240157 (MFC r235638,r239348):
mckay [Fri, 7 Sep 2012 00:20:46 +0000 (00:20 +0000)]
MFS r240157 (MFC r235638,r239348):
- Work around failure to compile on FreeBSD 7.x machines.
- Correct a regression introduced during the import of file(1) 5.11.

PR: 170415
Reviewed by: obrien
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240179 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC rr240007:
tuexen [Thu, 6 Sep 2012 18:31:56 +0000 (18:31 +0000)]
MFC rr240007:

Fix a typo which results in RTT to be off by a factor of 10, if the RTT is
larger than 1 second.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240171 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239889:
jimharris [Thu, 6 Sep 2012 16:38:55 +0000 (16:38 +0000)]
MFC r239889:

Do not call sati_check_data_io() for SATI_UNMAP sequences.

This routine is intended only for commands such as INQUIRY where
the controller may fill out a smaller amount of data than allocated
by the host.

The end result of this bug was that isci(4) would report non-zero
resid for successful SCSI_UNMAP commands.

Sponsored by:   Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240168 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH (r239836): align the boot partition on a 4 kB boundary.
des [Thu, 6 Sep 2012 16:27:59 +0000 (16:27 +0000)]
MFH (r239836): align the boot partition on a 4 kB boundary.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240167 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFS r239854 (including MFC r239601, r239602, r239621):
jamie [Wed, 29 Aug 2012 18:40:12 +0000 (18:40 +0000)]
MFS r239854 (including MFC r239601, r239602, r239621):

 Remember that I'm using length-defined strings in parameters:

  Don't include the null terminator when recomputing the parameter
  length when stripping the netmask from IP addresses.  This was
  causing later addresses in a comma-separated string to disappear.

  Use memcpy instead of strcpy.  This could just cause Bad Things.

  Add a null byte when comma-combining array parameters.

  Pre-separate IP addresses passed on the command line, so they can be
  properly parsed for interface prefixes and netmask suffixes.  This was
  already done for the old-style (fixed) command line, but missed for
  the new-style.

PR: 170832
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239871 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238418: acpi_cpu: separate a notion of current deepest
avg [Wed, 29 Aug 2012 11:28:59 +0000 (11:28 +0000)]
MFC r238418: acpi_cpu: separate a notion of current deepest
allowed+available Cx level from a user-set persistent limit on the said
level

Reviewed by: jhb, gianni, sbruno
Tested by: sbruno, Vitaly Magerya <vmagerya@gmail.com>
Approved by: re(kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239819 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r238933
fjoe [Tue, 28 Aug 2012 17:09:34 +0000 (17:09 +0000)]
MFC: r238933

- Change back "d_ofs" to int8_t to not pessimize padding and size of "struct puc_cfg".
- Use "puc_config_moxa" for Moxa boards that need d_ofs greater than 0x7f

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239784 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239665:
jimharris [Mon, 27 Aug 2012 18:14:22 +0000 (18:14 +0000)]
MFC r239665:

  Clear freeze bit before calling xpt_release_devq.

  This ensures that any ccbs which immediately start during the call to
  xpt_release_devq see an accurate picture of the frozen_lun_mask.

Sponsored by: Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239655:
jimharris [Mon, 27 Aug 2012 18:12:08 +0000 (18:12 +0000)]
MFC r239655:

  Fix scsi_da's BIO_DELETE->SCSI_UNMAP translation to use correct local
  variable when determining various sizes related to SCSI UNMAP block
  descriptor lists.

Sponsored by: Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239545:
jimharris [Mon, 27 Aug 2012 18:10:25 +0000 (18:10 +0000)]
MFC r239545:

  Fix/add isci(4) support for SCSI UNMAP to ATA DSM translation.

  This addresses kernel panic observed when sending SCSI UNMAP
  commands to SATA disks attached to isci(4).

  1) Flesh out callback routines to allocate/free buffers needed for
     translating SCSI UNMAP data to ATA DSM data.
  2) Add controller-level pool for storing buffers previously allocated
     for UNMAP translation, to lessen chance of no buffer available
     under memory pressure.
  3) Ensure driver properly handles case where buffer pool is empty
     and contigmalloc returns NULL.

Sponsored by: Intel
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239741 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFS: r239148
imp [Sun, 26 Aug 2012 05:11:52 +0000 (05:11 +0000)]
MFS: r239148

    r239148 | imp | 2012-08-08 14:21:33 -0600 (Wed, 08 Aug 2012) | 8 lines

    Make the addition of the d_gone binary compatible.  This allows
    storage drivers compiled for 9.0 to work on 9.1 and preserves the ABI
    for disks.

    Reviewed by:    scottl, ken
    Approved by:    re@ (kensmith)
    MFS after:      releng/9.1 gets sorted

This change fixes the binary compatibility problems with additions to
the disk(9) API.  Disk drivers compiled against 9.0 will not work on
9.1-RC1, but should start working after this change or in 9.1-RC2 and
later.  Disk drivers should not be linked against 9.1-RC1 for
distribution, except specifically for testing on RC1.  This was
planned for RC1, but it was delayed due to circumstancs beyond my
control.

Approved by: re@ (kensmith)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239707 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239649:
bschmidt [Fri, 24 Aug 2012 14:50:44 +0000 (14:50 +0000)]
MFC r239649:
Document update of 802.11s IE identifiers.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239653 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r231187:
bschmidt [Fri, 24 Aug 2012 06:56:44 +0000 (06:56 +0000)]
MFC r231187:
Update the 802.11s IE numbers to represent the latest 802.11 amendment
standard.

This update breaks compatibility with older mesh setups but is necessary as
the previous IDs are used by another amendment leading to unexpected results
when trying to associate with an accesspoint using the affected IDs.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239641 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239228: Build modules along with the XENHVM kernels.
cperciva [Fri, 24 Aug 2012 05:36:37 +0000 (05:36 +0000)]
MFC r239228: Build modules along with the XENHVM kernels.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239639 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239464:
delphij [Thu, 23 Aug 2012 04:57:56 +0000 (04:57 +0000)]
MFC r239464:
>
As of r232844 we no longer need the maxpoll 9 workaround.
>
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239346:
lstewart [Wed, 22 Aug 2012 01:28:16 +0000 (01:28 +0000)]
MFC r239346:

The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP
timestamp related stack variables to reference ms directly instead of ticks. The
h_ertt(4) Khelp module relies on TCP timestamp information in order to calculate
its enhanced RTT estimates, but was not updated as part of r231767.

Consequently, h_ertt has not been calculating correct RTT estimates since
r231767 was comitted, which in turn broke all delay-based congestion control
algorithms because they rely on the h_ertt RTT estimates.

Fix the breakage by switching h_ertt to use tcp_ts_getticks() in place of all
previous uses of the ticks variable. This ensures all timestamp related
variables in h_ertt use the same units as the TCP stack and therefore results in
meaningful comparisons and RTT estimate calculations.

Reported & tested by: Naeem Khademi (naeemk at ifi uio no)
Discussed with: bz
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239550 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239470: Do not call process_nodelete with NULL object pointer.
kan [Tue, 21 Aug 2012 22:42:46 +0000 (22:42 +0000)]
MFC r239470: Do not call process_nodelete with NULL object pointer.

The place where the function is called can be reached if object loading
and relocation fails too, in which case obj pointer will be NULL. Do not
call process_nodelete then, or crash will follow.

Pointy hat to: kan
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239546 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238673:
mav [Tue, 21 Aug 2012 12:37:37 +0000 (12:37 +0000)]
MFC r238673:
Use 16bit PIO instead of 32bit in case of misaligned buffer.
It fixes kernel panic during CD write with cdrecord on sparc64.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239496 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r232844: Remove extraneous log message
emaste [Tue, 21 Aug 2012 11:35:54 +0000 (11:35 +0000)]
MFC r232844: Remove extraneous log message

  When ntp switched between PLL and FLL mode it produced a log message
  "kernel time sync status change %04x".  This issue is reported in ntp
  bug 452[1] which claims that this behaviour is normal and the log
  message isn't necessary.  I'm not sure exactly when it was removed, but
  it's gone in the latest ntp release (4.2.6p5).

  [1] http://bugs.ntp.org/show_bug.cgi?id=452

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239493 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238718: Quirk MS keyboard so that function keys work
emaste [Tue, 21 Aug 2012 11:34:40 +0000 (11:34 +0000)]
MFC r238718: Quirk MS keyboard so that function keys work

  The function keys on a Microsoft Natural Egronomic Keyboard 4000 have been
  repurposed as "Help", "Undo", "Redo" etc., and a special "F Lock" key is
  required to return them to their normal purpose.

  This change enables the UQ_KBD_BOOTPROTO quirk for the MS Natural 4000
  keyboard to get the keys working again.  More extensive changes to the USB
  keyboard infrastructure would be needed to fully support the "F Lock" mode
  and the extended keys on this keyboard.

PR:             usb/116947
Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r239079
marius [Tue, 21 Aug 2012 11:17:11 +0000 (11:17 +0000)]
MFC: r239079

Merge r236494 from x86:

Isolate the global TTE list lock from data and other locks to prevent false
sharing within the cache.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239491 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238631:
delphij [Tue, 21 Aug 2012 09:55:57 +0000 (09:55 +0000)]
MFC r238631:

Import an updated version of moduli(5) manual page from OpenBSD.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239489 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r239089
marius [Tue, 21 Aug 2012 09:43:03 +0000 (09:43 +0000)]
MFC: r239089

- Merge from NetBSD:
  When issuing a non-DMA command, make sure to set the "remaining length of
  command to be transferred via DMA" (sc_cmdlen) to zero up-front, otherwise
  we might get confused on command competition interrupt (no DMA active but
  still data left to transfer).
- Implement handling of MSG_IGN_WIDE_RESIDUE which some targets produce, as
  just rejecting these leads to a resend and disconnect loop.
  Reported and tested by: mjacob

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239488 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239169:
delphij [Tue, 21 Aug 2012 09:05:23 +0000 (09:05 +0000)]
MFC r239169:

RFC 2289 requires all hashes be stored in little endian format before
folding to 64 bits, while SHA1 code is big endian.  Therefore, a bswap32
is required before using the value.

Without this change, the implementation does not conform to test vector
found in RFC 2289.

PR: bin/170519
Submitted by: Arthur Mesh <arthurmesh gmail com> (with changes)
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239482 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239084:
delphij [Tue, 21 Aug 2012 08:31:30 +0000 (08:31 +0000)]
MFC r239084:

Add PCI IDs for various new High Point RocketRAID 43xx and 3xxx devices.

Obtained from: FreeNAS
Approved by: re (implicit, follow-up for r239460)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239481 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239084
delphij [Mon, 20 Aug 2012 18:27:02 +0000 (18:27 +0000)]
MFC r239084

Add PCI IDs for various new High Point RocketRAID 43xx and 3xxx devices.

Obtained from: FreeNAS
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239460 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238997:
delphij [Mon, 20 Aug 2012 18:10:48 +0000 (18:10 +0000)]
MFC r238997:

Correct a typo.

Reported by: Sascha Wildner <swildner dragonflybsd org>
Reviewed by: scottl
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239456 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH r236106: avoid segfault with SSH 1 keys
des [Mon, 20 Aug 2012 17:50:20 +0000 (17:50 +0000)]
MFH r236106: avoid segfault with SSH 1 keys

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239454 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239052:
tuexen [Mon, 20 Aug 2012 17:36:10 +0000 (17:36 +0000)]
MFC r239052:
Fix a refcount issue. The caller only decrements if stcb is NULL.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239452 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239041:
tuexen [Mon, 20 Aug 2012 17:06:50 +0000 (17:06 +0000)]
MFC r239041:

Fix a bug reported by Simon L. B. Nielsen:
If an SCTP endpoint receives an ASCONF with a wildcard
lookup address and incorrect verification tag, the system
crashes.
This bug was found by Shaun Colley.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239451 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239253: Pospone the DF_1_NODELETE processing until object DAG is
kan [Mon, 20 Aug 2012 16:57:27 +0000 (16:57 +0000)]
MFC r239253: Pospone the DF_1_NODELETE processing until object DAG is
fully loaded.

Trying to up the reference from the load loop risks missing
dependencies that have not been loaded yet.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239450 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239021:
jimharris [Mon, 20 Aug 2012 16:55:55 +0000 (16:55 +0000)]
MFC r239021:

In virstor_ctl_stop(), check for a valid softc before trying to update
metadata.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239449 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239233:
wblock [Mon, 20 Aug 2012 16:37:41 +0000 (16:37 +0000)]
MFC r239233:

Correct description of minfree to kilobytes rather than blocks.

PR: 125921
Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com>
Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239444 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239095: Do not add handler to event handlers list until ithread
kan [Mon, 20 Aug 2012 15:19:34 +0000 (15:19 +0000)]
MFC r239095: Do not add handler to event handlers list until ithread
is created.

In rare event when fast and ithread interrupts share the same vector
and the fast handler was registered first, we can end up trying to
schedule the ithread that is not created yet. The kernel built with
INVARIANTS then triggers an assertion.

Change the order to create the ithread first and only then add the
handler that needs it to the interrupt event handlers list.

Approved by: re (kib)
Reviewed by: jhb

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239437 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239019: Parse notes only after object structure had been allocated.
kan [Mon, 20 Aug 2012 15:05:29 +0000 (15:05 +0000)]
MFC r239019: Parse notes only after object structure had been allocated.
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239434 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239216, r239217:
gjb [Mon, 20 Aug 2012 13:07:22 +0000 (13:07 +0000)]
MFC r239216, r239217:

r239216:
 - Remove a leading space that breaks rendering

r239217:
 - Fix source dataset snapshot name in Example 15.
 - Bump date.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239420 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f