Commit Graph

204601 Commits

Author SHA1 Message Date
Enji Cooper
f09af4b5c9 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
Enji Cooper
4436b51dff 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
Dimitry Andric
d31de54826 Update dates in UPDATING and ObsoleteFiles.inc. 2015-10-06 16:26:07 +00:00
Dimitry Andric
88750be440 Merge ^/head r288836 through r288925. 2015-10-06 16:25:13 +00:00
Roger Pau Monné
1a52c10530 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
Gleb Smirnoff
640082d498 Remove debugging variable from r143761. 2015-10-06 09:43:49 +00:00
Hiroki Sato
c1d0909a53 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 Panchasara
62d4443f00 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
Enji Cooper
7fd25aff6b 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
Alan Cox
27e9ed8a5a 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
Warner Losh
b946bedd09 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 Schubert
d029a42ab4 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
Justin Hibbits
db0d64f24a Save the link register in savectx().
Pointed out by:	jhb
2015-10-06 01:24:46 +00:00
Glen Barber
777f366fb6 Use UBOOT_FILES in the dd(1) input file, as intended.
Sponsored by:	The FreeBSD Foundation
2015-10-06 01:05:07 +00:00
Enji Cooper
20dbf8ef41 Call sync consistently using atf_check
Remove superfluous sync's
2015-10-06 01:00:12 +00:00
Enji Cooper
910be139a2 Explicitly set BLOCKSIZE to 512 in the environment 2015-10-06 00:55:31 +00:00
Enji Cooper
f46d1be662 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
Warner Losh
3a845236df 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
Bryan Drewery
94746562ff 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
John Baldwin
3edd0ffffe 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
Warner Losh
d635a37ffa 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
Glen Barber
4840d2a682 Wrap a long line to make igor(1) happy.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:14:25 +00:00
Glen Barber
58ff4e97a0 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
Glen Barber
998e355466 Document r288303, nc(1) updated to OpenBSD 5.8 version.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:51 +00:00
Glen Barber
2101abf6ba Document r288176, kernel symbols now installed to /usr/lib/debug/.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:49 +00:00
Glen Barber
dac09c912d Document r287917, unbound 1.5.4.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:47 +00:00
Glen Barber
6a7207a4cb Document r287886, fix kqueue write events for files > 2GB
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:44 +00:00
Glen Barber
68ce7e47f5 Document r287842, ifconfig(8) exit on error if ioctl(2) fails.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:42 +00:00
Glen Barber
8ddc90772e Document r287798, IPv6 On-Link redirect handling fix.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:39 +00:00
Glen Barber
aace21ac80 Document r287621, CTL HA reimplementation.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:37 +00:00
Glen Barber
1fd305ef85 Document r287576, service(8) updated to respect /etc/rc.conf.d/.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:35 +00:00
Glen Barber
1c22a5320f Document r287522, pciconf(8) prefer pciids from ports database,
if present.

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

Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:30 +00:00
Glen Barber
c5afd77651 Document r287469, em(4) update to support I219 chipset.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:27 +00:00
Glen Barber
ec348a9a3b Document r288143, file(1) updated to 5.25.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:25 +00:00
Glen Barber
cac4630d51 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
Glen Barber
88f3c1d00c Document r287306, CUBIEBOARD2 kernel configuration renamed to A20.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:20 +00:00
Glen Barber
72e6e61b92 Document r287225, 1-Wire implementation.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:17 +00:00
Glen Barber
b416cb6a4c 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
Glen Barber
10cc826965 Document r287117, ioat(4) driver addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:12 +00:00
Glen Barber
cea21d4e00 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
Glen Barber
1942cdada0 Document r288090, jemalloc update to 4.0.2.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:07 +00:00
Glen Barber
c9f532a3c5 Document r286829, ability to disable em(4) CRC stripping.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:05 +00:00
Glen Barber
e1ce154aae Document r286795, patch(1) automatic checkout feature removed.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:13:03 +00:00
Glen Barber
036c6a0328 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
Glen Barber
d5f00aaeef Document r286591, uart(4) PPS runtime-tunable.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:58 +00:00
Glen Barber
ae353465a4 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
Glen Barber
6ee0495688 Document r286444, BIO_DELETE passthru support in GELI.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:53 +00:00
Glen Barber
8baec49dee Document r286441, iwm(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:51 +00:00
Glen Barber
aabf11e17a Document r286289, xargs(1) '-P 0' mode.
Sponsored by:	The FreeBSD Foundation
2015-10-05 20:12:49 +00:00