summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* DIRDEPS_BUILD: Connect MK_TESTS.bdrewery2016-03-09321-0/+4510
| | | | Sponsored by: EMC / Isilon Storage Division
* Fix and connect setjmp test.bdrewery2016-03-094-2/+5
| | | | Sponsored by: EMC / Isilon Storage Division
* These group names may be used as a cookie, so replace any non-fs-safe ↵bdrewery2016-03-093-6/+12
| | | | | | | | | | | characters. One example is in cddl/usr.sbin/dtrace/tests/common/aggs. It could be fixed but other uses of this would break, especially in the DIRDEPS_BUILD which uses the group names for stage cookies. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Let PROGS bootstrapping work.bdrewery2016-03-091-22/+39
| | | | | | | | - Support (DP|LIB)ADD_${PROG}. - Support SRCS[._]${PROG}. - Don't bootstrap DIRDEPS while recursing. Sponsored by: EMC / Isilon Storage Division
* Fix code so that buf_ring allocation for Tx Queues and their mutexesdavidcs2016-03-091-28/+119
| | | | | | is done during during bxe_attach() and freed during bxe_detach() MFC after: 5 days
* sh: Add test for 'set -o nolog'.jilles2016-03-092-0/+5
| | | | | The option does not do anything so check that the output of 'set +o' is different.
* sh: Avoid out-of-bounds access in setoptionbyindex() for 'set -o nolog'.jilles2016-03-091-3/+3
| | | | Reported by: hrs
* Remove these broken filemon tests.bdrewery2016-03-094-390/+0
| | | | | | | | | | They were not very useful in their current state. It only ran a fork bomb, confirmed headers/footers matched, hard-coded the number of expected entries (rather than ensuring each entry is present when expected), and was missing a sizeof_long.c file from r251368 which makes its intent for testing 32-bit binaries unclear. More extensive tests should be written with ATF now.
* FILEMON_SET_FD: Disallow changing the fd.bdrewery2016-03-092-3/+18
| | | | | | MFC after: 1 week Suggested by: mjg Sponsored by: EMC / Isilon Storage Division
* For the MD_ROOT option don't inject /dev/md0 as root dev when ROOTDEVNAMEsobomax2016-03-092-2/+3
| | | | | | | | | | | | is defined explicitly. It's kinda pointless and results in extra step in boot sequence which is not really needed, i.e.: md0: Embedded image 1331200 bytes at 0x8038b7b4 Trying to mount root from ufs:/dev/md0 []... Mounting from ufs:/dev/md0 failed with error 22. Trying to mount root from ufs:md0.uzip []... warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init
* Regen.jhb2016-03-0911-256/+94
|
* Simplify AIO initialization now that it is standard.jhb2016-03-0910-121/+78
| | | | | | | | | | | | | | | - Mark AIO system calls as STD and remove the helpers to dynamically register them. - Use COMPAT6 for the old system calls with the older sigevent instead of an 'o' prefix. - Simplify the POSIX configuration to note that AIO is always available. - Handle AIO in the default VOP_PATHCONF instead of special casing it in the pathconf() system call. fpathconf() is still hackish. - Remove freebsd32_aio_cancel() as it just called the native one directly. Reviewed by: kib Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D5589
* Use ptrace(2) LWP events to track threads reliably in truss.jhb2016-03-093-54/+163
| | | | | | | | | | | | | | - truss can now log the system call invoked by a thread during a voluntary process exit. No return value is logged, but the value passed to exit() is included in the trace output. Arguments passed to thread exit system calls such as thr_exit() are not logged as voluntary thread exits cannot be distinguished from involuntary thread exits during a system call. - New events are now reported for thread births and exits similar to the recently added events for new child processes when following forks. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D5561
* Fix reporting of the CloudABI ABI in kdump.jhb2016-03-093-8/+7
| | | | | | | | | | | | - Advertise the word size for CloudABI ABIs via the SV_LP64 flag. All of the other ABIs include either SV_ILP32 or SV_LP64. - Fix kdump to not assume a 32-bit ABI if the ABI flags field is non-zero but SV_LP64 isn't set. Instead, only assume a 32-bit ABI if SV_ILP32 is set and fallback to the unknown value of "00" if neither SV_LP64 nor SV_ILP32 is set. Reviewed by: kib, ed Differential Revision: https://reviews.freebsd.org/D5560
* Second argument of the mips_timer_init_params() is boolean, sosobomax2016-03-091-1/+1
| | | | pass in "1" for true consistently.
* Missed addition to r296563 to fix newer tools to work with older kernel.mav2016-03-091-0/+3
|
* Set buffer to empty string to prevent duplicated output in some cases.ae2016-03-091-0/+1
| | | | PR: 193888
* Fix spelling of MAXNAMLEN.trasz2016-03-091-2/+2
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Improve U-Boot API detectionsgalabov2016-03-093-2/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, ubldr has been trying to locate the U-Boot API using a hint address (U-Boot's current stack pointer), aligning it to 1MiB and going over a 3MiB (or 1MiB in case of MIPS) memory region searching for a valid API signature. This change introduces an alternative way of doing this, namely the following: - both U-Boot's bootelf and go commands actually pass argc and argv to the entry point (e.g., ubldr's start function, but they should also be passed over to main() transparently) - so, instead of trying to go and look for a valid API signature, we look at the parameters passed to main() - if there's an option '-a' with argument, which is a valid hexadecimal unsigned long number (x), we try to verify whether we have a valid API signature at address x. If so - we use it. If not - we fallback to the original way of locating the API signature. The U-Boot change, which causes the API structure address to be exported as an environment variable, was committed to mainline U-Boot as commit 22aa61f707574dd569296f521fcfc46a05f51c48 Reviewed by: andrew, adrian Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5492
* Add new IOCTL compat shims for ABI breakage caused by r296510:mav2016-03-093-136/+437
| | | | MFV r296505: 6531 Provide mechanism to artificially limit disk performance
* Add support for IPPROTO_IPV6 socket layer for getsockopt/setsockopt calls.ae2016-03-092-0/+88
| | | | | | | | Also add mapping for several options from RFC 3493 and 3542. Reviewed by: dchagin Tested by: Joe Love <joe at getsomwhere dot net> MFC after: 2 weeks
* Follow-up r295827: Don't enable meta stats when recursing PROGS.bdrewery2016-03-091-0/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD+PROGS: Fix staging not respecting (BINDIR|PROGNAME)[._]${PROG}.bdrewery2016-03-092-6/+10
| | | | | | Observed in tests/sys/kern. Sponsored by: EMC / Isilon Storage Division
* Remove things set already by bsd.progs.mk.bdrewery2016-03-091-4/+0
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* PROGS: Track child meta files.bdrewery2016-03-091-13/+14
| | | | | | | | | | This will allow Makefile.depend to properly capture all dependencies. It is not 100% optimal but works. Other options would be to use *.meta here which would include too much or to keep a Makefile.depend per PROG and include it from the main Makefile.depend which would not be straight forward. Sponsored by: EMC / Isilon Storage Division
* cxgbe(4): Rename regwin_lock to reg_lock. It is used to protect accessnp2016-03-082-19/+19
| | | | to indirect registers only.
* DIRDEPS_BUILD: Update clang dependencies after r296417.bdrewery2016-03-08103-218/+297
| | | | Sponsored by: EMC / Isilon Storage Division
* Don't ever create object directories here with MK_AUTO_OBJ.bdrewery2016-03-082-8/+5
| | | | Sponsored by: EMC / Isilon Storage Division
* drm/i915: Update to match Linux 3.8.13dumbbell2016-03-0857-8673/+19751
| | | | | | | | | This update brings initial support for Haswell GPUs. Tested by: Many users of FreeBSD, PC-BSD and HardenedBSD Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5554
* Better english.dchagin2016-03-081-1/+1
| | | | | Submitted by: Kevin P. Neal MFC after: 1 week
* cxgbe(4): Reshuffle and rototill t4_hw.c, solely to reduce diffs withnp2016-03-081-817/+920
| | | | | | the internal shared code. Obtained from: Chelsio Communications
* Put a commit message from r296502 about Linux alarm() system calldchagin2016-03-081-0/+5
| | | | | | | | behaviour to the source. Suggested by: emaste@ MFC after: 1 week
* Load linux64 module for amd64 if Linux abi enabled.dchagin2016-03-081-0/+5
| | | | | | Reviewed by: emaste@ MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D5567
* MFV r296540: 4448 zfs diff misprints unicode charactersmav2016-03-081-6/+8
| | | | | | | | | Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Matthew Ahrens <mahrens@delphix.com> Author: Joshua M. Clulow <jmc@joyent.com> illumos/illumos-gate@b211eb9181f99c20acbf4c528f94cb44b4ca8c31
* MFV r296538: 6544 incorrect comment in libzfs.h about offline statusmav2016-03-081-1/+1
| | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Gerhard Roethlin <git@the-color-black.net> illumos/illumos-gate@cb605c4d8ab24b5a900b8b4ca85db65c22d05fad
* MFV r296536: 6551 cmd/zpool: cleanup gcc warningsmav2016-03-083-34/+13
| | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Robert Mustacchi <rm@joyent.com> illumos/illumos-gate@b327cd3f3b4dab4f29e7140159b1e01ed2ceef2a
* MFV r296534: 6550 cmd/zfs: cleanup gcc warningsmav2016-03-081-17/+37
| | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Igor Kozhukhov <ikozhukhov@gmail.com> illumos/illumos-gate@c16bcc4577f389573eff411c7b7e040294078c3b
* MFV r296532: 6637 replacing "dontclose" with "should_close"mav2016-03-081-3/+3
| | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: David Schwartz <dschwartz783@gmail.com> illumos/illumos-gate@d189620258b3c9b0e2f7e2104840be2eee7c68e5
* MFV r296529:mav2016-03-082-5/+8
| | | | | | | | | | | | | | 6672 arc_reclaim_thread() should use gethrtime() instead of ddi_get_lbolt() 6673 want a macro to convert seconds to nanoseconds and vice-versa Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Eli Rosenthal <eli.rosenthal@delphix.com> illumos/illumos-gate@a8f6344fa0921599e1f4511e41b5f9a25c38c0f9
* MFV r296527: 6659 nvlist_free(NULL) is a no-opmav2016-03-0812-40/+20
| | | | | | | | | Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com> Author: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> illumos/illumos-gate@aab83bb83be7342f6cfccaed8d5fe0b2f404855d
* Record command exit status in the typescript file when running simple commands.bdrewery2016-03-081-3/+9
| | | | | | | | Also capitalize 'command:'. Relnotes: yes MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Just exit in the child if execve(2) fails.bdrewery2016-03-081-9/+1
| | | | | | | | | | | | | | No functional change. This is mostly addressing a false-positive from the clang static analyzer due to it thinking that done() was being called with freed memory, however the kill(0, SIGTERM) made the done() never reached. It doesn't make sense to the show the footer from the child anyhow, nor does it make sense to kill the process group here since the execve(2) failed in the child. This code was leftover from many years of refactoring. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Filemon: Attach from the child to avoid racing with the parent attach.bdrewery2016-03-081-4/+10
| | | | | | | | | | This is the same as how the bmake filemon usage works. This also fixes failed attach not properly flushing the TTY. MFC after: 1 week Relnotes: yes Sponsored by: EMC / Isilon Storage Division
* MFV r296522: 6541 Pool feature-flag check defeated if "verify" is includedmav2016-03-082-1/+7
| | | | | | | | | | | in the dedup property value Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Richard Laager <rlaager@wiktel.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: ilovezfs <ilovezfs@icloud.com> illumos/illumos-gate@971640e6aa954c91b0706543741aa4570299f4d7
* MFV r296520: 6562 Refquota on receive doesn't account for overagemav2016-03-081-3/+28
| | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com> Author: Dan McDonald <danmcd@omniti.com> illumos/illumos-gate@5f7a8e6d750cb070a3347f045201c6206caee6aa
* MFV r296518: 5027 zfs large block support (add copyright)mav2016-03-0851-0/+51
| | | | | | Author: Matthew Ahrens <matt@mahrens.org> illumos/illumos-gate@c3d26abc9ee97b4f60233556aadeb57e0bd30bb9
* boot1.efi: use += to append to LDFLAGSemaste2016-03-081-1/+1
| | | | | This is for consistency with loader.efi's Makefile and simplifies some out-of-tree experimentation.
* MFV r296515: 6536 zfs send: want a way to disable setting ofmav2016-03-082-1/+14
| | | | | | | | | | | | DRR_FLAG_FREERECORDS Reviewed by: Anil Vijarnia <avijarnia@racktopsystems.com> Reviewed by: Kim Shrier <kshrier@racktopsystems.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Andrew Stormont <astormont@racktopsystems.com> illumos/illumos-gate@880094b6062aebeec8eda6a8651757611c83b13e
* MFV r296513: 6450 scrub/resilver unnecessarily traverses snapshots createdmav2016-03-081-4/+50
| | | | | | | | | | | | after the scrub started Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Approved by: Richard Lowe <richlowe@richlowe.net> Author: Matthew Ahrens <mahrens@delphix.com> illumos/illumos-gate@38d61036746e2273cc18f6698392e1e29f87d1bf
* MFV r296511: 6537 Panic on zpool scrub with DEBUG kernelmav2016-03-081-2/+4
| | | | | | | | | | | Reviewed by: Steve Gonczi <gonczi@comcast.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Matthew Ahrens <mahrens@delphix.com> Author: Gary Mills <gary_mills@fastmail.fm> illumos/illumos-gate@8c04a1fa3f7d569d48fe9b5342d0bd4c533179b9
OpenPOWER on IntegriCloud