aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add width and precision specifiers to printf(1) %n$.Pedro F. Giffuni2014-05-071-25/+90
| | | | | | | | | | | | | This actually completes r264743 so that width and precision specifiers work properly with %n$. These keeps consistency with ksh93 and zsh. Requested by: jilles Obtained from: Garrett D'Amore (Illumos) MFC after: 4 days Notes: svn path=/head/; revision=265592
* Introduce a new command line switch '-H' for stat(1)Thomas Quinot2014-05-072-5/+44
| | | | | | | | | | causing arguments to be interpreted as NFS file handles. Reviewed by: -arch (jhb, eadler) MFC after: 1 month Notes: svn path=/head/; revision=265591
* Modify release.xsl to allow proper attribution forGlen Barber2014-05-071-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sponsored and/or contributed works. This works similarly to how the subversion revision is suffixed in release notes entries when 'revision="NNNNNN"' is set. The <para> tag in relnotes/article.xml can now take the following new elements: - contrib: defined to what type of contribution the change is. Right now, only 'vendor' or 'sponsor' are used. 'vendor' is intended for vendor-contributed code, such as driver updates, etc. 'sponsor' is intended for sponsored work (the 'Sponsored by:' in the commit template). - vendor: The canonical name of the vendor. - sponsor: The canonical name of the sponsor. - vendorurl: The URL for the vendor website, if applicable. - sponsorurl: The URL for the sponsor website, if applicable. If 'vendor' or 'sponsor' are set, but 'contrib' is not, nothing is rendered. If 'contrib' is set, but no 'vendor' or 'sponsor' are defined, nothing is printed. If 'vendorurl' or 'sponsorurl' are set, the 'vendor' or 'sponsor' text is link, otherwise is non-clickable text. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265590
* Add casts to have it compile on amd64 without complaining aboutAdrian Chadd2014-05-071-6/+9
| | | | | | | | | | | mismatched types. Tested: * AR9280, TDMA slave, amd64. Notes: svn path=/head/; revision=265588
* Generate hardware notes for mrsas(4).Christian Brueffer2014-05-071-0/+2
| | | | Notes: svn path=/head/; revision=265585
* First cleanup pass: new sentence -> new line, mdoc, typos and style.Christian Brueffer2014-05-071-49/+78
| | | | Notes: svn path=/head/; revision=265583
* bsd.compiler.mk was implicitly included by bsd.own.mk in historicalWarner Losh2014-05-073-0/+11
| | | | | | | | | | | | | | versions. With its movement to src.opts.mk, bsd.prog.mk was testing COMPILER_TYPE without including the bsd.compiler.mk anymore. In the source tree, this caused no problems, for reasons that aren't clear, but does cause problems outside of the source tree. Allow bsd.compiler.mk to be included multiple times safely, and always include bsd.compiler.mk at the top of bsd.prog.mk. Resist the urge to put it in bsd.init.mk, since that would reintroduce the implicit include. Notes: svn path=/head/; revision=265581
* All the NO_foo options processed in src.opts.mk are really bsd.opts.mkWarner Losh2014-05-072-18/+19
| | | | | | | | | | | | options, so move their processing there. This fixes issues with Makefiles that define NO_MAN=t and only inlcude bsd.*.mk files. A few ports fell into this category, and they should be fixed by this change. Also, for now, disable the warning about NO_foo being deprecated. More work is needed than anticipated before we can do that, so kill the noise for now. Notes: svn path=/head/; revision=265580
* - Export the function added in r265456 rather than the non-existentMark Johnston2014-05-072-3/+3
| | | | | | | | | | | | | | _rtld_debug_postinit(). [1] - Use __compiler_membar() instead of inline asm in _r_debug_state() and _r_debug_postinit(). [2] Pointy hat to: markj [1] Reported by: attilio [2] Discussed with: kib X-MFC-With: r265456 Notes: svn path=/head/; revision=265578
* Add mrsas(4) driver from LSI official support of newer MegaRAID SASDoug Ambrisko2014-05-0711-0/+9809
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cards. LSI has been maintaining this driver outside of the FreeBSD tree. It overlaps support of ThunderBolt and Invader cards that mfi(4) supports. By default mfi(4) will attach to cards. If the tunable: hw.mfi.mrsas_enable=1 is set then mfi(4) will not probe and attach to these newer cards and allow mrsas(4) to attach. So by default this driver will not effect a FreeBSD system unless mfi(4) is removed from the kernel or the tunable is enabled. mrsas(4) attaches disks to the CAM layer so it depends on CAM and devices show up as /dev/daX. mfiutil(8) does not work with mrsas. The FreeBSD version of MegaCli and StorCli from LSI do work with mrsas. It appears that StorCli only works with mrsas. MegaCli appears to work with mfi(4) and mrsas(4). It would be good to add mfiutil(4) support to mrsas, emulations modes, kernel logging, device aliases to ease the transition between mfi(4) and mrsas(4). Style issues should be resolved by LSI when they get committers approved. The plan is get this driver in FreeBSD 9.3 to improve HW support. Thanks to LSI for developing, testing and working with FreeBSD to make this driver co-exist in FreeBSD. This improves the overall support of MegaRAID SAS. Submitted by: Kashyap Desai <Kashyap.Desai@lsi.com> Reviewed by: scottl MFC after: 3 days Sponsored by: LSI Notes: svn path=/head/; revision=265555
* Fix possible divide by zero.Aleksandr Rybalko2014-05-071-10/+18
| | | | | | | | | Spotted by: many Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265546
* Add svn revision number to sendmail entry and wrapGlen Barber2014-05-071-2/+2
| | | | | | | | | | line. Fix capitalization of Sendmail. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265544
* Sort entries by svn revision as oldest-newest to matchGlen Barber2014-05-071-71/+71
| | | | | | | | | entry order in other branches. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265543
* Move r265348 to 'net-if' section.Glen Barber2014-05-071-3/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265542
* Document r265348, Atheros AR1111 support.Glen Barber2014-05-071-0/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265541
* Document r265236, addition of mpr(4).Glen Barber2014-05-071-0/+4
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265540
* It is safe to allow shrinking, when aligned size is bigger than current.Andrey V. Elsukov2014-05-073-4/+4
| | | | | | | | Tested by: jmg MFC after: 1 week Notes: svn path=/head/; revision=265539
* - Sprinkle const and static as appropriate.Marius Strobl2014-05-071-98/+90
| | | | | | | | | | | | - Fix whitespace bugs. - Remove pointless returns in void functions. - Nuke pointless switch cases mirroring the default. MFC after: 3 days Sponsored by: Bally Wulff Games & Entertainment GmbH Notes: svn path=/head/; revision=265535
* msync(2) must return ENOMEM and not EINVAL when the address is outside thePeter Holm2014-05-072-6/+8
| | | | | | | | | | | | | | allowed range or when one or more pages are not mapped. This according to The Open Group Base Specifications Issue 7. Discussed with: attilio, Bruce Evans Reviewed by: alc, Garrett Cooper Reported by: ATF MFC after: 2 weeks Sponsored by: EMC / Isilon storage division Notes: svn path=/head/; revision=265534
* There's no need to be this paranoid - ni is deferenced before thisAdrian Chadd2014-05-071-1/+1
| | | | | | | | | point. Coverity ID: CID 1211937 Notes: svn path=/head/; revision=265527
* Hold the SIM lock when calling xpt_create_path() and xpt_action() inKenneth D. Merry2014-05-071-0/+6
| | | | | | | | | | | | | mprsas_SSU_to_SATA_devices(). This fixes an assertion on shutdown with INVARIANTS enabled with SATA drives present on an IR firmware controller. Reviewed by: Steve McConnell <stephen.mcconnell@avagotech.com>. MFC after: 3 days Notes: svn path=/head/; revision=265485
* Remove some debugging code.Kenneth D. Merry2014-05-071-2/+0
| | | | | | | | Submitted by: Steve McConnell <stephen.mcconnell@avagotech.com> MFC after: 3 days Notes: svn path=/head/; revision=265484
* Merge -fstandalone-debug from Clang r198655:Ed Maste2014-05-075-26/+42
| | | | | | | | | | | | | | | | Implement a new -fstandalone-debug option. rdar://problem/15685848 It controls everything that -flimit-debug-info used to, plus the vtable type optimization. The old -fno-limit-debug-info option is now an alias to -fstandalone-debug and vice versa. Standalone is the default on Darwin until dtrace is updated to work with non-standalone debug info (rdar://problem/15758808). Note: I kept the LimitedDebugInfo name in CodeGenOptions::DebugInfoKind because NoStandaloneDebugInfo sounded even more confusing. Notes: svn path=/head/; revision=265477
* Bump the default C-state to Cmax, rather than the kernel defaultAdrian Chadd2014-05-061-2/+2
| | | | | | | | | | | | of C1. This may not stay through 11.0-RELEASE, but at least having it on by default in -HEAD will expose (more) issues with broken hardware. Note: I have no plans or desire to MFC this to stable/10. Notes: svn path=/head/; revision=265474
* Change the device name for mpr(4) from /dev/mpr_N to /dev/mprN.Kenneth D. Merry2014-05-061-1/+1
| | | | | | | | | | This is more consistent with the existing mps(4) behavior. Reviewed by: Steve McConnell <stephen.mcconnell@avagotech.com> MFC after: 3 days Notes: svn path=/head/; revision=265473
* dd(1) uses gettimeofday(2) to compute the throughput statistics. However,Alan Somers2014-05-062-12/+20
| | | | | | | | | | | | | | | | | | gettimeofday returns the system clock, which may jump forward or back, especially if NTP is in use. If the time jumps backwards, then dd will see negative elapsed time, round it up to 1usec, and print an absurdly fast transfer rate. The solution is to use clock_gettime(2) with CLOCK_MONOTONIC_PRECISE as the clock_id. That clock advances steadily, regardless of changes to the system clock. Reviewed by: delphij MFC after: 3 days Sponsored by: Spectra Logic Notes: svn path=/head/; revision=265472
* Add mkimg_write() which combines lseek(2) and write(2) and usesMarcel Moolenaar2014-05-069-51/+25
| | | | | | | | | | | sector granularity for both offset and length. Have all schemes use mkimg_write() instead of mkimg_seek() followed by write(2). Now that schemes don't use lseek(2) nor write(2) directly, it's easier to support output formats other than raw disks. Notes: svn path=/head/; revision=265468
* Add missing svn:keywords property.Marcel Moolenaar2014-05-060-0/+0
| | | | Notes: svn path=/head/; revision=265467
* Don't reply monlist request when it's not enabled.Xin LI2014-05-061-2/+0
| | | | | | | | No objection from: roberto (but all bugs are mine) MFC after: 2 weeks Notes: svn path=/head/; revision=265465
* Sort .ALLSRC before concatenating files together. This makes sure that theXin LI2014-05-061-1/+1
| | | | | | | | | | | | | file are always built the same. (Note that Header and Localstuff must appear first and in that order, the sorting does not affect as a coincident effect). Submitted by: sjg MFC after: 3 days Notes: svn path=/head/; revision=265464
* Due to reasons unknown at this time, the system can be forced to writeScott Long2014-05-061-0/+26
| | | | | | | | | | | | | | | | a journal block even when there are no journal entries to be written. Until the root cause is found, handle this case by ensuring that a valid journal segment is always written. Second, the data buffer used for writing journal entries was never being scrubbed of old data. Fix this. Submitted by: Takehara Mikihito Obtained from: Netflix, Inc. MFC after: 3 days Notes: svn path=/head/; revision=265463
* In apm_write(), both fd and imgsz are referenced, so don't mark theMarcel Moolenaar2014-05-061-1/+1
| | | | | | | arguments as unused. Notes: svn path=/head/; revision=265462
* Import George Wilson's change for Illumos #4730:Xin LI2014-05-061-1/+2
| | | | | | | | | | | | | | 4730 metaslab group taskq should be destroyed in metaslab_group_destroy() Reviewed by: Alex Reece <alex.reece@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Original author: George Wilson MFC after: 3 days Notes: svn path=/head/; revision=265458
* Add a postinit debugger hook to rtld. This will be used by dtrace(1) to haltMark Johnston2014-05-062-0/+16
| | | | | | | | | | | | | the victim process before its entry point is called, at which point probes and DOF data are registered with the kernel. The r_debug_state hook cannot be used for this purpose, as it is called before the program's init routines are invoked and in particular before DOF data is registered (via drti.o). Reviewed by: kib MFC after: 2 weeks Notes: svn path=/head/; revision=265456
* Remove unused code. This is triggered by the bugreport of Sylvestre LedruMichael Tuexen2014-05-061-8/+0
| | | | | | | | | | which deal with useless code in the user land stack: https://bugzilla.mozilla.org/show_bug.cgi?id=1003929 MFC after: 3 days Notes: svn path=/head/; revision=265455
* - Allow foot shooting with the resetconfig command via the -f option.Marius Strobl2014-05-062-21/+36
| | | | | | | | | | | | - Fix typos preventing -f to actually work with the create command. - Initialize flags to zero rather than using stack garbage when handling the grow command. MFC after: 3 days Sponsored by: Bally Wulff Games & Entertainment GmbH Notes: svn path=/head/; revision=265454
* No need to install man pages for bootstrapping new make. SomeWarner Losh2014-05-061-1/+1
| | | | | | | | | | | | | environments (that I can't reproduce locally, but that others have reported) seem to get tripped up by this man page install. There's really no need to do it, so turn off the man pages using the most portable method. We can't just directly set MK_MAN=no here because we're bootstrapping in the host environment and such a setting was forbidden until very recently. NO_MAN= can produce a warning, but for now the warning is benign. Notes: svn path=/head/; revision=265453
* Time to prune entries for RELENG_7 and stable/8. They are still inWarner Losh2014-05-061-1258/+0
| | | | | | | svn, for the historically minded. Notes: svn path=/head/; revision=265452
* Add helpful note about possible workarounds for (as yet) unknownWarner Losh2014-05-061-2/+4
| | | | | | | breakage. Also fix typo. Notes: svn path=/head/; revision=265451
* Fix the upgrade path for fmake by allowing the include of src.opts.mkWarner Losh2014-05-061-1/+1
| | | | | | | | to fail and falling back on the conservative testing of variables already in place. This should stop the tide of tinderbox mail. Notes: svn path=/head/; revision=265448
* Enable PL310 power-saving modes and tune the cache ram latencies for imx6.Ian Lepore2014-05-061-0/+13
| | | | Notes: svn path=/head/; revision=265447
* Add a public routine to set the L2 cache ram latencies. This can beIan Lepore2014-05-062-0/+42
| | | | | | | called by platform init routines to fine-tune cache performance. Notes: svn path=/head/; revision=265446