]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
8 years agoDocument r288943, clang, llvm, etc. updated to upstream 3.7.0.
gjb [Tue, 6 Oct 2015 19:06:34 +0000 (19:06 +0000)]
Document r288943, clang, llvm, etc. updated to upstream 3.7.0.

Sponsored by: The FreeBSD Foundation

8 years agoFix core corruption caused by race in note_procstat_vmmap
cem [Tue, 6 Oct 2015 18:07:00 +0000 (18:07 +0000)]
Fix core corruption caused by race in note_procstat_vmmap

This fix is spiritually similar to r287442 and was discovered thanks to
the KASSERT added in that revision.

NT_PROCSTAT_VMMAP output length, when packing kinfo structs, is tied to
the length of filenames corresponding to vnodes in the process' vm map
via vn_fullpath.  As vnodes may move during coredump, this is racy.

We do not remove the race, only prevent it from causing coredump
corruption.

- Add a sysctl, kern.coredump_pack_vmmapinfo, to allow users to disable
  kinfo packing for PROCSTAT_VMMAP notes.  This avoids VMMAP corruption
  and truncation, even if names change, at the cost of up to PATH_MAX
  bytes per mapped object.  The new sysctl is documented in core.5.

- Fix note_procstat_vmmap to self-limit in the second pass.  This
  addresses corruption, at the cost of sometimes producing a truncated
  result.

- Fix PROCSTAT_VMMAP consumers libutil (and libprocstat, via copy-paste)
  to grok the new zero padding.

