]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
8 years agoFix several OpenSSL vulnerabilities.
delphij [Wed, 4 May 2016 06:53:02 +0000 (06:53 +0000)]
Fix several OpenSSL vulnerabilities.

Security: CVE-2016-2105, CVE-2016-2106, CVE-2016-2109
Security: CVE-2016-2176 (does not affect FreeBSD)
Security: FreeBSD-SA-16:17.openssl

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

8 years agoMFstable/10 r299022:
ngie [Wed, 4 May 2016 00:35:41 +0000 (00:35 +0000)]
MFstable/10 r299022:

MFC r298450:

Simplify always evaluated branch (`e != NULL`)

- xalloc(..) ensures that e will be non-null via malloc + err.
- `e` is already dereferenced above, so logically it's impossible
  to hit the lower test without crashing if it was indeed NULL.

CID: 1007408

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

8 years agoMFstable/10 r299018:
ngie [Wed, 4 May 2016 00:26:47 +0000 (00:26 +0000)]
MFstable/10 r299018:

MFC r298448,r298464:

r298448:

Don't leak `string` in parse_define(..) when a macro has been found
and the parser token != TOK_ASSIGN

CID: 10071871007188
Obtained from: Isilon OneFS (part of r445479)

r298464:

Use `sizeof(*uuser)` instead of `sizeof(struct usm_user)` for consistency with
the rest of the users in the file

No functional change

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

8 years agoMFstable/10 r299016:
ngie [Wed, 4 May 2016 00:19:46 +0000 (00:19 +0000)]
MFstable/10 r299016:

MFC r298451,r298452,r298507,r298750:

r298451:

Don't use `entry` after free in the "already in lists" case

Return with 0 as it isn't an error.

CID: 1006085
Obtained from: Isilon OneFS (part of r493633)

r298452:

Don't try to free `string` (stack allocated char[])

Fix minor style with warnx call while in the neighborhood

CID: 1009683

r298507:

Fix looking for "UTC" at start of ptr by using strnmp instead of improperly
unrolled equivalent

CID: 1347118

r298750:

Use a better idiom for finding UTC prefixed timezones

Instead of copy-pasting the string literal for "UTC" 3 times and using
strlen, use a static char[3] buffer and sizeof(..).

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

8 years agoMFC r298556:
pfg [Tue, 3 May 2016 15:06:29 +0000 (15:06 +0000)]
MFC r298556:

ifconfig: prevent some improbable signed integer overflows.

ic_nchans, from struct:ieee80211req_chaninfo, is an unsigned int.
Use an unsigned index to prevent overflowing the index.

Adopt unsigned integers in other cases where it is useful
to be aware of the unsigned quantities and there is no
risk of the values being negative.

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

8 years agoMFstable/10 r272871:
ngie [Sat, 30 Apr 2016 09:43:01 +0000 (09:43 +0000)]
MFstable/10 r272871:
r272871 (by hrs):

MFC r271909:
  Revert changes in r269180.  It could cause -c N option to enter an
  infinite loop if no reply packet is received.

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

8 years agoMFC r297696 and r298424:
hselasky [Fri, 29 Apr 2016 11:38:45 +0000 (11:38 +0000)]
MFC r297696 and r298424:
Add new USB quirks.

Submitted by: AJ <aleksanderlothe@live.com>
PR: 208623
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com>
PR: 208642

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

8 years agoMFC r298458:
hselasky [Fri, 29 Apr 2016 11:31:27 +0000 (11:31 +0000)]
MFC r298458:
Add missing set of the current VNET when inputting IP packets in IPoIB.

This fixes a kernel panic when using IPoIB with VIMAGE and infiniband.

PR: 208957
Sponsored by: Mellanox Technologies
Tested by: Justin Clift <justin@postgresql.org>

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

8 years agoMFC r297968:
hselasky [Fri, 29 Apr 2016 11:17:25 +0000 (11:17 +0000)]
MFC r297968:
Remove some unused fields.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r297967:
hselasky [Fri, 29 Apr 2016 11:15:48 +0000 (11:15 +0000)]
MFC r297967:
Ensure the received IP header gets 32-bits aligned.

The FreeBSD's TCP/IP stack assumes that the IP-header is 32-bits aligned
when decoding it. Else unaligned 32-bit memory access can happen, which
not all processor architectures support.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r297966:
hselasky [Fri, 29 Apr 2016 11:10:43 +0000 (11:10 +0000)]
MFC r297966:
Add missing port_up checks.

When downing a mlxen network adapter we need to check the port_up variable
to ensure we don't continue to transmit data or restart timers which can
reside in freed memory.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r298640:
pfg [Fri, 29 Apr 2016 03:13:18 +0000 (03:13 +0000)]
MFC r298640:
ed(1): switch two statements so we check the index before dereferencing.

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

