Commit Graph

213573 Commits

Author SHA1 Message Date
ngie
ec4808a9a6 Add directory for test encoder missed by accident in r288929
Sponsored by: EMC / Isilon Storage Division
2015-10-06 17:22:54 +00:00
ngie
ec96fc8eab Remove a comment from an earlier iteration of trying to figure out how the
test encoder testcases worked
2015-10-06 17:18:15 +00:00
ngie
f580580139 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
2015-10-06 16:58:47 +00:00
royger
c1bb2e3246 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
2015-10-06 11:29:44 +00:00
glebius
94c16d891e Remove debugging variable from r143761. 2015-10-06 09:43:49 +00:00
hrs
a9bfaebd85 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.
2015-10-06 08:43:48 +00:00
hiren
9fffe2524d Add a comment specifying how we implement rfc3042.
Differential Revision:	D3746
MFC after:	    1 week
Sponsored by:	    Limelight Networks
2015-10-06 07:46:19 +00:00
ngie
f61b60624c 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
2015-10-06 07:28:54 +00:00
alc
945e362d2b 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
2015-10-06 05:49:00 +00:00
imp
e8432e5529 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
2015-10-06 04:18:48 +00:00
cy
b09fc0c241 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
2015-10-06 03:41:11 +00:00
jhibbits
c3c1533b78 Save the link register in savectx().
Pointed out by:	jhb
2015-10-06 01:24:46 +00:00
gjb
ed7617dae9 Use UBOOT_FILES in the dd(1) input file, as intended.
Sponsored by:	The FreeBSD Foundation
2015-10-06 01:05:07 +00:00
ngie
3bb6ebda97 Call sync consistently using atf_check
Remove superfluous sync's
2015-10-06 01:00:12 +00:00
ngie
5020f9ceef Explicitly set BLOCKSIZE to 512 in the environment 2015-10-06 00:55:31 +00:00
ngie
f747be88f5 Add some more syncs to quiesce the filesystem after creating the
files to see if this fixes deterministic Jenkin failures
2015-10-06 00:23:50 +00:00
imp
ce290acb45 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.
2015-10-05 21:41:55 +00:00
bdrewery
7195bed2f5 Fix crash if a process sends itself a SIGTRAP. Just forward it as expected.
MFC after:	2 weeks [needs rewrite]
Relnotes:	yes
2015-10-05 21:39:07 +00:00
jhb
e2e358d7ec 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
2015-10-05 21:36:53 +00:00
imp
2a2f9e7745 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
2015-10-05 21:29:17 +00:00
gjb
45c080beba Wrap a long line to make igor(1) happy.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:14:25 +00:00
gjb
0c45ddd884 Document r288310, ctl(4) updated to support CD-ROMs and other
removable devices.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:14:22 +00:00
gjb
2ddb3f903d Document r288303, nc(1) updated to OpenBSD 5.8 version.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:51 +00:00
gjb
51eb754376 Document r288176, kernel symbols now installed to /usr/lib/debug/.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:49 +00:00
gjb
c679404932 Document r287917, unbound 1.5.4.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:47 +00:00
gjb
c0f7d170d3 Document r287886, fix kqueue write events for files > 2GB
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:44 +00:00
gjb
54da2ced82 Document r287842, ifconfig(8) exit on error if ioctl(2) fails.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:42 +00:00
gjb
e001cf28e9 Document r287798, IPv6 On-Link redirect handling fix.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:39 +00:00
gjb
817ad4c94e Document r287621, CTL HA reimplementation.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:37 +00:00
gjb
0e6a83f3fe Document r287576, service(8) updated to respect /etc/rc.conf.d/.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:35 +00:00
gjb
e50323f5eb Document r287522, pciconf(8) prefer pciids from ports database,
if present.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:32 +00:00
gjb
9f1db20c2c Document r287473, sesutil(8) addition.
Add Gandi.net to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:30 +00:00
gjb
11d8724372 Document r287469, em(4) update to support I219 chipset.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:27 +00:00
gjb
2e97c3afa9 Document r288143, file(1) updated to 5.25.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:25 +00:00
gjb
19b9cda16a Document r287371, support for HiSilicon HI6220 SoC.
Add ABT Systems, Ltd. to sponsor.ent.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:22 +00:00
gjb
256cdc6437 Document r287306, CUBIEBOARD2 kernel configuration renamed to A20.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:20 +00:00
gjb
f332567a3d Document r287225, 1-Wire implementation.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:17 +00:00
gjb
0242196da4 Document r287222, pf(4) support for 'scrub fragment crop|drop-ovl'
removed.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:15 +00:00
gjb
caa7954fd1 Document r287117, ioat(4) driver addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:12 +00:00
gjb
e01ffcb222 Document r287099, account for ashift when gathering buffers to
be written to l2arc device

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:10 +00:00
gjb
d908c0d727 Document r288090, jemalloc update to 4.0.2.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:07 +00:00
gjb
0aae8b5474 Document r286829, ability to disable em(4) CRC stripping.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:05 +00:00
gjb
c510a528c7 Document r286795, patch(1) automatic checkout feature removed.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:03 +00:00
gjb
b53cc5d434 Document r286750, zoneinfo update to 2015f.
While here, move a few misordered entries.

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:01 +00:00
gjb
fe9c0334e7 Document r286591, uart(4) PPS runtime-tunable.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:58 +00:00
gjb
f1b2bfaff9 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
2015-10-05 20:12:56 +00:00
gjb
6827f8ffd0 Document r286444, BIO_DELETE passthru support in GELI.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:53 +00:00
gjb
174ebf68d0 Document r286441, iwm(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:51 +00:00
gjb
88a59bcece Document r286289, xargs(1) '-P 0' mode.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:49 +00:00
gjb
b1e2fdbcf1 Document r286231, pms(4) added to GENERIC.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:46 +00:00