Reported by: pho (https://people.freebsd.org/~pho/stress/log/datamove4-2.txt)
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D3824

8 years agoUpgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.7.0
dim [Tue, 6 Oct 2015 17:53:29 +0000 (17:53 +0000)]
Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.7.0
release.

Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11
support to build; see UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html>

Thanks to Ed Maste, Andrew Turner and Antoine Brodin for their help.

Exp-run: antoine
Relnotes: yes

8 years agoDocument r288669, stack protector "strong" level.
gjb [Tue, 6 Oct 2015 17:42:31 +0000 (17:42 +0000)]
Document r288669, stack protector "strong" level.

Help from: pfg
Sponsored by: The FreeBSD Foundation

8 years agoDocument r288654, lagg(4) fec removal.
gjb [Tue, 6 Oct 2015 17:42:30 +0000 (17:42 +0000)]
Document r288654, lagg(4) fec removal.

Sponsored by: The FreeBSD Foundation

8 years agoAdd directory for test encoder missed by accident in r288929
ngie [Tue, 6 Oct 2015 17:22:54 +0000 (17:22 +0000)]
Add directory for test encoder missed by accident in r288929

Sponsored by: EMC / Isilon Storage Division

8 years agoRemove a comment from an earlier iteration of trying to figure out how the
ngie [Tue, 6 Oct 2015 17:18:15 +0000 (17:18 +0000)]
Remove a comment from an earlier iteration of trying to figure out how the
test encoder testcases worked

8 years agoIntegrate the tests from libxo into the FreeBSD test suite
ngie [Tue, 6 Oct 2015 16:58:47 +0000 (16:58 +0000)]
Integrate the tests from libxo into the FreeBSD test suite

The functional_test.sh harness for each test subdir was inspired
by the version in bin/sh/tests/functional_test.sh

Some gymnastics were required to deal with implicit rules for
.c / .o -> .out as the suffix transformation rules were
incorrectly trying to create the test outputs from some of the
source files

Sponsored by: EMC / Isilon Storage Division

8 years agoUpdate dates in UPDATING and ObsoleteFiles.inc.
dim [Tue, 6 Oct 2015 16:26:07 +0000 (16:26 +0000)]
Update dates in UPDATING and ObsoleteFiles.inc.

8 years agoMerge ^/head r288836 through r288925.
dim [Tue, 6 Oct 2015 16:25:13 +0000 (16:25 +0000)]
Merge ^/head r288836 through r288925.

8 years agoUpdate Xen headers from 4.2 to 4.6
royger [Tue, 6 Oct 2015 11:29:44 +0000 (11:29 +0000)]
Update Xen headers from 4.2 to 4.6

Pull the latest headers for Xen which allow us to add support for ARM and
use new features in FreeBSD.

This is a verbatim copy of the xen/include/public so every headers which
don't exits anymore in the Xen repositories have been dropped.

Note the interface version hasn't been bumped, it will be done in a
follow-up. Although, it requires fix in the code to get it compiled:

 - sys/xen/xen_intr.h: evtchn_port_t is already defined in the headers so
   drop it.

 - {amd64,i386}/include/intr_machdep.h: NR_EVENT_CHANNELS now depends on
   xen/interface/event_channel.h, so include it.

 - {amd64,i386}/{amd64,i386}/support.S: It's not neccessary to include
   machine/intr_machdep.h. This is also fixing build compilation with the
   new headers.

 - dev/xen/blkfront/blkfront.c: The typedef for blkif_request_segmenthas
   been dropped. So directly use struct blkif_request_segment

Finally, modify xen/interface/xen-compat.h to throw a preprocessing error if
__XEN_INTERFACE_VERSION__ is not set. This is allow us to catch any file
where xen/xen-os.h is not correctly included.

Submitted by: Julien Grall <julien.grall@citrix.com>
Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D3805
Sponsored by: Citrix Systems R&D

8 years agoRemove debugging variable from r143761.
glebius [Tue, 6 Oct 2015 09:43:49 +0000 (09:43 +0000)]
Remove debugging variable from r143761.

8 years agoReallocate a maxlen-long buffer only when the current maxlen is
hrs [Tue, 6 Oct 2015 08:43:48 +0000 (08:43 +0000)]
Reallocate a maxlen-long buffer only when the current maxlen is
shorter than the required length.  Note that it rarely happens
because maxlen is almost always 128 which covers struct sockaddr_storage.

8 years agoAdd a comment specifying how we implement rfc3042.
hiren [Tue, 6 Oct 2015 07:46:19 +0000 (07:46 +0000)]
Add a comment specifying how we implement rfc3042.

Differential Revision: D3746
MFC after:     1 week
Sponsored by:     Limelight Networks

8 years agoUse LIBXOSRC instead of LIBXO when defining the path to contrib/libxo
ngie [Tue, 6 Oct 2015 07:28:54 +0000 (07:28 +0000)]
Use LIBXOSRC instead of LIBXO when defining the path to contrib/libxo

The latter is already defined in bsd.libnames.mk, so avoid the conflict
in case someone copy-pastes make variables

While here, switch path to the top of the source tree with SRCTOP

8 years agoExploit r288122 to address a cosmetic issue. Pages belonging to either
alc [Tue, 6 Oct 2015 05:49:00 +0000 (05:49 +0000)]
Exploit r288122 to address a cosmetic issue.  Pages belonging to either
the kernel or kmem object can't be paged out.  Since they can't be paged
out, they are never enqueued in a paging queue.  Nonetheless, passing
PQ_INACTIVE to vm_page_unwire() in kmem_unback() creates the appearance
that these pages are being enqueued in the inactive queue.  As of r288122,
we can avoid giving this false impression by passing PQ_NONE.

Submitted by: kmacy
Differential Revision: https://reviews.freebsd.org/D1674

8 years agoPrevious versions of bsd.own.mk included bsd.compiler.mk
imp [Tue, 6 Oct 2015 04:18:48 +0000 (04:18 +0000)]
Previous versions of bsd.own.mk included bsd.compiler.mk
only when _WITHOUT_SRCCONF wasn't defined. Restore this
behavior because bsd.ports.mk depends on this in subtle
ways. The compat include of bsd.compiler.mk should
be removed in 12 anyway.

PR: 203540

8 years agoOn some interfaces, ipfilter drops UDP packets with zero checkum.
cy [Tue, 6 Oct 2015 03:41:11 +0000 (03:41 +0000)]
On some interfaces, ipfilter drops UDP packets with zero checkum.
This commit fixes that.

PR: 166372
Submitted by: mk@neon1.net
Reviewed by: Darren Reed <darrenr@reed.wattle.id.au>
MFC after: 1 week

8 years agoSave the link register in savectx().
jhibbits [Tue, 6 Oct 2015 01:24:46 +0000 (01:24 +0000)]
Save the link register in savectx().

Pointed out by: jhb

8 years agoUse UBOOT_FILES in the dd(1) input file, as intended.
gjb [Tue, 6 Oct 2015 01:05:07 +0000 (01:05 +0000)]
Use UBOOT_FILES in the dd(1) input file, as intended.

Sponsored by: The FreeBSD Foundation

8 years agoCall sync consistently using atf_check
ngie [Tue, 6 Oct 2015 01:00:12 +0000 (01:00 +0000)]
Call sync consistently using atf_check

Remove superfluous sync's

8 years agoExplicitly set BLOCKSIZE to 512 in the environment
ngie [Tue, 6 Oct 2015 00:55:31 +0000 (00:55 +0000)]
Explicitly set BLOCKSIZE to 512 in the environment

8 years agoAdd some more syncs to quiesce the filesystem after creating the
ngie [Tue, 6 Oct 2015 00:23:50 +0000 (00:23 +0000)]
Add some more syncs to quiesce the filesystem after creating the
files to see if this fixes deterministic Jenkin failures

8 years agoStart using the fact that SUBDIR.yes is added to SUBDIR
imp [Mon, 5 Oct 2015 21:41:55 +0000 (21:41 +0000)]
Start using the fact that SUBDIR.yes is added to SUBDIR
and move from the pattern of:

.if ${MK_FOO} != "no"
SUBDIR+= bar
.endif

to

SUBDIR.${MK_FOO}+= bar

since we know that MK_FOO is always either yes or no and the latter
form is easier to follow and much shorter. Various exception to this
pattern dealt with on an ah-hoc basis.

Discussed on arch@ a while ago.

8 years agoFix crash if a process sends itself a SIGTRAP. Just forward it as expected.
bdrewery [Mon, 5 Oct 2015 21:39:07 +0000 (21:39 +0000)]
Fix crash if a process sends itself a SIGTRAP.  Just forward it as expected.

MFC after: 2 weeks [needs rewrite]
Relnotes: yes

8 years agoInclude additional info in ptrace(2) KTR traces:
jhb [Mon, 5 Oct 2015 21:36:53 +0000 (21:36 +0000)]
Include additional info in ptrace(2) KTR traces:
- The new PC value and signal passed to PT_CONTINUE, PT_DETACH, PT_SYSCALL,
  and PT_TO_SC[EX].
- The system call code returned via PT_LWPINFO.

MFC after: 1 week

8 years agoMark swap_pager_putpages static at its definition. It was already
imp [Mon, 5 Oct 2015 21:29:17 +0000 (21:29 +0000)]
Mark swap_pager_putpages static at its definition. It was already
static at its declaration. Remove needless swapdev_strategy forward
declaration.

MFC After: 3 days

8 years agoWrap a long line to make igor(1) happy.
gjb [Mon, 5 Oct 2015 20:14:25 +0000 (20:14 +0000)]
Wrap a long line to make igor(1) happy.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r288310, ctl(4) updated to support CD-ROMs and other
gjb [Mon, 5 Oct 2015 20:14:22 +0000 (20:14 +0000)]
Document r288310, ctl(4) updated to support CD-ROMs and other
removable devices.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r288303, nc(1) updated to OpenBSD 5.8 version.
gjb [Mon, 5 Oct 2015 20:13:51 +0000 (20:13 +0000)]
Document r288303, nc(1) updated to OpenBSD 5.8 version.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r288176, kernel symbols now installed to /usr/lib/debug/.
gjb [Mon, 5 Oct 2015 20:13:49 +0000 (20:13 +0000)]
Document r288176, kernel symbols now installed to /usr/lib/debug/.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287917, unbound 1.5.4.
gjb [Mon, 5 Oct 2015 20:13:47 +0000 (20:13 +0000)]
Document r287917, unbound 1.5.4.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287886, fix kqueue write events for files > 2GB
gjb [Mon, 5 Oct 2015 20:13:44 +0000 (20:13 +0000)]
Document r287886, fix kqueue write events for files > 2GB

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287842, ifconfig(8) exit on error if ioctl(2) fails.
gjb [Mon, 5 Oct 2015 20:13:42 +0000 (20:13 +0000)]
Document r287842, ifconfig(8) exit on error if ioctl(2) fails.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287798, IPv6 On-Link redirect handling fix.
gjb [Mon, 5 Oct 2015 20:13:39 +0000 (20:13 +0000)]
Document r287798, IPv6 On-Link redirect handling fix.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287621, CTL HA reimplementation.
gjb [Mon, 5 Oct 2015 20:13:37 +0000 (20:13 +0000)]
Document r287621, CTL HA reimplementation.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287576, service(8) updated to respect /etc/rc.conf.d/.
gjb [Mon, 5 Oct 2015 20:13:35 +0000 (20:13 +0000)]
Document r287576, service(8) updated to respect /etc/rc.conf.d/.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287522, pciconf(8) prefer pciids from ports database,
gjb [Mon, 5 Oct 2015 20:13:32 +0000 (20:13 +0000)]
Document r287522, pciconf(8) prefer pciids from ports database,
if present.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287473, sesutil(8) addition.
gjb [Mon, 5 Oct 2015 20:13:30 +0000 (20:13 +0000)]
Document r287473, sesutil(8) addition.
Add Gandi.net to sponsor.ent.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287469, em(4) update to support I219 chipset.
gjb [Mon, 5 Oct 2015 20:13:27 +0000 (20:13 +0000)]
Document r287469, em(4) update to support I219 chipset.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r288143, file(1) updated to 5.25.
gjb [Mon, 5 Oct 2015 20:13:25 +0000 (20:13 +0000)]
Document r288143, file(1) updated to 5.25.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287371, support for HiSilicon HI6220 SoC.
gjb [Mon, 5 Oct 2015 20:13:22 +0000 (20:13 +0000)]
Document r287371, support for HiSilicon HI6220 SoC.
Add ABT Systems, Ltd. to sponsor.ent.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287306, CUBIEBOARD2 kernel configuration renamed to A20.
gjb [Mon, 5 Oct 2015 20:13:20 +0000 (20:13 +0000)]
Document r287306, CUBIEBOARD2 kernel configuration renamed to A20.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287225, 1-Wire implementation.
gjb [Mon, 5 Oct 2015 20:13:17 +0000 (20:13 +0000)]
Document r287225, 1-Wire implementation.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287222, pf(4) support for 'scrub fragment crop|drop-ovl'
gjb [Mon, 5 Oct 2015 20:13:15 +0000 (20:13 +0000)]
Document r287222, pf(4) support for 'scrub fragment crop|drop-ovl'
removed.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287117, ioat(4) driver addition.
gjb [Mon, 5 Oct 2015 20:13:12 +0000 (20:13 +0000)]
Document r287117, ioat(4) driver addition.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287099, account for ashift when gathering buffers to
gjb [Mon, 5 Oct 2015 20:13:10 +0000 (20:13 +0000)]
Document r287099, account for ashift when gathering buffers to
be written to l2arc device

Sponsored by: The FreeBSD Foundation

8 years agoDocument r288090, jemalloc update to 4.0.2.
gjb [Mon, 5 Oct 2015 20:13:07 +0000 (20:13 +0000)]
Document r288090, jemalloc update to 4.0.2.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286829, ability to disable em(4) CRC stripping.
gjb [Mon, 5 Oct 2015 20:13:05 +0000 (20:13 +0000)]
Document r286829, ability to disable em(4) CRC stripping.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286795, patch(1) automatic checkout feature removed.
gjb [Mon, 5 Oct 2015 20:13:03 +0000 (20:13 +0000)]
Document r286795, patch(1) automatic checkout feature removed.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286750, zoneinfo update to 2015f.
gjb [Mon, 5 Oct 2015 20:13:01 +0000 (20:13 +0000)]
Document r286750, zoneinfo update to 2015f.
While here, move a few misordered entries.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286591, uart(4) PPS runtime-tunable.
gjb [Mon, 5 Oct 2015 20:12:58 +0000 (20:12 +0000)]
Document r286591, uart(4) PPS runtime-tunable.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286503, r286505, r286506, r286510:
gjb [Mon, 5 Oct 2015 20:12:56 +0000 (20:12 +0000)]
Document r286503, r286505, r286506, r286510:
apr-1.5.2
serf-1.3.8
svnlite-1.8.14
sqlite3-3.8.11.1

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286444, BIO_DELETE passthru support in GELI.
gjb [Mon, 5 Oct 2015 20:12:53 +0000 (20:12 +0000)]
Document r286444, BIO_DELETE passthru support in GELI.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286441, iwm(4) addition.
gjb [Mon, 5 Oct 2015 20:12:51 +0000 (20:12 +0000)]
Document r286441, iwm(4) addition.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286289, xargs(1) '-P 0' mode.
gjb [Mon, 5 Oct 2015 20:12:49 +0000 (20:12 +0000)]
Document r286289, xargs(1) '-P 0' mode.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286231, pms(4) added to GENERIC.
gjb [Mon, 5 Oct 2015 20:12:46 +0000 (20:12 +0000)]
Document r286231, pms(4) added to GENERIC.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286062, xen(4) blkif indirect segment I/O support.
gjb [Mon, 5 Oct 2015 20:12:44 +0000 (20:12 +0000)]
Document r286062, xen(4) blkif indirect segment I/O support.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r286010, ar(1) '-D' option enabled by default.
gjb [Mon, 5 Oct 2015 20:12:42 +0000 (20:12 +0000)]
Document r286010, ar(1) '-D' option enabled by default.

Sponsored by: The FreeBSD Foundation

8 years agoFix a revision tag.
gjb [Mon, 5 Oct 2015 20:12:40 +0000 (20:12 +0000)]
Fix a revision tag.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285972, libarchive(3) bugfix for sparse files in tar(1)
gjb [Mon, 5 Oct 2015 20:12:37 +0000 (20:12 +0000)]
Document r285972, libarchive(3) bugfix for sparse files in tar(1)
archives.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285883, isl(4) addition.
gjb [Mon, 5 Oct 2015 20:12:35 +0000 (20:12 +0000)]
Document r285883, isl(4) addition.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285876, cyapa(4) addition.
gjb [Mon, 5 Oct 2015 20:12:32 +0000 (20:12 +0000)]
Document r285876, cyapa(4) addition.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r287168, ACPICA version 20150818.
gjb [Mon, 5 Oct 2015 20:12:30 +0000 (20:12 +0000)]
Document r287168, ACPICA version 20150818.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285772, patch(1) '-V none' addition.
gjb [Mon, 5 Oct 2015 20:12:27 +0000 (20:12 +0000)]
Document r285772, patch(1) '-V none' addition.
Add EMC/Isilon Storage Division to sponsors.ent.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285685, allow mounting linprocfs(5) and linsysfs(5)
gjb [Mon, 5 Oct 2015 20:12:25 +0000 (20:12 +0000)]
Document r285685, allow mounting linprocfs(5) and linsysfs(5)
within a jail.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285662, pms(4) addition.
gjb [Mon, 5 Oct 2015 20:12:22 +0000 (20:12 +0000)]
Document r285662, pms(4) addition.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285594, 'lenovofix' gpart(8) attribute.
gjb [Mon, 5 Oct 2015 20:12:20 +0000 (20:12 +0000)]
Document r285594, 'lenovofix' gpart(8) attribute.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285524, hw.model sysctl.
gjb [Mon, 5 Oct 2015 20:12:18 +0000 (20:12 +0000)]
Document r285524, hw.model sysctl.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285420, jail(8) -l flag and default shell execution when
gjb [Mon, 5 Oct 2015 20:12:15 +0000 (20:12 +0000)]
Document r285420, jail(8) -l flag and default shell execution when
no commands are specified.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285387, NUMA affinity/policy configuration.
gjb [Mon, 5 Oct 2015 20:12:12 +0000 (20:12 +0000)]
Document r285387, NUMA affinity/policy configuration.
Add Norse Corporation to sponsors.ent.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285336, AES mode support in IPSEC.
gjb [Mon, 5 Oct 2015 20:12:10 +0000 (20:12 +0000)]
Document r285336, AES mode support in IPSEC.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285316, FreeBSD/aarch64 SMP support.
gjb [Mon, 5 Oct 2015 20:12:08 +0000 (20:12 +0000)]
Document r285316, FreeBSD/aarch64 SMP support.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285277, execl(3) and execlp(3) update to use the gcc
gjb [Mon, 5 Oct 2015 20:12:05 +0000 (20:12 +0000)]
Document r285277, execl(3) and execlp(3) update to use the gcc
__sentinel attribute.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285275, tcpdump(1) updated to version 4.7.4.
gjb [Mon, 5 Oct 2015 20:12:03 +0000 (20:12 +0000)]
Document r285275, tcpdump(1) updated to version 4.7.4.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285253, IPv6 support in quota(1).
gjb [Mon, 5 Oct 2015 20:12:00 +0000 (20:12 +0000)]
Document r285253, IPv6 support in quota(1).

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285169, ntp-4.2.8p3.
gjb [Mon, 5 Oct 2015 20:11:58 +0000 (20:11 +0000)]
Document r285169, ntp-4.2.8p3.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r285142, IPSEC enabled in GENERIC by default.
gjb [Mon, 5 Oct 2015 20:11:56 +0000 (20:11 +0000)]
Document r285142, IPSEC enabled in GENERIC by default.

Sponsored by: The FreeBSD Foundation

8 years agoDocument r284883, NTFS support in mkimg(1).
gjb [Mon, 5 Oct 2015 20:11:53 +0000 (20:11 +0000)]
Document r284883, NTFS support in mkimg(1).

Sponsored by: The FreeBSD Foundation

8 years agoMerge ^/head r288831 through r288835.
dim [Mon, 5 Oct 2015 20:08:11 +0000 (20:08 +0000)]
Merge ^/head r288831 through r288835.

8 years agoPrepare for merging back to head.
dim [Mon, 5 Oct 2015 19:48:12 +0000 (19:48 +0000)]
Prepare for merging back to head.

8 years agoAdd decoding for modfind(2)
bdrewery [Mon, 5 Oct 2015 18:11:30 +0000 (18:11 +0000)]
Add decoding for modfind(2)

8 years ago- address grammar
jgh [Mon, 5 Oct 2015 18:09:43 +0000 (18:09 +0000)]
- address grammar

PR: 203440 (based on)
Submitted by: ceratv@rpi.edu
Approved by: wblock@ (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D3813

8 years agoFix tracking of unknown syscalls for 'truss -c'.
bdrewery [Mon, 5 Oct 2015 18:08:35 +0000 (18:08 +0000)]
Fix tracking of unknown syscalls for 'truss -c'.

This is done by changing get_syscall() to either lookup the known syscall
or add it into the list with the default handlers for printing.

This also simplifies some code to not have to check if the syscall variable
is set or NULL.

Reviewed by: jhb
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D3792

8 years agoMerge ^/head r288457 through r288830.
dim [Mon, 5 Oct 2015 17:54:54 +0000 (17:54 +0000)]
Merge ^/head r288457 through r288830.

8 years agoAdd std::uncaught_exceptions() to libcxxrt (C++17, see N4152 and N4259).
dim [Mon, 5 Oct 2015 17:47:23 +0000 (17:47 +0000)]
Add std::uncaught_exceptions() to libcxxrt (C++17, see N4152 and N4259).
This has also been submitted upstream.

8 years agoThe latest version of lex requires the latest m4 to build, add a dependency
ian [Mon, 5 Oct 2015 17:45:13 +0000 (17:45 +0000)]
The latest version of lex requires the latest m4 to build, add a dependency
when running the build-tools stage.

The requirement is due to the -P flag used when running m4 from usr.bin/lex
Makefile to generate skel.c.  With the old m4 that fails and the failure is
ignored, resulting in an empty(-ish) skel.c, which leads to later build
failures when the misconfigured new lex tool is run.

This enables building -current (and 10-stable after MFC) on a stable-8
system again.

MFC after: 3 days

8 years agoClean up some harmless unimplemented-command warning messages.
grehan [Mon, 5 Oct 2015 14:57:45 +0000 (14:57 +0000)]
Clean up some harmless unimplemented-command warning messages.

- Don't advertize trusted-computing capability in the Identify page.
  This prevents Windows from issuing a TRUSTED_RECEIVE_DMA command.
- Windows will send down SMART and SECURITY_FREEZE_LOCK
   even though smart and security capabilities were not advertized.
   Send back a silent abort.

Reviewed by: mav

8 years agoAttach interrupt controller device before other devices.
br [Mon, 5 Oct 2015 13:15:21 +0000 (13:15 +0000)]
Attach interrupt controller device before other devices.

Sponsored by: University of Cambridge

8 years agoFix printf-like formats for KASSERT.
markm [Mon, 5 Oct 2015 10:45:52 +0000 (10:45 +0000)]
Fix printf-like formats for KASSERT.

Submitted by: jenkins
Approved by: so (/dev/random blanket)

8 years agoIt appears that under some circumstances, like virtualisiation, the
markm [Mon, 5 Oct 2015 07:41:12 +0000 (07:41 +0000)]
It appears that under some circumstances, like virtualisiation, the
'rdrand' instruction may occasionally not return random numbers, in
spite of looping attempts to do so. The reusult is a KASSERT/panic.

Reluctantly accept this state-of-affairs, but make a noise about it.
if this 'noise' spams the console, it may be time to discontinue
using that source.

This is written in a general way to account for /any/ source that
might not supply random numbers when required.

Submitted by: jkh (report and slightly different fix)
Approved by: so (/dev/random blanket)

8 years agoRemove the unnecessary cast.
kevlo [Mon, 5 Oct 2015 05:24:16 +0000 (05:24 +0000)]
Remove the unnecessary cast.

8 years agoRevert r288682
ngie [Mon, 5 Oct 2015 03:26:51 +0000 (03:26 +0000)]
Revert r288682

I meant to do this on ^/user/ngie/more-tests

Pointyhat to: ngie (use svn info next time...)

8 years agoRemove some paths preparing for a re-copy from head
ngie [Mon, 5 Oct 2015 03:25:30 +0000 (03:25 +0000)]
Remove some paths preparing for a re-copy from head

8 years agoMerge additional testcases and improvements to bin/ls/ls_tests from
ngie [Mon, 5 Oct 2015 00:33:57 +0000 (00:33 +0000)]
Merge additional testcases and improvements to bin/ls/ls_tests from
^/user/ngie/more-tests.

- Additional testcases added:
-- ls -D
-- ls -F
-- ls -H
-- ls -L
-- ls -R
-- ls -S
-- ls -T
-- ls -b
-- ls -d
-- ls -f
-- ls -g
-- ls -h
-- ls -i
-- ls -k
-- ls -l
-- ls -m
-- ls -n
-- ls -o
-- ls -p
-- ls -q/ls -w
-- ls -r
-- ls -s
-- ls -t
-- ls -u
-- ls -y
- Socket file creation is limited to the ls -F testcase, greatly speeding up
  the test process
- The ls -C testcase was made more robust by limiting the number of columns
  via COLUMNS and by dynamically formulating the columns/lines.
- Add `atf_test_case` before all testcase `head` functions.

X-MFC with: r284388, r288330, r288423
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

8 years agoSet correct argemdio addr, comment out arge1 as its not physically
sbruno [Sun, 4 Oct 2015 22:50:37 +0000 (22:50 +0000)]
Set correct argemdio addr, comment out arge1 as its not physically
connected to anything.  Move a couple of devices out of the kernel
and into modules.

8 years agoWhen trying to execute from a misaligned address raise a SIGBUS with the
andrew [Sun, 4 Oct 2015 21:16:45 +0000 (21:16 +0000)]
When trying to execute from a misaligned address raise a SIGBUS with the
invalid address alignment code.

Obtained from: EuroBSDCon
Sponsored by: ABT Systems Ltd

8 years agoInvoke lle_event for new entry iff it has lladdr set.
melifaro [Sun, 4 Oct 2015 19:10:27 +0000 (19:10 +0000)]
Invoke lle_event for new entry iff it has lladdr set.

8 years agoBump the stack protector to level "strong".
pfg [Sun, 4 Oct 2015 18:54:02 +0000 (18:54 +0000)]
Bump the stack protector to level "strong".

The general stack protector is known to be weak and has pretty small
coverage. While setting stack-protector-all would give better protection
it would come with a performance cost: for this reason Google's Chrome OS
team developed a new stack-protector-strong variant.

In addition to the protections offered by -fstack-protector, the new option
will guard any function that declares any type or length of local array,
even those in structs or unions. It will also protect functions that use a
local variable's address in a function argument or on the right-hand side
of an assignment.

The option was introduced in GCC-4.9, but support for it has been
back-ported to our base GCC (r286074) and is also available in clang.

The change was tested with dbench and doesn't introduce performance
regressions. An exp-run over the ports tree revealed no failures when
using the stricter stack-protector-all. Thanks to all testers involved.

Reference:
https://outflux.net/blog/archives/2014/01/27/fstack-protector-strong/

Tested by: pho, portmgr (antoine)
Discussed with: secteam (delphij)

Differential Revision: https://reviews.freebsd.org/D3463
PR: 203394 (exp-run)

Relnotes: yes
MFC: no (not supported in older clang)

8 years agoReplace M_NOWAIT with M_WAITOK for consistency with other wireless drivers.
kevlo [Sun, 4 Oct 2015 13:40:22 +0000 (13:40 +0000)]
Replace M_NOWAIT with M_WAITOK for consistency with other wireless drivers.