summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Re-apply r248644. This fixes an annoying problem which caused dtrace -c tomarkj2014-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
* Fix the rd_event_addr prototype and slightly clarify the use of the "event"markj2014-05-081-3/+3
| | | | | | parameter. MFC after: 3 days
* Handle the different event types properly in rd_event_addr(). In particular,markj2014-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
* Put bsd.own.mk back in the list, and take src.opts.mk out.imp2014-05-082-2/+2
| | | | Fix a silly typo.
* Fix a typo make should have complained about.imp2014-05-081-1/+1
| | | | Submitted by: Mark Johnston
* Silence no interrupt-parent found message during boot.ganbold2014-05-081-0/+2
| | | | Approved by: stas (mentor)
* sh: Add some tests for normal use of getopts.jilles2014-05-074-0/+29
|
* Handle ELF files with 65280 or more sectionsemaste2014-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
* Document r265555, addition of mrsas(4).gjb2014-05-071-0/+17
| | | | Sponsored by: The FreeBSD Foundation
* Separate &darpa; entity and create &darpa_afrl togjb2014-05-072-3/+6
| | | | | | | avoid confusion. Suggested by: rwatson Sponsored by: The FreeBSD Foundation
* Correct attribution for casperd, co-sponsored bygjb2014-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
* Add a note to keep the entity lists sorted alphabetically.gjb2014-05-072-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* Add attribution for r265348.gjb2014-05-072-1/+5
| | | | | | Add Netgate to sponsor.ent. Sponsored by: The FreeBSD Foundation
* Add attribution for r265236.gjb2014-05-072-3/+7
| | | | | | Add LSI and Spectra Logic to sponsor.ent. Sponsored by: The FreeBSD Foundation
* Add attribution for r264601.gjb2014-05-071-1/+2
| | | | Sponsored by: The FreeBSD Foundation
* Add attribution for r258884.gjb2014-05-072-1/+4
| | | | | | Add DARPA, AFRL to sponsor.ent. Sponsored by: The FreeBSD Foundation
* Add sponsorship attribution for r258838 (casperd(8)).gjb2014-05-071-1/+2
| | | | Sponsored by: The FreeBSD Foundation
* Add references to sponsor.ent and vendor.ent ingjb2014-05-072-0/+6
| | | | | | relnotes/article.xml and share/xml/catalog.xml. Sponsored by: The FreeBSD Foundation
* Add two new entity files in followup to r265590,gjb2014-05-072-0/+17
| | | | | | | sponsor.ent and vendor.ent, which will be used for sponsor/vendor names and URLs. Sponsored by: The FreeBSD Foundation
* (dd_out): Fix handling of all-zeroes block at end of input withthomas2014-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
* Add width and precision specifiers to printf(1) %n$.pfg2014-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
* Introduce a new command line switch '-H' for stat(1)thomas2014-05-072-5/+44
| | | | | | | causing arguments to be interpreted as NFS file handles. Reviewed by: -arch (jhb, eadler) MFC after: 1 month
* Modify release.xsl to allow proper attribution forgjb2014-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
* Add casts to have it compile on amd64 without complaining aboutadrian2014-05-071-6/+9
| | | | | | | | mismatched types. Tested: * AR9280, TDMA slave, amd64.
* Generate hardware notes for mrsas(4).brueffer2014-05-071-0/+2
|
* First cleanup pass: new sentence -> new line, mdoc, typos and style.brueffer2014-05-071-49/+78
|
* bsd.compiler.mk was implicitly included by bsd.own.mk in historicalimp2014-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.
* All the NO_foo options processed in src.opts.mk are really bsd.opts.mkimp2014-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.
* - Export the function added in r265456 rather than the non-existentmarkj2014-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
* Add mrsas(4) driver from LSI official support of newer MegaRAID SASambrisko2014-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
* Fix possible divide by zero.ray2014-05-071-10/+18
| | | | | | Spotted by: many Sponsored by: The FreeBSD Foundation
* Add svn revision number to sendmail entry and wrapgjb2014-05-071-2/+2
| | | | | | | line. Fix capitalization of Sendmail. Sponsored by: The FreeBSD Foundation
* Sort entries by svn revision as oldest-newest to matchgjb2014-05-071-71/+71
| | | | | | entry order in other branches. Sponsored by: The FreeBSD Foundation
* Move r265348 to 'net-if' section.gjb2014-05-071-3/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r265348, Atheros AR1111 support.gjb2014-05-071-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r265236, addition of mpr(4).gjb2014-05-071-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* It is safe to allow shrinking, when aligned size is bigger than current.ae2014-05-073-4/+4
| | | | | Tested by: jmg MFC after: 1 week
* - Sprinkle const and static as appropriate.marius2014-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
* msync(2) must return ENOMEM and not EINVAL when the address is outside thepho2014-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
* There's no need to be this paranoid - ni is deferenced before thisadrian2014-05-071-1/+1
| | | | | | point. Coverity ID: CID 1211937
* Hold the SIM lock when calling xpt_create_path() and xpt_action() inken2014-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
* Remove some debugging code.ken2014-05-071-2/+0
| | | | | Submitted by: Steve McConnell <stephen.mcconnell@avagotech.com> MFC after: 3 days
* Merge -fstandalone-debug from Clang r198655:emaste2014-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.
* Bump the default C-state to Cmax, rather than the kernel defaultadrian2014-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.
* Change the device name for mpr(4) from /dev/mpr_N to /dev/mprN.ken2014-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
* dd(1) uses gettimeofday(2) to compute the throughput statistics. However,asomers2014-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
* Add mkimg_write() which combines lseek(2) and write(2) and usesmarcel2014-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.
* Add missing svn:keywords property.marcel2014-05-060-0/+0
|
* Don't reply monlist request when it's not enabled.delphij2014-05-061-2/+0
| | | | | No objection from: roberto (but all bugs are mine) MFC after: 2 weeks
* Sort .ALLSRC before concatenating files together. This makes sure that thedelphij2014-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
OpenPOWER on IntegriCloud