summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Switch the default OpenMP runtime for clang to libomp (from the LLVMdim2015-10-182-2/+2
| | | | | project), as libgomp is not supported anyway. You can use the devel/llvm-devel port to install a recent copy of the OpenMP runtime.
* Make libxo depend on libutil because it uses humanize_number after r287111ngie2015-10-183-4/+4
| | | | | | | | Remove overlinking in lib/libxo/tests, sbin/savecore, and usr.bin/{iscsictl,wc,xo} PR: 203673 Sponsored by: EMC / Isilon Storage Division
* Document bitset(9)cem2015-10-171-2/+3
|
* Conditionalize the META_MODE tool handling on MK_META_MODE.bdrewery2015-10-171-0/+2
| | | | | | | It was not being used outside of META_MODE but this should make it more clear that it is only for META_MODE. Sponsored by: EMC / Isilon Storage Division
* Set dev->fd to -1 when calling cam_close_spec_device with a valid dev->fdngie2015-10-171-1/+3
| | | | | | | | | | descriptor to avoid trashing valid file descriptors that access dev->fd at a later point in time PR: 192671 Submitted by: Scott Ferris <scott.ferris@isilon.com> MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Use fopen()'s newfangled "e" flag instead of explicit fcntl() calls.des2015-10-161-5/+3
| | | | | | PR: 199801 Submitted by: Jukka Ukkonen <jau@iki.fi> MFC after: 1 week
* Fix two bugs in HTTPS tunnelling:des2015-10-161-4/+32
| | | | | | | | | | - If the proxy returns a non-200 result, set the error code accordingly so the caller / user gets a somewhat meaningful error message. - Consume and discard any HTTP response header following the result line. PR: 194483 Tested by: Fabian Keil <fk@fabiankeil.de> MFC after: 1 week
* Add more SUBDIR_PARALLEL.bdrewery2015-10-151-0/+1
| | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* libstdc++ also snook in incorrectly in r267511, despite not being a realbdrewery2015-10-151-1/+0
| | | | | | subdir. Sponsored by: EMC / Isilon Storage Division
* Remove unneeded libg++ reference that came in with r267511 based on a removedbdrewery2015-10-151-1/+0
| | | | | | comment. Sponsored by: EMC / Isilon Storage Division
* Fix another ++= parsed as '+=', missed in r289384.bdrewery2015-10-151-1/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* Let the SUBDIR_DEPEND*c++ variables actually work rather than being parsedbdrewery2015-10-151-2/+2
| | | | | | as a +=. These were safe due to a .WAIT very early on. Sponsored by: EMC / Isilon Storage Division
* For the Cortex-A8 use the a8 and not the a9 events table.bz2015-10-141-1/+1
| | | | | | MFC after: 2 weeks Sponsored by: DARPA/AFRL Differential Revision: https://reviews.freebsd.org/D3882
* resolver: automatically reload /etc/resolv.confvangyzen2015-10-142-2/+51
| | | | | | | | | | | | | | | | | | | | | | | | On each resolver query, use stat(2) to see if the modification time of /etc/resolv.conf has changed. If so, reload the file and reinitialize the resolver library. However, only call stat(2) if at least two seconds have passed since the last call to stat(2), since calling it on every query could kill performance. This new behavior is enabled by default. Add a "reload-period" option to disable it or change the period of the test. Document this behavior and option in resolv.conf(5). Polish the man page just enough to appease igor. https://lists.freebsd.org/pipermail/freebsd-arch/2015-October/017342.html Reviewed by: kp, wblock Discussed with: jilles, imp, alfred MFC after: 1 month Relnotes: yes Sponsored by: Dell Inc. Differential Revision: https://reviews.freebsd.org/D3867
* Integrate the tests from lib/libarchive, usr.bin/cpio, and usr.bin/tar in tongie2015-10-124-262/+508
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the FreeBSD test suite functional_test.sh was ported from bin/sh/tests/functional_test.sh, as a small wrapper around libarchive_test, bsdcpio_test, and bsdtar_test provided by upstream. A handful of testcases in lib/libarchive/tests have been disabled as they were failing when run with kyua test (see BROKEN_TESTS in lib/libarchive/tests/Makefile) As a sidenote: this removes the check/test targets from the Makefiles as they don't match the pattern used in the rest of the FreeBSD test suite. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Redo MFC @ r289134ngie2015-10-111-4/+7
| |
| * Revert r289133; retry the mergengie2015-10-113-7/+511
| |
| * MFhead @ r289132ngie2015-10-113-511/+7
| |
| * MFhead @ r289100ngie2015-10-107-10/+37
| |\
| * | Integrate the testcases into the FreeBSD test suitengie2015-10-072-27/+278
| | | | | | | | | | | | | | | There are a handful of broken testcases that need to be investigated (see BROKEN_TESTS for more details)
| * | Forced commit to note that I was playing around with libarchivengie2015-10-061-1/+1
| | | | | | | | | | | | test integration that accidentally got committed with r288955
| * | MFhead @ r288954ngie2015-10-066-11/+17
| | |
| * | MFhead @ r288943ngie2015-10-0685-243/+668
| |\ \ | | | | | | | | | | | | clang 3.7.0 upgrade
| * | | ------------------------------------------------------------------------ngie2015-10-0644-100/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r288932 | ngie | 2015-10-06 10:15:07 -0700 (Tue, 06 Oct 2015) | 9 lines Refactor the test/ Makefiles per recent changes to bsd.test.mk and netbsd-tests.test.mk - Eliminate explicit SRCTOP setting - Eliminate explicit OBJ - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity ------------------------------------------------------------------------
* | | | Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-1244-100/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* | | | Change the default setting of kern.ipc.shm_allow_removed from 0 to 1.trasz2015-10-101-4/+7
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need for manually changing this flag for Google Chrome users. It also improves compatibility with Linux applications running under Linuxulator compatibility layer, and possibly also helps in porting software from Linux. Generally speaking, the flag allows applications to create the shared memory segment, attach it, remove it, and then continue to use it and to reattach it later. This means that the kernel will automatically "clean up" after the application exits. It could be argued that it's against POSIX. However, SUSv3 says this about IPC_RMID: "Remove the shared memory identifier specified by shmid from the system and destroy the shared memory segment and shmid_ds data structure associated with it." From my reading, we break it in any case by deferring removal of the segment until it's detached; we won't break it any more by also deferring removal of the identifier. This is the behaviour exhibited by Linux since... probably always, and also by OpenBSD since the following commit: revision 1.54 date: 2011/10/27 07:56:28; author: robert; state: Exp; lines: +3 -8; Allow segments to be used even after they were marked for deletion with the IPC_RMID flag. This is permitted as an extension beyond the standards and this is similar to what other operating systems like linux do. MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3603
* | | If we can't open the file, skip devclose() for the exclusive_file_systemmarcel2015-10-081-1/+1
| | | | | | | | | | | | case. We never called devopen(), so we know there's nothing to close.
* | | Move SHLIBDIR?=/lib before <src.opts.mk> so that it works again.peter2015-10-081-2/+2
| | |
* | | Use -fpermissive if compiling with GCC.rodrigc2015-10-081-0/+3
| | | | | | | | | | | | | | | | | | Works around GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67888 when compiling Module.cpp
* | | Use proper function prototypes.rodrigc2015-10-072-4/+4
| | | | | | | | | | | | Eliminates -Wstrict-prototypes warning
* | | Document the recently added pl_syscall_* fields in struct ptrace_lwpinfo.jhb2015-10-071-1/+24
| | | | | | | | | | | | | | | Reviewed by: emaste, kib Differential Revision: https://reviews.freebsd.org/D3833
* | | truss: Add support for utrace(2).bdrewery2015-10-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses the kdump(1) utrace support code directly until a common library is created. This allows malloc(3) tracing with MALLOC_CONF=utrace:true and rtld tracing with LD_UTRACE=1. Unknown utrace(2) data is just printed as hex. PR: 43819 [inspired by] Reviewed by: jhb MFC after: 2 weeks Relnotes: yes Differential Revision: https://reviews.freebsd.org/D3819
* | | Stop linking libc++.so verbosely, there is no need to.dim2015-10-061-1/+0
| | | | | | | | | | | | MFC after: 3 days
* | | For llvm/clang libraries, skip including tablegen-produced .d files whendim2015-10-061-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | the target is "make depend". This works around errors during incremental make depend of some clang libraries, for example "don't know how to make contrib/llvm/include/llvm/IR/IntrinsicsR600.td". Reported by: emaste
* | | Fix core corruption caused by race in note_procstat_vmmapcem2015-10-062-0/+8
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is spiritually similar to r287442 and was discovered thanks to the KASSERT added in that revision. NT_PROCSTAT_VMMAP output length, when packing kinfo structs, is tied to the length of filenames corresponding to vnodes in the process' vm map via vn_fullpath. As vnodes may move during coredump, this is racy. We do not remove the race, only prevent it from causing coredump corruption. - Add a sysctl, kern.coredump_pack_vmmapinfo, to allow users to disable kinfo packing for PROCSTAT_VMMAP notes. This avoids VMMAP corruption and truncation, even if names change, at the cost of up to PATH_MAX bytes per mapped object. The new sysctl is documented in core.5. - Fix note_procstat_vmmap to self-limit in the second pass. This addresses corruption, at the cost of sometimes producing a truncated result. - Fix PROCSTAT_VMMAP consumers libutil (and libprocstat, via copy-paste) to grok the new zero padding. Reported by: pho (https://people.freebsd.org/~pho/stress/log/datamove4-2.txt) Relnotes: yes Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D3824
* | Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.7.0dim2015-10-0685-243/+668
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | release. Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information. Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html> Thanks to Ed Maste, Andrew Turner and Antoine Brodin for their help. Exp-run: antoine Relnotes: yes
| * Merge ^/head r288836 through r288925.dim2015-10-061-3/+3
| |\
| * | Merge ^/head r288831 through r288835.dim2015-10-051-7/+6
| | |
| * | Merge ^/head r288457 through r288830.dim2015-10-055-16/+20
| |\ \
| * | | Add std::uncaught_exceptions() to libcxxrt (C++17, see N4152 and N4259).dim2015-10-051-0/+6
| | | | | | | | | | | | | | | | This has also been submitted upstream.
| * | | Merge ^/head r288197 through r288456.dim2015-10-0191-235/+266
| |\ \ \
| * \ \ \ Merge ^/head r288126 through r288196.dim2015-09-242-5/+5
| |\ \ \ \
| * | | | | Revert r286421, now that the fix for LLVM PR24343 is in.dim2015-09-241-7/+1
| | | | | |
| * | | | | Merge ^/head r288100 through r288125.dim2015-09-2239-430/+244
| | | | | |
| * | | | | Merge ^/head r288035 through r288099.dim2015-09-2239-343/+179
| |\ \ \ \ \
| * | | | | | Don't install Intrin.h, as this is an intrinsics header for Windows.dim2015-09-201-2/+1
| | | | | | |
| * | | | | | Merge ^/head r287878 through r288034.dim2015-09-20110-394/+466
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge ^/head r287680 through r287877.dim2015-09-1613-123/+46
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Update libc++ to 3.7.0 release.dim2015-09-161-1/+6
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Import libc++ 3.7.0 release (r246257).dim2015-09-068-0/+978
| | / / / / / / /
OpenPOWER on IntegriCloud