Commit Graph

3216 Commits

Author SHA1 Message Date
Julio Merino
0677dfd1c4 MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
Xin LI
1545452c54 Remove an extra copy of hv_kvp_daemon(8) [1].
While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by:	jmg [1]
Reviewed by:	jmg
MFC after:	2 weeks
2014-10-27 21:29:42 +00:00
Stefan Farfeleder
dfdc1bec71 Remove incorrect semicolon. 2014-10-26 17:56:58 +00:00
Enji Cooper
d6738a4a17 Bail out of the script on FreeBSD due to deterministic panic issue
PR: 194589
Sponsored by: EMC / Isilon Storage Division
2014-10-25 07:20:46 +00:00
Enji Cooper
a9c092dcab Bail out of the script on FreeBSD due to deterministic panic issue
PR: 194587
Sponsored by: EMC / Isilon Storage Division
2014-10-25 06:33:00 +00:00
Enji Cooper
3f4c49b14a Bail out of the script on FreeBSD due to deterministic panic issue
PR: 194586
Sponsored by: EMC / Isilon Storage Division
2014-10-25 06:28:48 +00:00
Enji Cooper
0615e43e32 Bail out of the script on FreeBSD due to deterministic panic issue
PR: 191573
Sponsored by: EMC / Isilon Storage Division
2014-10-25 06:10:01 +00:00
Enji Cooper
fbb045e15e Move the redirection to stderr out of the cmd variable assignment
Putting 2>/dev/null in cmd= escapes the redirection operation, which causes
mdconfig to think it's a filename

MFC after: 2 weeks
X-MFC with: r273627
Sponsored by: EMC / Isilon Storage Division
2014-10-25 05:31:18 +00:00
Enji Cooper
59dee1b08b - Print out "Bail out!" in die(..) so prove terminates immediately
- Handle the output from newer versions of openssl md5, similar to what
  pjd@ did in r248304

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2014-10-25 04:52:48 +00:00
Ed Maste
16fbb1ab33 Fix typo in src option description 2014-10-21 20:44:33 +00:00
Navdeep Parhar
9302455e9a cxgbetool: Catch up with r185979. One of MAP_ANON, MAP_PRIVATE,
MAP_SHARED, or MAP_STACK must be specified.

This fixes the "loadfw" subcommand.

MFC after:	1 week
2014-10-21 01:34:18 +00:00
Steven Kreuzer
9afb17858f Correct two typos
PR:		194350
Submitted by:	jiashiun@gmail.com
Approved by:	hrs (mentor)
2014-10-16 18:28:11 +00:00
Brooks Davis
854086319c Document that WITHOUT_TOOLCHAIN causes headers to not be installed, not
just programs.
2014-10-16 15:55:13 +00:00
Brooks Davis
adccb5ffd9 Per r273155, HYPERV is built by default on platforms where it makes
sense and ignored on others.
2014-10-16 15:54:23 +00:00
Brooks Davis
50543e7175 MK_ARB_EABI was removed in r272350 so remove the documentation. 2014-10-16 15:52:36 +00:00
George V. Neville-Neil
f284c7376a Add a new option, -P, to pkt-gen which reads a single packet from a stored
pcap file and transmits it instead of the default UDP packet.

