aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New depsSimon J. Gerraty2014-05-141-0/+14
| | | | Notes: svn path=/projects/bmake/; revision=266002
* Updated dependsSimon J. Gerraty2014-05-101-0/+8
| | | | Notes: svn path=/projects/bmake/; revision=265859
* Updated dependenciesSimon J. Gerraty2014-05-10815-23/+1674
| | | | Notes: svn path=/projects/bmake/; revision=265802
* Use src.opts.mkSimon J. Gerraty2014-05-102-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=265801
* Toolchains are a pain - especially to bootstrapSimon J. Gerraty2014-05-102-0/+56
| | | | | | | | rather than waste time optimizing for a rare? event, leverage the targets in src/Makefile.inc1 Notes: svn path=/projects/bmake/; revision=265800
* Prep stage tree for testsSimon J. Gerraty2014-05-101-1/+1
| | | | Notes: svn path=/projects/bmake/; revision=265799
* We may need to supress SHLIB_LINKS with NO_SHLIB_LINKSSimon J. Gerraty2014-05-101-0/+2
| | | | Notes: svn path=/projects/bmake/; revision=265790
* We now want src.opts.mkSimon J. Gerraty2014-05-101-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=265789
* Don't make wildcards .PHONYSimon J. Gerraty2014-05-101-2/+3
| | | | | | | Add pseudo machines host and common to machine list for destroy Notes: svn path=/projects/bmake/; revision=265788
* When bootstrapping tools MACHINE==host and EARLY_BUILD defined,Simon J. Gerraty2014-05-101-2/+22
| | | | | | | | | so not use any of stage tree. M_whence only first value counts Notes: svn path=/projects/bmake/; revision=265787
* Handle empty meta listSimon J. Gerraty2014-05-101-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=265786
* Merge from headSimon J. Gerraty2014-05-08696-5424/+44633
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * Hide debug messages under VT_DEBUG.Aleksandr Rybalko2014-05-083-0/+10
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265719
| * Fix two more typos.Christian Brueffer2014-05-081-3/+3
| | | | | | | | | | | | | | Submitted by: Trond Endrestol Notes: svn path=/head/; revision=265716
| * Use KASSERTs as suggested by glebius@Michael Tuexen2014-05-081-14/+2
| | | | | | | | | | | | | | | | MFC after: 3 days X-MFC with: 265691 Notes: svn path=/head/; revision=265713
| * Add #ifdefs in the mpr(4) driver so that versions of stable/9 thatKenneth D. Merry2014-05-082-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | have implemented the PIM_NOSCAN rescan functionality will have it enabled. This is a no-op for head. Reviewed by: slm Sponsored by: Spectra Logic Corporation MFC after: 3 days Notes: svn path=/head/; revision=265712
| * Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers.Kenneth D. Merry2014-05-082-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLR is necessary for reliable communication with SAS tape drives. This was broken by change 246713 in the mps(4) driver. It changed the cm_data field for SCSI I/O requests to point to the CCB instead of the data buffer. So, instead, look at the CCB's data pointer to determine whether or not we're talking to a tape drive. Also, take the residual into account to make sure that we don't go off the end of the request. MFC after: 3 days Sponsored by: Spectra Logic Corporation Notes: svn path=/head/; revision=265709
| * Fix the incorrect handling of %b and \c in printf(1)Pedro F. Giffuni2014-05-081-13/+15
| | | | | | | | | | | | | | | | | | | | This is required for POSIX compliance. Obtained from: Garrett D'Amore (Illumos) MFC after: 4 days Notes: svn path=/head/; revision=265706
| * Consolitate all the AP core startup stuff under a single #ifdef SMP block.Ian Lepore2014-05-081-16/+6
| | | | | | | | | | | | | | | | | | Remove some other ifdefs that came in with a copy/paste that mean basically "if this processor supports multicore stuff", because if you're starting up an AP core... it does. Notes: svn path=/head/; revision=265705
| * Modify Copyright information and other strings to reflect Qlogic ↵David C Somayajulu2014-05-087-78/+72
| | | | | | | | | | | | | | | | | | | | | | | | Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation MFC after:5 days Notes: svn path=/head/; revision=265703
| * Incorporate feedback from bde and jilles regarding r265472 to dd(1).Alan Somers2014-05-083-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't use sysexits.h. Just exit 1 on error and 0 otherwise. * Don't sacrifice precision by converting the output of clock_gettime() to a double and then comparing the results. Instead, subtract the values of the two clock_gettime() calls, then convert to double. * Don't use CLOCK_MONOTONIC_PRECISE. It's an unportable synonym for CLOCK_MONOTONIC. * Use more appropriate names for some local variables. * In the summary message, round elapsed time to the nearest microsecond. Reported by: bde, jilles MFC after: 3 days X-MFC-With: 265472 Notes: svn path=/head/; revision=265698
| * Move the mptramp code which is specific to the Marvell ArmadaXP SoC out ofIan Lepore2014-05-083-47/+58
| | | | | | | | | | | | | | the common locore.S file and into the mv/armadaxp directory. Notes: svn path=/head/; revision=265694
| * For some UDP packets (for example with 200 byte payload) and IP options,Michael Tuexen2014-05-081-5/+13
| | | | | | | | | | | | | | | | | | | | the IP header and the UDP header are not in the same mbuf. Add code to in_delayed_cksum() to deal with this case. MFC after: 3 days Notes: svn path=/head/; revision=265691
| * Use edge-triggered interrupts rather than polling loops to avoid missingIan Lepore2014-05-081-15/+28
| | | | | | | | | | | | | | | | | | transitions of the INIT_B line. Also, release the mutex during uiomove(). Submitted by: Thomas Skibo <ThomasSkibo@sbcglobal.net> Notes: svn path=/head/; revision=265690
| * Import adapted OpenSolaris' thread pool API implementation.Alexander Motin2014-05-084-30/+599
| | | | | | | | | | | | | | | | | | | | | | | | | | The thread pool is used by libzfs to implement parallel disk scanning. Without this change our dummy wrapper made `zpool import ZZZ` command to scan all disks sequentially from the single thread when searching for pools. This change makes it use two threads per CPU, same as in OpenSolaris. On system with 200 HDDs this change reduces ZFS pool import time from 35 to 22 seconds. Notes: svn path=/head/; revision=265689
| * Add usr/share/mk/src.opts.mk to obsolete files. It never should haveWarner Losh2014-05-082-0/+7
| | | | | | | | | | | | | | | | | | been installed in the first place, and it must be removed ASAP or weird build errors may start happening in the future if this file is ever taken from the installed system. Add note to UPDATING. Notes: svn path=/head/; revision=265686
| * Rename rt_msg1() to more handy rtsock_msg_mbuf().Alexander V. Chernikov2014-05-081-9/+13
| | | | | | | | | | | | | | | | | | | | | | (Just for history purposes: rt_msg2() was renamed to rtsock_msg_buffer() in r265019). Sponsored by: Yandex LLC MFC after: 1 month Notes: svn path=/head/; revision=265682
| * Fix scrollback.Aleksandr Rybalko2014-05-082-5/+7
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265681
| * No need to assign fields required and checked on probe.Aleksandr Rybalko2014-05-081-7/+0
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265680
| * Fix incorrect netmasks being passed via rtsock.Alexander V. Chernikov2014-05-082-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since radix has been ignoring sa_family in passed sockaddrs, no one ever has bothered filling valid sa_family in netmasks. Additionally, radix adjusts sa_len field in every netmask not to compare zero bytes at all. This leads us to rt_mask with sa_family of AF_UNSPEC (-1) and arbitrary sa_len field (0 for default route, for example). However, rtsock have been passing that rt_mask intact for ages, requiring all rtsock consumers to make ther own local hacks. We even have unfixed on in base: do `route -n monitor` in one window and issue `route -n get addr` for some directly-connected address. You will probably see the following: got message of size 304 on Thu May 8 15:06:06 2014 RTM_GET: Report Metrics: len 304, pid: 30493, seq 1, errno 0, flags:<UP,DONE,PINNED> locks: inits: sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA> 10.0.0.0 link#1 (255) ffff ffff ff em0:8.0.27.c5.29.d4 10.0.0.92 _________________^^^^^^^^^^^^^^^^^^ after the change: got message of size 312 on Thu May 8 15:44:07 2014 RTM_GET: Report Metrics: len 312, pid: 2895, seq 1, errno 0, flags:<UP,DONE,PINNED> locks: inits: sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA> 10.0.0.0 link#1 255.255.255.0 em0:8.0.27.c5.29.d4 10.0.0.92 _________________^^^^^^^^^^^^^^^^^^ Sponsored by: Yandex LLC MFC after: 1 month Notes: svn path=/head/; revision=265666
| * Re-apply r248644. This fixes an annoying problem which caused dtrace -c toMark Johnston2014-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fail to attach to stripped binaries. With the _r_debug_postinit symbol, dtrace(1) can now set a breakpoint in the victim process after it has registered its DOF table(s) with the kernel. r_debug_state cannot be used for this purpose since it is called before DOF is made available, in which case dtrace(1) cannot create USDT probes before the program begins execution. MFC after: 2 weeks Notes: svn path=/head/; revision=265631
| * Fix the rd_event_addr prototype and slightly clarify the use of the "event"Mark Johnston2014-05-081-3/+3
| | | | | | | | | | | | | | | | | | parameter. MFC after: 3 days Notes: svn path=/head/; revision=265630
| * Handle the different event types properly in rd_event_addr(). In particular,Mark Johnston2014-05-082-10/+40
| | | | | | | | | | | | | | | | | | | | | | with r265456 _r_debug_postinit can be used for RD_POSTINIT events. rtld(1) uses r_debug_state for dl state transitions, so we use its address for RD_DLACTIVITY events. MFC after: 2 weeks Notes: svn path=/head/; revision=265629
| * Put bsd.own.mk back in the list, and take src.opts.mk out.Warner Losh2014-05-082-2/+2
| | | | | | | | | | | | | | Fix a silly typo. Notes: svn path=/head/; revision=265628
| * Fix a typo make should have complained about.Warner Losh2014-05-081-1/+1
| | | | | | | | | | | | | | Submitted by: Mark Johnston Notes: svn path=/head/; revision=265627
| * Silence no interrupt-parent found message during boot.Ganbold Tsagaankhuu2014-05-081-0/+2
| | | | | | | | | | | | | | Approved by: stas (mentor) Notes: svn path=/head/; revision=265624
| * sh: Add some tests for normal use of getopts.Jilles Tjoelker2014-05-074-0/+29
| | | | | | | | Notes: svn path=/head/; revision=265616
| * Handle ELF files with 65280 or more sectionsEd Maste2014-05-071-8/+35
| | | | | | | | | | | | | | | | | | | | | | If e_shnum or e_shstrndx are at least SHN_LORESERVE (0xff00) then an escape value is used to indicate that the actual value is found in one of section 0's fields. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=265613
| * Document r265555, addition of mrsas(4).Glen Barber2014-05-071-0/+17
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265611
| * Separate &darpa; entity and create &darpa_afrl toGlen Barber2014-05-072-3/+6
| | | | | | | | | | | | | | | | | | | | avoid confusion. Suggested by: rwatson Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265607
| * Correct attribution for casperd, co-sponsored byGlen Barber2014-05-072-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The FreeBSD Foundation and Google, Inc.[1] Since this was dual-sponsored, the sponsorurl needs to be empty. Add Google to the sponsor.ent file. Reminded by: rwatson [1] Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265605
| * Add a note to keep the entity lists sorted alphabetically.Glen Barber2014-05-072-0/+4
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265603
| * Add attribution for r265348.Glen Barber2014-05-072-1/+5
| | | | | | | | | | | | | | | | | | Add Netgate to sponsor.ent. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265602
| * Add attribution for r265236.Glen Barber2014-05-072-3/+7
| | | | | | | | | | | | | | | | | | Add LSI and Spectra Logic to sponsor.ent. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265601
| * Add attribution for r264601.Glen Barber2014-05-071-1/+2
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265600
| * Add attribution for r258884.Glen Barber2014-05-072-1/+4
| | | | | | | | | | | | | | | | | | Add DARPA, AFRL to sponsor.ent. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265599
| * Add sponsorship attribution for r258838 (casperd(8)).Glen Barber2014-05-071-1/+2
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265596
| * Add references to sponsor.ent and vendor.ent inGlen Barber2014-05-072-0/+6
| | | | | | | | | | | | | | | | | | relnotes/article.xml and share/xml/catalog.xml. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265595
| * Add two new entity files in followup to r265590,Glen Barber2014-05-072-0/+17
| | | | | | | | | | | | | | | | | | | | sponsor.ent and vendor.ent, which will be used for sponsor/vendor names and URLs. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265594
| * (dd_out): Fix handling of all-zeroes block at end of input withThomas Quinot2014-05-071-24/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conv=sparse. This change fixes two separate issues observed when the last output block is all zeroes, and conv=sparse is in use. In this case, care must be taken to roll back the last seek and write the entire last zero block at the original offset where it should have occurred: when the destination file is a block device, it is not possible to roll back by just one character as the write would then not be properly aligned. Furthermore, the buffer used to write this last all-zeroes block needs to be properly zeroed-out. This was not the case previously, resulting in a junk data byte appearing instead of a zero in the output stream. PR: bin/189174 PR: bin/189284 Reviewed by: kib MFC after: 2 weeks Notes: svn path=/head/; revision=265593