8 years agoMFC r298551, r298679, r298680:
pfg [Fri, 29 Apr 2016 03:06:42 +0000 (03:06 +0000)]
MFC r298551, r298679, r298680:
fsck_ffs: use uint32_t for closedisk().

fs_ncg is of type uint32_t, and we were indexing it with an int.
Fixed this using an unsigned type.

Reviewed by: mckusick

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

8 years agoMFC r298521;
pfg [Thu, 28 Apr 2016 01:12:38 +0000 (01:12 +0000)]
MFC r298521;
regex: prevent two improbable signed integer overflows.

In matcher() we used an integer to index nsub of type size_t.
In print() we used an integer to index nstates of type sopno,
typedef'd long.
In both cases the indexes never take negative values.

Match the types to avoid any error.

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

8 years agoMFC r298695: MFV r298691: ntp 4.2.8p7.
delphij [Wed, 27 Apr 2016 15:25:18 +0000 (15:25 +0000)]
MFC r298695: MFV r298691: ntp 4.2.8p7.

Security: CVE-2016-1547, CVE-2016-1548, CVE-2016-1549, CVE-2016-1550
Security: CVE-2016-1551, CVE-2016-2516, CVE-2016-2517, CVE-2016-2518
Security: CVE-2016-2519
Security: FreeBSD-SA-16:16.ntp
With hat: so

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

8 years agoMFC r297820:
ae [Tue, 26 Apr 2016 12:00:04 +0000 (12:00 +0000)]
MFC r297820:
  Fix the problem, when gpart(8) can't write both bootcode and partcode
  in one command due to wrong file size limit. Do not use bootcode size
  to calculate partsize limit.
  Also add report message about successful partcode writing.

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

8 years agoMFC r297846: [amd64] dtrace_invop handler is to be called only for
avg [Tue, 26 Apr 2016 07:40:56 +0000 (07:40 +0000)]
MFC r297846: [amd64] dtrace_invop handler is to be called only for
kernel exceptions

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

8 years agoMFC r297796:
pfg [Mon, 25 Apr 2016 00:52:37 +0000 (00:52 +0000)]
MFC r297796:
ext2fs: replace 0 with NULL for pointers.

While here do late initialization of ebap, similar as was
done in UFS.

Found with devel/coccinelle.

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

8 years agoMFC r297513: remove emulation of VFS_HOLD and VFS_RELE from opensolaris compat
avg [Sun, 24 Apr 2016 08:45:43 +0000 (08:45 +0000)]
MFC r297513: remove emulation of VFS_HOLD and VFS_RELE from opensolaris compat

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

8 years agoMFC r297791:
pfg [Sun, 24 Apr 2016 03:13:02 +0000 (03:13 +0000)]
MFC r297791:
UFS: replace 0 with NULL for pointers.

While here also do late initialization of the variables we are
changing.

Found with devel/coccinelle.

Reviewed by: mckusick

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

8 years agoMFstable/10 r298488:
ngie [Fri, 22 Apr 2016 21:28:50 +0000 (21:28 +0000)]
MFstable/10 r298488:

MFC r298303:

Remove trailing whitespace and use `nitems(mib)` instead of `2` when
calling sysctl(3)

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