Reviewed by:	luigi
MFC after:	2 weeks
2014-10-11 21:43:05 +00:00
Ed Maste
ddd96d231d Build gperf only if we're using g++ (not clang++)
gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR:		194103 (exp-run)
Reviewed by:	bapt
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886
2014-10-09 23:05:31 +00:00
John Baldwin
232e8b52b0 Add schedgraph traces for callout handlers. Specifically, a callwheel logs
a running event each time it executes a callout function.  The event
includes the function pointer, argument, and whether or not it was run from
hardware interrupt context.  The callwheel is marked idle when each handler
completes.  This effectively logs the duration of each callout routine in
the graph.
2014-10-08 16:22:59 +00:00
Andrey V. Elsukov
d6a0c11b7a Fix format string warnings. 2014-10-05 11:16:16 +00:00
Andrey V. Elsukov
260ac36209 Fix typo. 2014-10-05 06:06:48 +00:00
Andrey V. Elsukov
4118113fc1 Rework bootparttest to use more code from sys/boot.
Use disk_open() call to emulate loader behavior.
2014-10-05 06:04:47 +00:00
Adrian Chadd
1f6aea4c49 Add in decode for the AR9300 RX descriptor. 2014-10-04 08:32:15 +00:00
John Baldwin
c3db6aa680 Explicitly return None for negative event indices. Prior to this,
eventat(-1) would return the next-to-last event causing the back button
to cycle back to the end of an event source instead of stopping at the
start.
2014-09-30 17:19:07 +00:00
Enji Cooper
40a8ac8f62 Import pjdfstest from ^/vendor/pjdfstest/abf03c3a47745d4521b0e4aa141317553ca48f91
- Remove tools/regression/pjdfstest
- Add upgrade directions for contrib/pjdfstest
- Add a note to UPDATING for the move (the reachover Makefiles are coming
  soon)

Functional differences:
- ftruncate testcases are added from upstream (github)

Non-functional differences:
- The copyright for the project has been updated to 2012
- pjd's contact information has been updated

Discussed with: -testing, jmmv, pjd
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2014-09-24 07:00:35 +00:00
Enji Cooper
d8eaf8b5df Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes
Sponsored by: EMC / Isilon Storage Division
2014-09-23 22:07:08 +00:00
Mark Johnston
211d5708c9 Ignore a test program which doesn't compile at the moment. It will be
addresed properly when integrating the DTrace tests with Kyua.
2014-09-21 21:31:16 +00:00
Enji Cooper
f4d6293c72 Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2014-09-20 06:34:34 +00:00
Enji Cooper
79c38c9b00 Don't install /etc/rc.d/rwho unless MK_RCMDS == yes
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2014-09-20 06:05:24 +00:00
Will Andrews
08be57e51c Use 'cc' for the C compiler instead of 'gcc'.
MFC after:	1 week
Sponsored by:	Spectra Logic
MFSpectraBSD:	1079507 on 2014/07/24
2014-09-18 17:37:19 +00:00
Xin LI
76cd7220b5 Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.

Submitted by:	hrs
X-MFC-with:	271493, 271688, 271699
2014-09-17 02:32:22 +00:00
Xin LI
e72055b7fe Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

This is a stable/10 candidate for inclusion with 10.1-RELEASE.

Submitted by:	Wei Hu <weh microsoft com>
MFC after:	1 week
2014-09-13 02:15:31 +00:00
Edward Tomasz Napierala
a3507e3bc8 Fix ACL tests to correctly work with ZFS; previous version used wrong
paths.

PR:		191545
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2014-09-12 09:50:32 +00:00
Alan Somers
cec2add46f Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls
merge(1), which is part of the RCS package, it must not be installed if
WITHOUT_RCS update is set. Otherwise, it will produce confusing errors.

CR:		https://reviews.freebsd.org/D691
MFC after:	1 week
Sponsored by:	Spectra Logic
2014-09-10 19:00:17 +00:00
Enji Cooper
5738235523 Add diagnostic printfs and disable test # 4 on i386
Reviewed by: jmmv, rpaulo
MFC after: 3 days
Phabric: D749
PR: 191676
Sponsored by: EMC / Isilon Storage Division
2014-09-10 03:54:57 +00:00
Enji Cooper
0d1998fb9b Expand the tests structure in test_small(..) to workaround the
"initializer not constant" warning with gcc

Approved by: jmmv (mentor)
MFC after: 3 days
Phabric: D744
Sponsored by: EMC / Isilon Storage Division
2014-09-09 22:14:15 +00:00
Enji Cooper
8a3fd30740 Be ANSI-C compliant when defining CX_LIMITED_RANGE #pragma
This mutes warnings with clang

