summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Sort MLINKS alphabetically.oshogbo2015-05-011-46/+46
| | | | Approved by: pjd (mentor)
* Unreak DNS usage through libcapsicum, which broke, e.g., ping in r282252bz2015-05-011-1/+1
| | | | | | with what looks like a copy and paste error. Sponsored by: DARPA/AFRL
* Remove the nvlist_.*[fv] functions.oshogbo2015-04-291-82/+0
| | | | | | | | | | | | | | | | Those functions are problematic, because there is no way to report memory allocation problems without complicating the API, so we can either abort or potentially return invalid results. None of which is acceptable. In most cases the caller knows the size of the name, so he can allocate buffer on the stack and use snprintf(3) to prepare the name. After some discussion the conclusion is to removed those functions, which also simplifies the API. Discussed with: pjd, rstone Approved by: pjd (mentor)
* Remove the use of nvlist_.*[fv] functions from tests.oshogbo2015-04-292-48/+24
| | | | Approved by: pjd (mentor)
* Remove the use of nvlist_.*[vf] functions from libcapsicum and replaceoshogbo2015-04-293-20/+59
| | | | | | them with snprintf(3). Assert the results of snprintf(3). Approved by: pjd (mentor)
* The presence/absence of CPU features should be tested withimp2015-04-281-1/+3
| | | | | | | MACHINE_CPUARCH or MACHINE_ARCH, not MACHINE. The latter is for kernel only things. Also, I think this should be unconditional since all our architectures have long double support, but I don't have time to test that thoroughly so just add a comment to that effect.
* Remove per-architecture checks for enabling HAVE_FENV_Hngie2015-04-271-4/+1
| | | | | | | | | | | | | | The conditional came from NetBSD, where only select architectures have this header/support All architectures on FreeBSD have the necessary support though, so the conditional's completely unnecessary make tinderbox done on all architectures (including arm64, where the issue occurred before) this time X-MFC with: r282057, r282092 MFC after: 6 days
* Upgrade libxo to 0.3.2.marcel2015-04-271-0/+2
| | | | | | | | Obtained from: https://github.com/Juniper/libxo/tree/0.3.2 Requested by: Phil Shafer <phil@juniper.net> This import incorporates local change 279966. Local change 276260 has been merged-in.
* Correct the spelling of MACHINE_CPUARCH, MACHINE_CPU is not set on arm64.andrew2015-04-271-1/+1
|
* Disable the tests that use makecontext on arm64, it still needs to beandrew2015-04-272-0/+4
| | | | written.
* Build/install libc, librt, libthr, and msun NetBSD test suites on allngie2015-04-2712-52/+12
| | | | | | architectures MFC after: 1 week
* mdoc: fix function declarationbapt2015-04-261-2/+2
|
* mdoc: remove empty linebapt2015-04-261-1/+0
|
* Remove end of line whitespacebapt2015-04-261-3/+3
|
* mdoc: remove end of line whitespacebapt2015-04-261-1/+1
|
* mdoc: rendering fixesbapt2015-04-262-4/+8
|
* Use mdoc(7) macros to handle parenthesisbapt2015-04-261-1/+1
|
* mdoc: fix functions declarationsbapt2015-04-261-1/+1
|
* Escape "Ed"bapt2015-04-2611-11/+11
|
* Escape "Ed"bapt2015-04-261-1/+1
|
* Do not modify localesbapt2015-04-261-1/+1
|
* libarchive: Allow setting nanosecond timestamps.jilles2015-04-251-0/+7
|
* Assuming a system has /bin/csh on it is a bad idea (especially it beingngie2015-04-251-0/+1
| | | | | | optional on FreeBSD). Look for /bin/cat instead MFC after: 3 days
* Avoid an infinite loop by ensuring that the amount of bytes read is greaterngie2015-04-241-1/+1
| | | | | | | | | | | | | than 0 in MDXFileChunk when calculating the checksum This edgecase can be triggered if the file is truncated while the checksum is being calculated (i.e. the EOF is reached) Differential Revision: https://reviews.freebsd.org/D2351 (patch by darius) PR: 196694 Reviewed by: delphij, ngie Submitted by: Daniel O'Connor <darius@dons.net.au> Sponsored by: EMC / Isilon Storage Division
* __xlocale_C_ctype should not be const. It contains a reference count that ↵theraven2015-04-241-1/+1
| | | | | | is modified by newlocale / duplocale / freelocale. MFC after: 1 week
* Small changes to locale-related man pages.theraven2015-04-245-5/+5
| | | | Fix a missing .h and change the recommended include for the POSIX2008 functions from xlocale.h to locale.h. Including xlocale.h is for legacy / Darwin compatibility so should not be encouraged.
* Reassign copyright statements on several files from Advancedjhb2015-04-237-7/+7
| | | | | | | Computing Technologies LLC to Hudson River Trading LLC. Approved by: Hudson River Trading LLC (who owns ACT LLC) MFC after: 1 week
* Reduce diffs between the three copies of libstand's Makefileemaste2015-04-231-15/+18
| | | | | | | | | | This should be a non-functional change. A future change should address the functional differences between these three and converge on a single source. Differential Revision: https://reviews.freebsd.org/D2058 Reviewed by: jhb Sponsored by: The FreeBSD Foundation
* A complete user message is signalled with the MSG_EOR flag, not the MSG_EOFtuexen2015-04-231-3/+3
| | | | | | | flag. Thanks to Valentin Nechayev for reporting the issue. MFC after: 1 week
* libgeom: plug memory leak in EndElement.pfg2015-04-221-0/+1
| | | | | | CID: 1016696 Found by: Clang static checker MFC after: 1 week
* computematchjumps(): fix allocator sizeof operand mismatch.pfg2015-04-221-2/+2
| | | | | | Mostly cosmetical warning. Found by: Clang static analyzer
* _pthread_cleanup_push: fix allocator sizeof operand mismatchpfg2015-04-221-1/+1
| | | | | | | Same fix appears to be in DragonFly's libthread_xu. Found by: Clang Static Analyzer MFC after: 1 week
* Support file verification in MAC.rodrigc2015-04-221-0/+4
| | | | | | | | | | | | | | * Add VCREAT flag to indicate when a new file is being created * Add VVERIFY to indicate verification is required * Both VCREAT and VVERIFY are only passed on the MAC method vnode_check_open and are removed from the accmode after * Add O_VERIFY flag to rtld open of objects * Add 'v' flag to __sflags to set O_VERIFY flag. Submitted by: Steve Kiernan <stevek@juniper.net> Obtained from: Juniper Networks, Inc. GitHub Pull Request: https://github.com/freebsd/freebsd/pull/27 Relnotes: yes
* Fix improbable memory leak in _citrus_prop_read_str().pfg2015-04-201-1/+3
| | | | Found by: Clang Static Analyzer
* Minor mdoc fixes.joel2015-04-202-2/+1
|
* Remove code to support the top of the stack layout for FreeBSD 1.x/2.xkib2015-04-201-37/+36
| | | | | | | | | kernel, but keep explanation of the old ps_strings structure to make it clear what sanity check tries to accomplish. Noted by: Oliver Pinter <oliver.pinter@hardenedbsd.org> Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
* The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), andkib2015-04-1821-459/+9
| | | | | | | | | | | | | | | | | | | | | | | | pwrite(2) syscalls are wrapped to provide compatibility with pre-7.x kernels which required padding before the off_t parameter. The fcntl(2) contains compatibility code to handle kernels before the struct flock was changed during the 8.x CURRENT development. The shims were reasonable to allow easier revert to the older kernel at that time. Now, two or three major releases later, shims do not serve any purpose. Such old kernels cannot handle current libc, so revert the compatibility code. Make padded syscalls support conditional under the COMPAT6 config option. For COMPAT32, the syscalls were under COMPAT6 already. Remove WITHOUT_SYSCALL_COMPAT build option, which only purpose was to (partially) disable the removed shims. Reviewed by: jhb, imp (previous versions) Discussed with: peter Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Implement hwpmc(4) for Freescale e500 core.jhibbits2015-04-181-2/+22
| | | | | | | | This supports e500v1, e500v2, and e500mc. Tested only on e500v2, but the performance counters are identical across all, with e500mc having some additional events. Relnotes: Yes
* Make wait6(2), waitid(3) and ppoll(2) cancellation points. Thekib2015-04-187-1/+160
| | | | | | | | | waitid() function is required to be cancellable by the standard. The wait6() and ppoll() follow the other syscalls in their groups. Reviewed by: jhb, jilles (previous versions) Sponsored by: The FreeBSD Foundation MFC after: 1 week
* compiler_rt: add floatunsitf for arm64emaste2015-04-161-0/+1
| | | | | | It provides unsigned integer to quad-precision conversion. Sponsored by: The FreeBSD Foundation
* Remove the const qualifier from iconv(3) to comply with POSIX:tijl2015-04-1533-72/+69
| | | | | | | | | | http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html Adjust all code that calls iconv. PR: 199099 Exp-run by: antoine MFC after: 2 weeks
* Remove obsolete bits about maximum number of file systems.pluknet2015-04-121-6/+1
| | | | | | NMOUNT has gone together with static mount table in 4.3BSD-Reno. MFC after: 1 week
* For reasons that I am not understand yet, using the libmd version ofdelphij2015-04-103-5/+12
| | | | | | | | | | | | | | | SHA256 would make libarchive based application to give: archive_read_extract(): Lzma library error: Corrupted input data (Internally this is LZMA_DATA_ERR) However, the libmd version of SHA256 is supposed to give same result as the bundled version do, and xz(1) is not affected. As a precaution, revert the SHA256 portion of r281316 for now until we figure out why it breaks libarchive interoperability as we can't yet rule out this change have introduced an ABI breakage.
* Fix overlinking in bhyve:bapt2015-04-091-0/+2
| | | | libvmmapi is actually needed to be linked to libutil, not bhyve nor bhyveload
* Convert mt(1) and libmt to LIBADDbapt2015-04-091-2/+1
| | | | | | | While here fix missing link to libbsdxml for libmt Fix overlinking in mt(1) Make add an indirect libmt dependency on bsdxml to allow static linking if needed
* MFV r281278:delphij2015-04-093-13/+414
| | | | | | | | | | | | | - Update xz to 5.2.1, where the most visible change is that it fixed a compression-ratio regression in fast mode LZMA1 and LZMA2 and used cpuset_getaffinity() for CPU cores detection. - Make liblzma use the base system SHA256 implementation instead of the bundled one. - Additional annotation in config.h for FreeBSD specific tweaks. - Refresh symbols in XZprivate_1.0 to reflect reality. Relnotes: yes MFC after: 1 month (TBD)
* compiler-rt: include 128-bit quad precision fp support only on arm64emaste2015-04-081-15/+19
| | | | | | | | | Other architectures do not use quad precision long double and don't need these runtime support routines. Differential Revision: https://reviews.freebsd.org/D2252 Reviewed by: dim Sponsored by: The FreeBSD Foundation
* Fix powerpc setjmp FPR saving/restoring.jhibbits2015-04-083-108/+108
| | | | X-MFC-With: r279784
* compiler-rt: add floatditf and floatunditfemaste2015-04-071-0/+2
| | | | | | | | | | These are long integer (di_int/du_int) to quad precision floating point conversions. They may be reworked based on upstream discussion. These versions are here to support arm64 world builds. Reviewed by: ed Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2174
* compiler-rt: Implement multc3 - quad-precision complex multiplicationemaste2015-04-071-0/+1
| | | | | | | | | This may be reworked based on upstream discussion. This version is here to support arm64 world builds. Reviewed by: ed Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2173
OpenPOWER on IntegriCloud