8 years agoMFC r297709: zio write issue threads should have lower (numerically
avg [Fri, 22 Apr 2016 12:49:00 +0000 (12:49 +0000)]
MFC r297709: zio write issue threads should have lower (numerically
greater) priority

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

8 years agoMFC r298043:
kib [Fri, 22 Apr 2016 08:56:47 +0000 (08:56 +0000)]
MFC r298043:
Avoid NULL pointer dereference.

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

8 years agoMFC r297527, r297688:
pfg [Thu, 21 Apr 2016 15:02:57 +0000 (15:02 +0000)]
MFC r297527, r297688:
chdone(): Prevent returning uninitialized scalar value.

Instead of attempting to initialize all the possible cases, just
move the check nearer to the case where it makes sense.

CID: 1006486
Reviewed by: ken

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

8 years agoMFC 297942:
pfg [Wed, 20 Apr 2016 00:50:17 +0000 (00:50 +0000)]
MFC 297942:
libgssapi: avoid NULL pointer dereferences.

While here also use NULL instead of zero for pointers.

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

8 years agoMFC r297884
davidcs [Tue, 19 Apr 2016 19:03:06 +0000 (19:03 +0000)]
MFC r297884
Add support for Flash Update

Submitted by:nrapendra.singh@qlogic.com;vaishali.kulkarni@qlogic.com;davidcs@freebsd.org

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

8 years agoMFC r297873
davidcs [Tue, 19 Apr 2016 18:57:31 +0000 (18:57 +0000)]
MFC r297873

1. Process tx completions in bxe_periodic_callout_func() and restart
   transmissions if possible.
2. For SIOCSIFFLAGS call bxe_init_locked() only if !BXE_STATE_DISABLED
3. remove code not needed in bxe_init_internal_common()

Submitted by:vaishali.kulkarni@qlogic.com;venkata.bhavaraju@qlogic.com

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

8 years agoMFC r297520: zfs receive: -u can be ignored sometimes
avg [Tue, 19 Apr 2016 12:14:52 +0000 (12:14 +0000)]
MFC r297520: zfs receive: -u can be ignored sometimes

PR: 204705

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

8 years agoMFC r287453,287454,288143:
delphij [Mon, 18 Apr 2016 08:30:52 +0000 (08:30 +0000)]
MFC r287453,287454,288143:

file 5.25.

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

8 years agoMFC r297335, r297479, r297695:
kevlo [Thu, 14 Apr 2016 01:20:15 +0000 (01:20 +0000)]
MFC r297335, r297479, r297695:

- Update superblock and inode structs for ext4.
- Update comment: Linux does set a randomized generation number of an inode
  on ext2/3/4.  While here use arc4random() instead of random().

Reviewed by: pfg

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

8 years agoMFC r294520:
hselasky [Thu, 7 Apr 2016 07:53:56 +0000 (07:53 +0000)]
MFC r294520:
LinuxKPI atomic fixes:
- Fix implementation of atomic_add_unless(). The atomic_cmpset_int()
  function returns a boolean and not the previous value of the atomic
  variable.
- The atomic counters should be signed according to Linux.
- Some minor cosmetics and styling while at it.

Reviewed by: alfred @
Sponsored by: Mellanox Technologies

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

8 years agoMFC r297444:
hselasky [Thu, 7 Apr 2016 07:45:31 +0000 (07:45 +0000)]
MFC r297444:
Fix bugs in currently unused bit searching loop.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r296934:
hselasky [Thu, 7 Apr 2016 07:39:55 +0000 (07:39 +0000)]
MFC r296934:
Fix crash in krping when run as a client due to NULL pointer access.
Initialize pointer in question which is used only when fast registers
mode is selected.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r296987:
hselasky [Thu, 7 Apr 2016 07:38:18 +0000 (07:38 +0000)]
MFC r296987:
Add missing curly brackets in for loop.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r296910:
hselasky [Thu, 7 Apr 2016 07:33:40 +0000 (07:33 +0000)]
MFC r296910:
Use hardware computed Toeplitz hash for incoming flowids

Use the Toeplitz hash value as source for the flowid. This makes the
hash value more suitable for so-called hash bucket algorithms which
are used in the FreeBSD's TCP/IP stack when RSS is enabled.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r296909:
hselasky [Thu, 7 Apr 2016 07:31:17 +0000 (07:31 +0000)]
MFC r296909:
Fix witness panic in the ipoib_ioctl() function when unloading the
ipoib module.

The bpfdetach() function is trying to turn off promiscious mode on the
network interface it is attached to while holding a mutex. The fix
consists of ignoring any further calls to the ipoib_ioctl() function
when the network interface is going to be detached. The ipoib_ioctl()
function might sleep.

Sponsored by: Mellanox Technologies

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

8 years agoMFC r294526:
hselasky [Thu, 7 Apr 2016 07:23:21 +0000 (07:23 +0000)]
MFC r294526:
Add missing atomic wrapper macro.

Reviewed by: alfred @
Sponsored by: Mellanox Technologies

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

8 years agoMFC r296342:
hselasky [Thu, 7 Apr 2016 07:15:53 +0000 (07:15 +0000)]
MFC r296342:
Allow for overlapping quirk device ranges. Prior to this patch only
the first device entry matching the USB vendor, product and revision
would be searched for quirks. After this patch all device entries will
be searched for quirks.

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

8 years agoMFC r297155
davidcs [Wed, 6 Apr 2016 21:19:27 +0000 (21:19 +0000)]
MFC r297155
  Modifications to achieve a common source base from FreeBSD7.x thru 10.x

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

8 years agoMFC r297212:
dim [Wed, 30 Mar 2016 22:12:07 +0000 (22:12 +0000)]
MFC r297212:

For C++, expose long long types and functions (lldiv_t, llabs, lldiv,
etc) in stdlib.h.  These will be needed for newer versions of libc++,
which uses them for defining overloaded versions of abs() and div().

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

8 years agoMFC r296526:
bdrewery [Mon, 28 Mar 2016 16:24:10 +0000 (16:24 +0000)]
MFC r296526:

  Record command exit status in the typescript file when running simple
  commands.

Relnotes: yes

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

8 years agoMFC r297051: Fix incorrect (fortunately bigger) malloc size.
mav [Mon, 28 Mar 2016 09:29:14 +0000 (09:29 +0000)]
MFC r297051: Fix incorrect (fortunately bigger) malloc size.

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

8 years agoMFC r296095:
pfg [Sun, 27 Mar 2016 19:43:26 +0000 (19:43 +0000)]
MFC r296095:
rpc: fix failure to clear string by passing the wrong size to memset.

Noted by NetBSD's PR/21014

Obtained from: NetBSD (CVS Rev. 1.24, 1.25)

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

8 years agoMFC r296394:
pfg [Fri, 25 Mar 2016 00:40:04 +0000 (00:40 +0000)]
MFC r296394:
xdr: Fix xdr_rpc* defines.

The defines for xdr_rpc* in xdr.h are wrong. It could be
very well that Solaris did strip the '_t' from xdr_u_int32_t,
but Solaris has a xdr_u_int32 function, we don't have this.
So all of this defines will lead to an unresolved symbol.

This explains why we do not use these functions in FreeBSD
while they are used in Illumos/Solaris.

Obtained from: linux libtirpc (git 7864122e61ffe4db1aa8ace89117358a1e3a391b)

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

8 years agoUpdate with new IPv6 address for l-root.
erwin [Thu, 24 Mar 2016 11:38:18 +0000 (11:38 +0000)]
Update with new IPv6 address for l-root.

Obtained from: IANA
Sponsored by: DK Hostmaster A/S

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

8 years agoMFC r296819:
bdrewery [Mon, 21 Mar 2016 17:53:37 +0000 (17:53 +0000)]
MFC r296819:

  Reword SX_NOADAPTIVE description to be clear that adaptive is default.

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

8 years agoRevert r297130: Revert to unbreak the build.
pfg [Mon, 21 Mar 2016 05:47:59 +0000 (05:47 +0000)]
Revert r297130: Revert to unbreak the build.

No idea how this broke the build in libstand but it was the only
change so revert to appease jenkins.

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

8 years agoMFC r296816:
pfg [Mon, 21 Mar 2016 01:17:48 +0000 (01:17 +0000)]
MFC r296816:

libdtrace: use calloc(3) instead of malloc(3) when it makes sense.

calloc(3) is faster and occasionally safer than malloc(3) + bzero(3).

In one case, pointed out by Mark[1], this also cleans up a calculation.

Reviewed by: markj [1]

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

8 years agoMFC r296919: Fix small memory leak on attempt to access deleted snapshot.
mav [Fri, 18 Mar 2016 13:32:37 +0000 (13:32 +0000)]
MFC r296919: Fix small memory leak on attempt to access deleted snapshot.

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

8 years agoMFC r296653: Allow standard commands for "unknown" classes in RESCUE mode.
mav [Fri, 18 Mar 2016 13:30:40 +0000 (13:30 +0000)]
MFC r296653: Allow standard commands for "unknown" classes in RESCUE mode.

For example, it allows quite useful `geom disk list` command.

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

8 years agoMerge r296956:
glebius [Wed, 16 Mar 2016 22:36:02 +0000 (22:36 +0000)]
Merge r296956:

  Due to invalid use of a signed intermediate value in the bounds checking
  during argument validity verification, unbound zero'ing of the process LDT
  and adjacent memory can be initiated from usermode.

Submitted by:   CORE Security
Patch by:       kib
Security:       SA-16:15

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

8 years agoDon't assume checksums will be calculated later when fastfoward is
cy [Wed, 16 Mar 2016 02:01:17 +0000 (02:01 +0000)]
Don't assume checksums will be calculated later when fastfoward is
enabled.

This is a direct commit to the stable/9 because this branch uses
ipfilter 4.1.28 whereas head has ipfilter 5.1.2. This corresponds
to r292518 and r292813 in head and r292979 and r292811 in stable/10.

PR: 72210

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

8 years agoMFC r296579
davidcs [Mon, 14 Mar 2016 23:33:38 +0000 (23:33 +0000)]
MFC r296579
Fix code so that buf_ring allocation for Tx Queues and their mutexes
is done during during bxe_attach() and freed during bxe_detach()

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

8 years agoBelatedly bump VersionAddendum for the xauth bugfix.
des [Mon, 14 Mar 2016 13:13:07 +0000 (13:13 +0000)]
Belatedly bump VersionAddendum for the xauth bugfix.

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

8 years agoMFstable/10 r296815:
ngie [Mon, 14 Mar 2016 00:42:19 +0000 (00:42 +0000)]
MFstable/10 r296815:

MFC r294973:

Add pidfile support to ggated(8)

The tests will manipulate the system daemon today, which can cause undesired
service interruption when the tests are run.

This change allows the geom_gate tests to be run with an arbitrary ggated(8)
daemon / geom_gate(4) device pairing.

Other changes:
- Sort #includes
- Use a more common idiom for parsing options with getopt(3)

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

8 years agoMFstable/10 r296814:
ngie [Mon, 14 Mar 2016 00:40:57 +0000 (00:40 +0000)]
MFstable/10 r296814:

MFC r293621,r293622,r293815:

r293621:

- Delete non-TAP testcases
- Add a conf.sh file for executing common functions with geom_gate
- Use attach_md for attaching md(4) devices
- Don't hardcode /tmp for temporary files, which violates the kyua sandbox
- Add/increase sleeps to try and improve synchronization
- Add debug output for when checksums fail

test-1.t:
- Use pkill for killing ggated

r293622:

Remove Makefile now that the testcases are all TAP based and
prove -rv can be used on them

r293815:

Add conf.sh file missed in r293621

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

8 years agoMerge r296802 from stable/10, which adds a patch corresponding to
dim [Sun, 13 Mar 2016 18:37:41 +0000 (18:37 +0000)]
Merge r296802 from stable/10, which adds a patch corresponding to
r296800, and record that r296800 was 'merged' also.

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

8 years agoPull in r219512 from upstream llvm trunk (by Hal Finkel):
dim [Sun, 13 Mar 2016 18:32:18 +0000 (18:32 +0000)]
Pull in r219512 from upstream llvm trunk (by Hal Finkel):

  [MiSched] Fix a logic error in tryPressure()

  Fixes a logic error in the MachineScheduler found by Steve Montgomery
  (and confirmed by Andy). This has gone unfixed for months because the
  fix has been found to introduce some small performance regressions.
  However, Andy has recommended that, at this point, we fix this to
  avoid further dependence on the incorrect behavior (and then
  follow-up separately on any regressions), and I agree.

  Fixes PR18883.

This fixes a possible "ran out of registers" error when compiling
www/firefox 45.0 on i386.

Direct commit to stable/9, because head already has this fix since the
llvm/clang 3.6.0 import.

PR: 207837

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

8 years agoMFstable/10 r296787:
ngie [Sun, 13 Mar 2016 02:09:01 +0000 (02:09 +0000)]
MFstable/10 r296787:

MFC r293443:

- Make test-1.sh into a TAP testable testcase
- Delete test-2.sh as it was an incomplete testcase, and the contents were
  basically a subset of test-1.sh
- Add a conf.sh file for executing common functions with geom_uzip
- Use attach_md for attaching md(4) devices
- Don't hardcode /tmp for temporary files, which violates the kyua sandbox

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

8 years agoMFstable/10 r296786:
ngie [Sun, 13 Mar 2016 02:08:23 +0000 (02:08 +0000)]
MFstable/10 r296786:

MFC r293442:

- Add a geom_stripe specific cleanup function and trap on that function at
  exit so things are cleaned up properly
- Use attach_md for attaching md(4) devices
- Don't hardcode /tmp for temporary files, which violates the kyua sandbox

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

8 years agoMFstable/10 r296785:
ngie [Sun, 13 Mar 2016 02:07:45 +0000 (02:07 +0000)]
MFstable/10 r296785:

MFC r293441:

- Add a geom_shsec specific cleanup function and trap on that function at
  exit so things are cleaned up properly
- Use attach_md for attaching md(4) devices
- Don't hardcode /tmp for temporary files, which violates the kyua sandbox

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

8 years agoMFstable/10 r296784:
ngie [Sun, 13 Mar 2016 02:06:57 +0000 (02:06 +0000)]
MFstable/10 r296784:

MFC r293438:

- Add a geom_raid3 specific cleanup function and trap on that function at
  exit so things are cleaned up properly
- Use attach_md for attaching md(4) devices
- Don't hardcode /tmp for temporary files, which violates the kyua sandbox

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

8 years agoMFstable/10 r296783:
ngie [Sun, 13 Mar 2016 02:06:09 +0000 (02:06 +0000)]
MFstable/10 r296783:

MFC r293437:

- Add a conf.sh file for executing common functions with gnop
- Use attach_md for attaching md(4) devices
- Don't hardcode /tmp for temporary files, which violates the kyua sandbox

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

8 years agoMFstable/10 r296782:
ngie [Sun, 13 Mar 2016 02:05:16 +0000 (02:05 +0000)]
MFstable/10 r296782:

MFC r293436:

- Add a conf.sh file for executing common functions with geli
-- Use linear probing to find the first unique md(4) device, unlike the other
   code which uses attach_md, as geli(8) allocates the md(4) devices itself
- Don't hardcode /tmp for temporary files, which violates the kyua sandbox

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

8 years agoApply patch from 7.2p2 for xauth command injection bug.
des [Sat, 12 Mar 2016 23:50:19 +0000 (23:50 +0000)]
Apply patch from 7.2p2 for xauth command injection bug.

Security: CVE-2016-3115

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

8 years agoMFstable/10 r296777:
ngie [Sat, 12 Mar 2016 23:12:23 +0000 (23:12 +0000)]
MFstable/10 r296777:

MFC r293434:

- Use attach_md for memory disks so they can be tracked.
- Add a geom_concat specific cleanup function and trap on that function at
  exit so things are cleaned up properly
- Don't hardcode /tmp for temporary files, which violates the kyua sandbox

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

8 years agoMFC r296148:
bdrewery [Sat, 12 Mar 2016 19:18:53 +0000 (19:18 +0000)]
MFC r296148:

  Remove old compatibility checks.

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

8 years agoMFstable/10 r296756:
ngie [Sat, 12 Mar 2016 19:11:45 +0000 (19:11 +0000)]
MFstable/10 r296756:

MFC r295079:

Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on
64-bit architectures where sizeof(int) != sizeof(size_t).

PR: 206758

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

8 years agoMFC r296322:
bdrewery [Sat, 12 Mar 2016 19:08:46 +0000 (19:08 +0000)]
MFC r296322:

  Remove self-reference to destroy_dev_drain(9).

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

8 years agoMFC r296286,r296470,r296472,r296473,r296575:
bdrewery [Sat, 12 Mar 2016 19:07:08 +0000 (19:07 +0000)]
MFC r296286,r296470,r296472,r296473,r296575:

  r296286:
    Remove filemon->lock wrappers.
  r296470:
    Only call bwillwrite() for logging to vnodes, as other fo_write() calls do.
  r296472:
    Require kldunload -f to unload.
  r296473:
    Add missing break for r296472.
  r296575:
    FILEMON_SET_FD: Disallow changing the fd.

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

8 years agoMFC r295161,r296014:
bdrewery [Sat, 12 Mar 2016 19:01:45 +0000 (19:01 +0000)]
MFC r295161,r296014:

  r295161:
    Add order for installworld/distribution.
  r296014:
    Add order for installworld/installkernel.

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

8 years agoMFC r296002,r296012:
bdrewery [Sat, 12 Mar 2016 18:59:56 +0000 (18:59 +0000)]
MFC r296002,r296012:

  r296002:
    Don't hide AR command as bsd.lib.mk's r283925 changed as well.
  r296012:
    OBJS and POBJS have not been used since r215127.

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

8 years agoMFstable/10 r296736:
ngie [Sat, 12 Mar 2016 18:47:28 +0000 (18:47 +0000)]
MFstable/10 r296736:

MFC r295119:

Remove `r_tmp` to fix a -Wunused-but-set-variable warning with gcc 4.9

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

8 years agoMFstable/10 r296733:
ngie [Sat, 12 Mar 2016 18:38:13 +0000 (18:38 +0000)]
MFstable/10 r296733:

MFC r295118:

Add #include <string.h> to mute warning from clang/gcc about implicitly
declaring strcmp(3)

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

8 years agoLink ntp-keygen(8) with pthread. Note this is a direct commit to stable/9
jkim [Fri, 11 Mar 2016 22:45:23 +0000 (22:45 +0000)]
Link ntp-keygen(8) with pthread.  Note this is a direct commit to stable/9
because head and stable/10 were fixed differently with r280849 and r285612,
respectively.

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

8 years agoMFC r296348:
ae [Fri, 11 Mar 2016 09:55:24 +0000 (09:55 +0000)]
MFC r296348:
  Use correct size for malloc.

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

8 years agoMFC 296280:
jgh [Fri, 11 Mar 2016 01:41:09 +0000 (01:41 +0000)]
MFC 296280:

PR: 202971
Submitted by: adamw@FreeBSD.org
Reviewed by: bdrewery@
Approved by: wblock@
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D5429

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

8 years agoMFV r296599: BIND 9.9.8-P4.
delphij [Thu, 10 Mar 2016 07:44:56 +0000 (07:44 +0000)]
MFV r296599: BIND 9.9.8-P4.

Security: CVE-2016-1285
Security: CVE-2016-1286
Security: CVE-2016-2088
Security: FreeBSD-SA-16:13.bind

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

8 years agoFix CR/LF's in bn_exp.c introduced in r207783. No actual code change.
delphij [Thu, 10 Mar 2016 03:58:48 +0000 (03:58 +0000)]
Fix CR/LF's in bn_exp.c introduced in r207783.  No actual code change.

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

8 years agoFix a regression introduced in r296462 that causes out-of-bound access in
delphij [Thu, 10 Mar 2016 03:57:37 +0000 (03:57 +0000)]
Fix a regression introduced in r296462 that causes out-of-bound access in
the BN code and have slipped my review.

PR: 207783
Submitted by: dim

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

8 years agoMFC r296071
davidcs [Wed, 9 Mar 2016 21:40:00 +0000 (21:40 +0000)]
MFC r296071
  Upgrade the firmware carried in driver and loaded during hardware
  initialization (a.k.a STORM firmware) to version 7.13.1 (latest version)

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

8 years agoMFC r295967:
ae [Wed, 9 Mar 2016 10:14:53 +0000 (10:14 +0000)]
MFC r295967:
  Fix useless check. m_pkthdr.len should be equal to orglen.

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

8 years agoMFC r295675:
pfg [Tue, 8 Mar 2016 14:39:00 +0000 (14:39 +0000)]
MFC r295675:
Fix "naive" use of ftell(3).

Secure coding practices, FIO19-C.

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

8 years agoMFC r295672:
pfg [Mon, 7 Mar 2016 16:20:01 +0000 (16:20 +0000)]
MFC r295672:
crontab: ftruncate() with ftello() instead of ftell().

Obtained from: OpenBSD (CVS rev. 1.47)

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

8 years agoFix multiple OpenSSL vulnerabilities as published in
delphij [Mon, 7 Mar 2016 16:18:07 +0000 (16:18 +0000)]
Fix multiple OpenSSL vulnerabilities as published in
OpenSSL advisory on 2016/03/01:

constant-time MOD_EXP_CTIME_COPY_FROM_PREBUF.
[CVE-2016-0702, upstream d6482a85ea08bdd6d422e,
8fc8f48 317be63 skipped intentionally as we are not
using the code on FreeBSD.  Backport done by jkim@.

Fix memory issues in BIO_*printf functions.
[CVE-2016-0799, upstream d889682a801bf2].

Fix BN_hex2bn/BN_dec2bn NULL ptr/heap corruption.
[CVE-2016-0797, upstream 8f65132].

Disable SSLv2 in default negotiation and weak ciphers.
[CVE-2016-0800 "DROWN", upstream 56f1acf5].  Note that
support of SSLv2 is not removed in order to preserve
ABI compatibility, and application may still explicitly
ask for vulnerable protocol or ciphers.

In collaboration with: jkim

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

8 years agoMFC r295671:
pfg [Mon, 7 Mar 2016 16:13:54 +0000 (16:13 +0000)]
MFC r295671:
cron: use (char *)NULL instead of (char *)0 in execle.

Obtained from: OpenBSD (CVS Rev 1.25)

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

8 years agoRevert r286714: Add a new option "-fstack-protector-strong".
pfg [Mon, 7 Mar 2016 15:20:59 +0000 (15:20 +0000)]
Revert r286714: Add a new option "-fstack-protector-strong".

The stack-protector-strong option was causing problems when building
perl5. This was never within the official featureset of the older GCC
4.x toolchain so just drop it to avoid patching the perl port.

PR: 205307

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

8 years agoMFC r295928:
hselasky [Mon, 7 Mar 2016 10:02:31 +0000 (10:02 +0000)]
MFC r295928:
Configure the correct bMaxPacketSize for control endpoints before
requesting the initial complete device descriptor and not as part of
the subsequent babble error recovery. Babble means that the received
USB packet was bigger than than configured maximum packet size. This
only affects enumeration of FULL speed USB devices which use a
bMaxPacketSize different from 8 bytes. This patch might help fix
enumeration of USB devices which exhibit USB I/O errors in dmesg
during boot.

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

8 years agoMFC r295923:
hselasky [Mon, 7 Mar 2016 09:39:35 +0000 (09:39 +0000)]
MFC r295923:
Be more verbose when truncating number of HID items.

Suggested by: Larry Rosenman <ler@lerctr.org>

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

8 years agoMFC r296419 (by kib):
dim [Mon, 7 Mar 2016 07:57:57 +0000 (07:57 +0000)]
MFC r296419 (by kib):

In the link_elf_obj.c, handle sections of type SHT_AMD64_UNWIND same
as SHT_PROGBITS.  This is needed after the clang 3.8 import, which
generates that type for .eh_frame section, which had SHT_PROGBITS type
before.

Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com>
PR: 207729
Tested by: dim (previous version)
Sponsored by: The FreeBSD Foundation

MFC r296428:

Since kernel modules can now contain sections of type SHT_AMD64_UNWIND,
the boot loader should not skip over these anymore while loading images.
Otherwise the kernel can still panic when it doesn't find the .eh_frame
section belonging to the .rela.eh_frame section.

Unfortunately this will require installing boot loaders from sys/boot
before attempting to boot with a new kernel.

Reviewed by: kib

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

8 years agoMFC r295901:
dim [Mon, 7 Mar 2016 07:49:01 +0000 (07:49 +0000)]
MFC r295901:

Fix a problem in ld, causing it to sometimes print messages similar to
"invalid string offset 65521 >= 27261 for section `.strtab'". for object
files produced by recent versions of clang.

In BFD's elf_create_symbuf() function, the size of the symbol buffer
('ssymbuf') is not calculated correctly, and the initial value for the
'ssym' variable is off by one, since 'ssymbuf' has shndx_count + 1
members.

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

8 years agoMFC r295969:
ae [Wed, 2 Mar 2016 13:54:43 +0000 (13:54 +0000)]
MFC r295969:
  Fix bug in filling and handling ipfw's O_DSCP opcode.
  Due to integer overflow CS4 token was handled as BE.

  PR: 207459

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

8 years agoUPDATING: move the note about the Linux kernel version bump to the top and
rene [Mon, 29 Feb 2016 18:58:26 +0000 (18:58 +0000)]
UPDATING: move the note about the Linux kernel version bump to the top and
adjust the date and SVN revision number.

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

8 years agoMFC r271982:
rene [Mon, 29 Feb 2016 18:55:27 +0000 (18:55 +0000)]
MFC r271982:

Bump the default version of the Linux emulation layer to 2.6.18 to support
the CentOS 6 ports out of the box.

MFC r271990:

Add a note to UPDATING

Approved by: dchagin
Differential Revision: https://reviews.freebsd.org/D5418

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

8 years agoMFC r294949,r294952,r294953,r294957,r294965,r294967,r294968,r295017,r295026,
bdrewery [Sat, 27 Feb 2016 21:05:21 +0000 (21:05 +0000)]
MFC r294949,r294952,r294953,r294957,r294965,r294967,r294968,r295017,r295026,
    r295027,r295029,r295030,r295649:

  r294949:
    filemon_ioctl: Handle error from devfs_get_cdevpriv(9).
  r294952:
    filemon_ioctl: Lock the associated filemon handle before writing to it.
  r294953:
    filemon_comment has nothing to do with wrappers so move it out of
    filemon_wrapper.c.
  r294957:
    filemon_dtr: Lock the associated filemon handle before writing to it.
  r294965:
    filemon: Use process_exit EVENTHANDLER to capture process exit.
  r294967:
    filemon: Trace fork via process_fork event.
  r294968:
    Follow-up r294967: Mark flags unused.
  r295017:
    filemon: Use process_exec EVENTHANDLER to capture sys_execve.
  r295026:
    filemon_open: Don't record a process to trace here.
  r295027:
    filemon: Track the process pointer rather than a pid.
  r295029:
    Document the purpose and non-purpose of filemon(4).
  r295030:
    Note the double fork behavior with filemon.
  r295649:
    filemon: Fix panic when fork1() is called from kproc_create().

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

8 years agoMFC r242088:
bdrewery [Sat, 27 Feb 2016 20:57:34 +0000 (20:57 +0000)]
MFC r242088:

  Desupport pre-FreeBSD 7.1.

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

8 years agoRegenerate
bdrewery [Sat, 27 Feb 2016 20:54:23 +0000 (20:54 +0000)]
Regenerate

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

8 years agoMFC r250658,r250828:
bdrewery [Sat, 27 Feb 2016 20:51:42 +0000 (20:51 +0000)]
MFC r250658,r250828:

  r250658:
    Add a new option WITHOUT_FORMAT_EXTENSIONS to disable flags related to
    checking our kernel printf extensions.  This is useful to allow compilers
    without these extensions to build kernels.
  r250828:
    Spell extensions correctly.

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

8 years agoMFC r294933:
bdrewery [Sat, 27 Feb 2016 20:45:07 +0000 (20:45 +0000)]
MFC r294933:

  Drop any previous fd when setting a new one.

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

8 years agoMFC r295830
davidcs [Thu, 25 Feb 2016 18:28:56 +0000 (18:28 +0000)]
MFC r295830
Remove dead code. Code Cleanup. Improve clarity in debug messages

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