summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add support for specifying an initial buffer size when fetching ajmg2015-02-132-10/+28
| | | | | | | sysctl... This is useful for kern.arandom which (without -B) will happily return 0 bytes, which isn't too useful or random... fix spelling (thanks igor!) of settable while I'm here...
* Call wait to ensure that background processes have diedngie2015-02-131-0/+2
| | | | This is being done to establish parity with pgrep-j_test
* Revert 278634: This broke the build due to the compiler being too clever.pfg2015-02-131-2/+2
| | | | Will be back, with proper compiler workarounds.
* Use PRECIOUSPROG instead of custom code to handle schgbapt2015-02-122-23/+2
| | | | | | This allows to preserve schg when installed with -DNO_ROOT MFC after: 1 week
* Silence a warning.gnn2015-02-121-1/+1
|
* Revise default limit for maximum of netgraph data items.glebius2015-02-121-1/+1
| | | | | With modern internet speeds the limit can be reached even on a single L2TP link.
* Parameterize out the amount of sleep done in each testngie2015-02-121-9/+12
| | | | | | Set the value in each test to a different amount to avoid potential side-effects with other instances of the test (or lingering processes) still being present on the system
* ulimit(3): Fix broken check.pfg2015-02-121-2/+2
| | | | | | | | | | | | | | The existing implementation had a broken comparison that could overflow. Replace this with a check that avoids the overflow before it happens. Consistently return a maximum value also on the case of negative arguments since negative is considered an overflow and means infinity for our current setrlimit(). Discussed with: bde (rather extensively) CID: 1199295 MFC after: 1 week
* Refactor the testsngie2015-02-121-59/+48
| | | | | | | | 1. `id -u` -> 0 is now only checked once; the entire test script is now skipped if this assertion is violated 2. De-dent whitespace, based on 1. 3. Only setup the symlink for $sleep once at the top of the script, and tear it down once at the bottom of the script
* Update libthr(3) man page to reflect the work done to support dlopen.kib2015-02-121-31/+11
| | | | | | Noted and reviewed by: bdrewery Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Make XCOPY and WUT commands respect physical block size/offset.mav2015-02-124-24/+78
| | | | | | | This change by 2-3 times improves performance of misaligned XCOPY and WUT commands by avoiding unneeded read-modify-write cycles inside ZFS. MFC after: 1 week
* This fixes a bug I in-advertantly inserted when I updated the calloutrrs2015-02-121-15/+21
| | | | | | | | | | | | | | | | code in my last commit. The cc_exec_next is used to track the next when a direct call is being made from callout. It is *never* used in the in-direct method. When macro-izing I made it so that it would separate out direct/vs/non-direct. This is incorrect and can cause panics as Peter Holm has found for me (Thanks so much Peter for all your help in this). What this change does is restore that behavior but also get rid of the cc_next from the array and instead make it be part of the base callout structure. This way no one else will get confused since we will never use it for non-direct. Reviewed by: Peter Holm and more importantly tested by him ;-) MFC after: 3 days. Sponsored by: Netflix Inc.
* Remove unused code.trasz2015-02-124-42/+0
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix man page to match real option names.mav2015-02-121-4/+4
| | | | MFC after: 3 days
* Make WRITE SAME commands respect physical block size.mav2015-02-121-2/+12
| | | | | | | This change by 2-3 times improves performance of misaligned WRITE SAME commands by avoiding unneeded read-modify-write cycles inside ZFS. MFC after: 1 week
* Add debugging output to help track down the recent Jenkins failuresngie2015-02-121-3/+3
|
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;cperciva2015-02-1231-62/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | update paths; and include everything in the "base" distribution. The "games" distribution being optional made sense when there were more games and we had small disks; but the "games-like" games were moved into the ports tree a dozen years ago and the remaining "utility-like" games occupy less than 0.001% of my laptop's small hard drive. Meanwhile every new user is confronted by the question "do you want games installed" when they they try to install FreeBSD. The next steps will be: 2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor, morse, number, primes, and random, since there is evidence that those are still being used. 3. Merging src/games into src/usr.bin. This change will not be MFCed. Reviewed by: jmg Discussed at: EuroBSDCon Approved by: gjb (release-affecting changes)
* - Perform bus_dmamap_sync on pagelist structuregonzo2015-02-121-6/+22
| | | | - Wire pages of bulk transfer buffer when preparing pagelist
* libdwarf: Handle .rel relocationsemaste2015-02-125-33/+50
| | | | | | | | | | | | | Some architectures use .rel relocations (for debug data), so they must be handled. This was discovered from ctfconvert on ARM object files. The lack of relocation handling caused all string lookups to return the string at offset 0 in .debug_str, typically "FreeBSD clang version ..." Reviewed by: gnn, imp, rpaulo (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1819
* Reduce number of lines to set ORGANIZATION_NAME ingjb2015-02-121-6/+1
| | | | | | | | | | freebsd-organization.h. Patched by: ian PR: 197540 MFC after: 3 days X-MFC-with: r278603 Sponsored by: The FreeBSD Foundation
* Registers definitions for the new capabilities from the version 2.4 ofkib2015-02-112-4/+67
| | | | | | | | | | | VT-d specification. Also add definitions for the interrupt remapping table and IEC. Print new capabilities on boot. although there is no hardware which support it. Sponsored by: The FreeBSD Foundation MFC after: 1 week
* vm_page_lookup() accepts read-locked object.kib2015-02-111-4/+2
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Ensure ORGANIZATION_NAME is quoted when ORGANIZATIONgjb2015-02-111-1/+6
| | | | | | | | | | could contain strings of two or more words. Reviewed by: peter Reported by: karl@denninger.net PR: 197540 MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Correct and clarify comment for __SMBF.bdrewery2015-02-111-1/+1
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Do not dereference NULL clearing UA that was not set in r277917.mav2015-02-111-1/+2
| | | | MFC after: 3 days
* Add missing asprintf() status checks.mav2015-02-111-2/+8
| | | | MFC after: 2 weeks
* libdwarf: Add symbol value when processing .rela relocationsemaste2015-02-111-2/+6
| | | | | | Reviewed by: kib, rpaulo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1826
* Remove check against NULL after M_WAITOK.rpaulo2015-02-111-2/+0
| | | | Submitted by: Oliver Pinter
* Close the file list before opening the container that holds themarcel2015-02-111-1/+3
| | | | | | | | totals, otherwise we end up emitting invalid JSON -- provided libxo does not prevent us from doing that. PR: 197499 Submitted by: allanjude@
* flowctl: Replace alloca() with an array.pfg2015-02-111-3/+1
| | | | Reviewed by: glebius
* Clean up machine dependent code for DTrace on ARM.gnn2015-02-111-1142/+31
| | | | Submitted by: markj
* Fix ldscripts such that ld(1) collects the .fini_array section in the sametijl2015-02-111-1/+1
| | | | | | | | | | order as the .init_array section. Finalisation routines need to be called in the opposite order as their corresponding initialisation routines but rtld(1) handles that by calling the function pointers in .fini_array in reverse order. Reviewed by: kib MFC after: 2 weeks
* Fix formatting.trasz2015-02-111-3/+3
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Add support for General Statistics and Performance log page.mav2015-02-114-0/+130
| | | | | | CTL already collects most of statistics reported there, so why not. MFC after: 2 weeks
* MFi386:jhb2015-02-111-0/+1
| | | | | | | | | | | | When building some of the boot loaders with clang, and DEBUG_FLAGS or CFLAGS having '-g' in it, clang outputs several assembly directives that are too new for our version of binutils. Therefore, assemble the resulting .s files with clang instead. A more general solution can be implemented when a GNU as-compatible driver for clang's integrated assembler appears. Tested by: gjb
* libdwarf: Add aarch64 relocation supportemaste2015-02-112-0/+9
| | | | | | Reviewed by: andrew, rpaulo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1817
* Summary: Update CPU identification call to recent version.gnn2015-02-111-1/+1
|
* Remove the non-EABI code from the DDB stack unwinder, we only support theandrew2015-02-111-139/+0
| | | | ARM EABI now.
* The cpu_id macro was renamed in r278529, catch up with this new name.andrew2015-02-112-2/+2
|
* Remove remnant from texinfobapt2015-02-113-43/+1
|
* Document caveat with specifying WITHOUT_VI at build/install time when buildingngie2015-02-111-0/+10
| | | | older releases of FreeBSD
* add an assert in case the sizeof int ever becomes bigger.. Then we willjmg2015-02-111-0/+1
| | | | | | have issues, at least we'll know where one of them are.. Submitted by: Erich Dollansky
* Add preliminary support for the Ralink RT5390 and RT5392 chipsets.kevlo2015-02-116-565/+969
| | | | Committed over the D-Link DWA-525 rev A2 on amd64 with WPA.
* Restore the data array in coredump(), but use a different style torpaulo2015-02-111-4/+12
| | | | | | calculate the length. Requested by: kib
* fetch has supported https for a while..jmg2015-02-101-1/+1
| | | | | | I would convert the url to https, but we still don't install a CA set by default... we even don't install the CA that authenticates www.FreeBSD.org..
* Add xo_finish() to w.c in case it's invoked as uptimegrembo2015-02-101-1/+3
| | | | | | Reviewed by: marcel Approved by: marcel Differential Revision: https://reviews.freebsd.org/D1821
* Fix compilation with GCC in the PAE case.marius2015-02-102-16/+14
| | | | MFC after: 3 days
* When catopen(3) returns an error, it caches the result of that errorbdrewery2015-02-101-0/+1
| | | | | | | | | | | | from r202992. The refcount on the cache entry is not initialized, so any attempt to clean the cache will skip over this item since it likely has a >0 value. This change is currently a NOP. There is work in progress to support freeing the cache which requires this change to avoid a memory leak. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Initial version of DTrace on ARM32.gnn2015-02-1027-8/+2610
| | | | | Submitted by: Howard Su based on work by Oleksandr Tymoshenko Reviewed by: ian, andrew, rpaulo, markj
* Fix a rendering issue in the nullfs(5) manual page.gjb2015-02-101-3/+2
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud