Commit Graph

196821 Commits

Author SHA1 Message Date
trasz
bd6edcc077 MFC r270279:
Make the iSCSI stack use __FBSDID() properly.

Sponsored by:	The FreeBSD Foundation
2014-08-31 20:21:08 +00:00
akiyama
bf3d63ee28 MFC r263859:
Change default logic to CONFORM because this routine is shared
  with SCI polarity setting.

  Reviewed by: jhb

MFC r269184:
  Add missing newline to output dmesg properly.
2014-08-31 10:42:52 +00:00
kevlo
541ca9866f MFC r270643:
Fix typo: s/mac_rev/mac_ver/

Submitted by:	Stefan Sperling <stsp at openbsd dot org>
2014-08-30 14:24:20 +00:00
ume
8b5c391a35 MFC r270215: Add missing break. 2014-08-30 10:29:47 +00:00
ume
82bd2f3628 MFC r269873:
Fix broken pointer overflow check ns_name_unpack()

Many compilers may optimize away the overflow check `msg + l < msg',
where `msg' is a pointer and `l' is an integer, because pointer
overflow is undefined behavior in C.

Use a safe precondition test `l >= eom - msg' instead.

Reference:
https://android-review.googlesource.com/#/c/50570/

Requested by:	pfg
Obtained from:	NetBSD (CVS rev. 1.10)
2014-08-30 10:25:41 +00:00
ume
7642dd9269 MFC r269867:
Update our stub resolver to final version of libbind
(libbind-6.0).

Obtained from:  ISC
2014-08-30 10:16:25 +00:00
ume
80004c0874 MFC r269865:
Bring the md5 functions into libc for internal use only.
It is required to support ID randomization for our stub
resolver.
2014-08-30 09:55:38 +00:00
alc
30905aaa33 Update an assertion to reflect the changes made in r270439. This is a
direct commit to stable/10 because ia64 is no longer supported by HEAD.

Reported by:	marcel
Sponsored by:	EMC / Isilon Storage Division
2014-08-30 03:41:47 +00:00
ngie
f4fd8ca123 MFC r270027:
tmconfig compilation when MK_ATM == yes and MK_BSNMP == no

 Makefile.inc1:
 Always compile gensnmptree with bootstrap-tools when MK_BSNMP != no
 instead of depending on a potentially stale tool installed on the build host

 sbin/atm/atmconfig/Makefile:
 - Always remove oid.h to avoid cluttering up the build/src tree.
 - Consolidate all of the RESCUE/MK_BSNMP != no logic under one
 conditional to improve readability
 - Remove unnecessary ${.OBJDIR} prefixing for oid.h and use ${.TARGET} instead
   of spelling out oid.h
 - Add a missing DPADD for ${LIBCRYPTO} when compiled MK_BSNMP == yes and
   MK_OPENSSL == yes and not compiling for /rescue/rescue

 sbin/atm/atmconfig/main.c:
 Change #ifndef RESCUE to #ifdef WITH_BSNMP in main.c to make it
 clear that we're compiling bsnmp support into atmconfig
2014-08-29 18:26:55 +00:00
gjb
29ecd8ce13 Bump revision ID after r270817
Sponsored by:	The FreeBSD Foundation
2014-08-29 13:56:10 +00:00
pluknet
17992407d1 Document r270817, tzdata2014f. 2014-08-29 13:46:30 +00:00
pluknet
4a093e3038 MFC r270728, tzdata2014f
- Parts of Russia will change times on 2014-10-26.
- Time zone name changes for Asia/Novokuznetsk and Xinjiang and Samoa
  and America/Metlakatla, new zones Asia/Chita and Asia/Srednekolymsk.
- Australia will now use Axxx.
- New zone tab data format.

And lots of historical changes (See
http://mm.icann.org/pipermail/tz-announce/2014-August/000023.html
for the full details.)
2014-08-29 13:41:21 +00:00
delphij
3074ca39fd MFC r269963+269964:
Re-instate UMA cached backend for 4K - 64K allocations.  New consumers
like geli(4) uses malloc(9) to allocate temporary buffers that gets
free'ed shortly, causing frequent TLB shootdown as observed in hwpmc
supported flame graph.

Add a new loader tunable, vm.kmem_zmax which allows a system administrator
to limit the maximum allocation size that malloc(9) would consider using
the UMA cache allocator as backend.
2014-08-29 13:12:45 +00:00
delphij
2a1fdab727 MFC r270384:
Update hptnr(4) driver to version 1.0.1 supplied by the vendor.

v1.0.1 2014-8-19
  * Do not retry the command and reset the disk when failed to enable or
    disable spin up feature.
  * Fix up a bug that disk failed to probe if driver failed to access the
    10th LBA.
  * Fix a bug that request timeout but it has been completed in certain
    cases.
  * Support smartmontool for R750.

Many thanks to HighPoint for continued support of FreeBSD!
2014-08-29 13:06:30 +00:00
delphij
07021ecc7a MFC r270383: MFV r270198:
Instead of using timestamp in the AVL, use the memory address when
comparing.

Illumos issue:
    5095 panic when adding a duplicate dbuf to dn_dbufs
2014-08-29 13:03:13 +00:00
kib
c679006e55 MFC r270345:
In do_lock_pi(), do not override error from umtxq_sleep_pi() when
doing suspend check.
2014-08-29 08:42:20 +00:00
kib
a1ef6db102 MFC r270321:
Ensure that sigaction flags for signal, which disposition is reset to
ignored or default, are not leaking.

MFC r270504:
Revert the handling of all siginfo sa_flags except SA_SIGINFO to the
pre-r270321 state.
2014-08-29 08:38:34 +00:00
kib
3d7b436d95 MFC r270320:
Check the validity of struct sigaction sa_flags value, reject unknown
flags.
2014-08-29 08:33:32 +00:00
ngie
0d7257f533 MFC r269903:
Port date/bin/tests to ATF

 Phabric: D545
 Approved by: jmmv (mentor)
 Submitted by: keramida (earlier version)
 Sponsored by: Google, Inc
 Sponsored by: EMC / Isilon Storage Division
2014-08-29 02:21:02 +00:00
gjb
3c9f55fa51 MFC r269608:
Add device ID for the Chicony USB 2.0 HD UVC Webcam
  found on the Asus X550LA.

Sponsored by:	The FreeBSD Foundation
2014-08-29 01:40:49 +00:00
gjb
3bf1a4440d MFC r270668, r270669, r270672:
r270668:
  Add gnugrep.1 to CLEANFILES.

r270669:
  Add host.1 to CLEANFILES.

r270672:
  Add svnlite.1 to CLEANFILES.

Sponsored by:	The FreeBSD Foundation
2014-08-29 01:20:31 +00:00
gjb
1ac0881b23 Minor wording changes.
Sponsored by:	The FreeBSD Foundation
2014-08-28 21:27:37 +00:00
gjb
a770683736 FDP style nits.
Sponsored by:	The FreeBSD Foundation
2014-08-28 21:25:30 +00:00
gjb
2a6104aaf5 Minor rewording to a few sections.
Sponsored by:	The FreeBSD Foundation
2014-08-28 21:18:59 +00:00
gjb
09f76a1025 We do not differentiate the SMP from GENERIC kernel anymore,
so remove mention of it.

Sponsored by:	The FreeBSD Foundation
2014-08-28 21:16:30 +00:00
gjb
2bca62d4ac Use <acronym> and <literal> in a few places where needed.
Minor rewording to r264732 entry.

Sponsored by:	The FreeBSD Foundation
2014-08-28 21:14:32 +00:00
mav
dafc384cfe Fix typo.
Submitted by:	Hugo Lombard <hal@elizium.za.net>
2014-08-28 21:07:54 +00:00
gjb
56f0a8e304 Add FreeBSD/ARM notes.
These do not have corresponding revision numbers, since
the updates took place over a large span of revisions,
not one revision in particular.

Submitted/prepared by:	ian
Sponsored by:	The FreeBSD Foundation
2014-08-28 21:02:10 +00:00
mav
cd8dbb84fe Document ZVOLs got BIO_DELETE support. 2014-08-28 20:41:53 +00:00
mav
73282715bf Document volmode ZVOL property addition. 2014-08-28 20:38:04 +00:00
mav
811c9b05ab Mention NFS and kernel iSCSI optimizations. 2014-08-28 20:25:17 +00:00
ngie
fb8a509f8e MFC r270519:
Fix "make checkdpadd" for lib/libc when MK_SSP != no

 Add LIBSSP_NONSHARED to bsd.libnames.mk and append LIBSSP_NONSHARED to DPADD in
 lib/libc when MK_SSP != no

 Approved by: rpaulo (mentor)
 Phabric: D675 (as part of a larger diff)
 PR: 192728
2014-08-28 19:59:04 +00:00
pfg
564b330f17 MFC r270256:
Always check the limits of array index variables before using them.

Obtained from:	DragonFlyBSD
2014-08-28 18:11:05 +00:00
gjb
d3edf358e5 Note r269398 adds RFC5661 support.
Submitted by:	rmacklem
Sponsored by:	The FreeBSD Foundation
2014-08-28 15:05:42 +00:00
gjb
a24aeb1cc1 Document r270242, sequential packet support in devd(8)
Submitted by:	asomers
Sponsored by:	The FreeBSD Foundation
2014-08-28 15:00:04 +00:00
gjb
3fbe92a085 Note r268700 was sponsored by Spectra Logic.
Sponsored by:	The FreeBSD Foundation
2014-08-28 14:57:09 +00:00
mav
89e1ad644f Document some CTL improvements. 2014-08-28 09:40:44 +00:00
mav
5026093b21 Document CAM locking improvements. 2014-08-28 09:00:53 +00:00
mav
bcec5b1a40 Document GEOM direct dispatch support and some other GEOM changes. 2014-08-28 08:48:10 +00:00
mav
dc56f7a8c9 Move more storage stuff to storage section. 2014-08-28 08:25:15 +00:00
mav
1820a87415 Move some points between sections. 2014-08-28 07:57:00 +00:00
gjb
00b599b348 Document r269946, USDT DTrace probe improvements.
Submitted by:	rpaulo
Sponsored by:	The FreeBSD Foundation
2014-08-28 06:16:36 +00:00
bryanv
7cea24544f MFC r267632:
Fix GCC compile warning: Variable(s) can be used uninitialized.

PR:		193076
2014-08-28 04:20:24 +00:00
gjb
588247cb3e Correct the note about r270401: s/pam(3)/pam_group(8)
Submitted by:	jilles
Sponsored by:	The FreeBSD Foundation
2014-08-28 01:14:59 +00:00
markj
e3261a6859 MFC r261491 (by ambrisko):
Add a tunable "hw.mfi.mrsas_enable" to allow mfi(4) to drop priority and
allow mrsas(4) from LSI to attach to newer LSI cards that are support by
mrsas(4).  If mrsas(4) is not loaded into the system at boot then mfi(4)
will always attach.  If a modified mrsas(4) is loaded in the system.  That
modification is return "-30" in it's probe since that is between
BUS_PROBE_DEFAULT and BUS_PROBE_LOW_PRIORITY.

This option is controller by a new probe flag "MFI_FLAGS_MRSAS" in mfi_ident
that denotes cards that should work with mrsas(4).  New entries that should
have this option.

This is the first step to get mrsas(4) checked into FreeBSD and to avoid
collision with people that use mrsas(4) from LSI.  Since mfi(4) takes
priority, then mrsas(4) users need to rebuild GENERIC.  Using the
.disabled="1" method doesn't work since that blocks attaching and the
probe gave it to mfi(4).

MFC r267451 (by delphij):
Correct variable for loader tunable variable hw.mfi.mrsas_enable.
2014-08-27 21:11:19 +00:00
markj
385503e19f MFC r265255, r270506:
Allow "a.out" as an alias for the executable if no other matching entries
are found.
2014-08-27 19:51:42 +00:00
ngie
3d2bab33aa MFC r270180:
r269906:

 Add missing BSD.tests.dist entry for lib/libutil to unbreak installworld with
 MK_TESTS == no

 Phabric: D555
 Approved by: jmmv (mentor, implicit)
 Pointyhat to: ngie

r269904:

 Integrate lib/libutil into the build/kyua

 Remove the .t wrappers

 Rename all of the TAP test applications from test-<test> to
 <test>_test to match the convention described in the TestSuite
 wiki page

 humanize_number_test.c:

 - Fix -Wformat warnings with counter variables
 - Fix minor style(9) issues:
 -- Header sorting
 -- Variable declaration alignment/sorting in main(..)
 -- Fit the lines in <80 columns
 - Fix an off by one index error in the testcase output [*]
 - Remove unnecessary `extern char * optarg;` (this is already provided by
   unistd.h)

 Phabric: D555
 Approved by: jmmv (mentor)
 Obtained from: EMC / Isilon Storage Division [*]
 Submitted by: Casey Peel <cpeel@isilon.com> [*]
 Sponsored by: EMC / Isilon Storage Division
2014-08-27 18:25:14 +00:00
truckman
7901389ab7 MFC r270510
Catch up to gcc 3.3 -> 3.4 upgrade.
2014-08-27 18:00:58 +00:00
hselasky
011ca26231 MFC r270134:
Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual
sample size. According to the USB audio frame format specification
from USB.org, the value in the "bBitResolution" field can be less than
the actual sample size, depending on the actual hardware, and should
not be used for this computation.

PR:		192755
2014-08-27 14:22:40 +00:00
hselasky
9883e5972f MFC r270133:
Add more USB class codes.
2014-08-27 14:17:15 +00:00