Approved by: rpaulo (mentor)
Reviewed by: das, kargl (both as part of a larger patch)
Phabric: D742
Sponsored by: EMC / Isilon Storage Division
2014-09-09 02:58:58 +00:00
Bryan Drewery
a9ff4acab2 Avoid rs(1) hitting LINE_MAX with custom trees that have large dependencies. 2014-09-08 17:01:30 +00:00
Stefan Eßer
a5f38972dc Fix debug output that has erroneously been committed with the last update.
Obtained from:	Jan Beich
MFC after:	3 days
2014-09-04 17:19:16 +00:00
John Baldwin
d1e9f1a83e Import a hackish tool I use to examine the skew of the TSC across
CPUs in a system.  The tool queries the kernel for its set of CPUs
and compares TSC values on each of the additional CPUs to the first
CPU in turn.  It then outputs a table of simple statistics.
2014-09-03 17:26:46 +00:00
Stefan Eßer
a8a11edaf8 Final patches to the tools used to convert syscons keymaps for use with
vt.

MFC after:	3 days
2014-09-01 16:26:57 +00:00
John-Mark Gurney
d1522a3ba7 add scripts for generating a diff from p4...
awkdiff is the script from scottl that he got from ken a long time
ago...  It no longer lives in his home dir, so give it a new home...
This does simple massaging of p4 output to create a useful diff...

The script p4diffbranch will create a diff that includes new and
deleted files unlike the normal diff2 -b command...  So will be useful
for extracting patches from p4...  It does take a changeset that will
be used to diff against...
2014-08-27 18:56:12 +00:00
Adrian Chadd
50318baaa9 Update these to make them actually compile!
Tested:

* cross compilation to MIPS
2014-08-25 06:14:57 +00:00
Adrian Chadd
ec2aeb2fc1 Allow it to compile again. 2014-08-25 05:26:48 +00:00
Stefan Eßer
86c6e36f50 Modify a few output file names as used with vt.
MFC after:	3 days
2014-08-21 20:35:39 +00:00
Stefan Eßer
5a0fb8c8d6 The conversion tools have been further improved and some erroneous
conversions have been detected and fixed.

It is now possible to add options after the encoding in the parameter
list for convert-keymap.pl. This is currently used to selectively
enable interpretation of the ISO8859-1 currency symbol as the Euro
sign found in ISO5589-15, or to add a Yen symbol in place of '\' for
specific Japanese keyboards. The option are appended to the parameter
list, as in e.g. "convert-keymap.pl german.iso.kbd ISO5589-1 EURO".

The options are appended to the encoding in the form "+EURO" or "+YEN"
in KBDFILES.map, to keep the meaning of the columns intact.

MFC after:	3 days
2014-08-20 17:07:41 +00:00
Stefan Eßer
83886c28c9 Fix further conversion errors found while testing the converted keymaps.
MFC after:	3 days
2014-08-20 07:46:28 +00:00
Ian Lepore
fad3f0e44f Don't stop other legs of a parallel build due to a failure in make_check.
The whole point is to see if there's any failure, which is handled by
building a newer version of make.
2014-08-20 00:33:37 +00:00
Hans Petter Selasky
74b0cb1a24 Add missing WITHOUT_CUSE file. 2014-08-19 15:40:26 +00:00
Bryan Drewery
5608fd23c2 Revert r267233 for now. PIE support needs to be reworked.
1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other
   build-only utility libraries.
2. Another 40% is fixed by generating _pic.a variants of various libraries.
3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR)
   where it never would work anyhow, such as csu or loader. This suggests
   there may be better ways of adding support to the tree. Many of these
   cases can be fixed such that -fPIE will work but there is really no
   reason to have it in those cases.
4. Some of the uses are working around hacks done to some Makefiles that are
   really building libraries but have been using bsd.prog.mk because the code
   is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have
   been needed.

We likely do want to enable PIE by default (opt-out) for non-tree consumers
(such as ports). For in-tree though we probably want to only enable PIE
(opt-in) for common attack targets such as remote service daemons and setuid
utilities. This is also a great performance compromise since ASLR is expected
to reduce performance. As such it does not make sense to enable it in all
utilities such as ls(1) that have little benefit to having it enabled.

Reported by:	kib
2014-08-19 15:04:32 +00:00
Warner Losh
36be38b5f4 Add support for -X, which installs the native cross tools for qemu
operations. Doesn't install qemu nor setup the jail, yet.
2014-08-19 03:51:10 +00:00