summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Upgrade our copy of llvm/clang to r132879, from upstream's trunk.dim2011-06-126-5/+7
|\
| * Vendor import of llvm trunk r132879:dim2011-06-12343-13440/+18938
| | | | | | | | http://llvm.org/svn/llvm-project/llvm/trunk@132879
* | Obtain bswap64() function implementation fromrodrigc2011-06-101-10/+26
| | | | | | | | | | | | version 1.3 of src/common/lib/libc/gen/bswap64.c in NetBSD. Obtained from: NetBSD
* | MFCattilio2011-06-061-1/+0
|\ \
| * | Remove redundant assignments to WARNS.ed2011-06-061-1/+0
| | | | | | | | | | | | For these directories, WARNS is already implied to be 6.
* | | MFCattilio2011-06-041-0/+5
|\ \ \ | |/ /
| * | Upgrade libcompiler_rt from revision 117047 to 132478.ed2011-06-031-0/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems there have only been a small amount to the compiler-rt source code in the mean time. I'd rather have the code in sync as much as possible by the time we release 9.0. Changes: - The libcompiler_rt library is now dual licensed under both the University of Illinois "BSD-Like" license and the MIT license. - Our local modifications for using .hidden instead of .private_extern have been upstreamed, meaning our changes to lib/assembly.h can now be reverted. - A possible endless recursion in __modsi3() has been fixed. - Support for ARM EABI has been added, but it has no effect on FreeBSD (yet). - The functions __udivmodsi4 and __divmodsi4 have been added. Requested by: many, including bf@ and Pedro Giffuni
| | * | Import compiler-rt r132478.ed2011-06-0274-149/+855
| | | |
| | * | Import compiler-rt r127823.ed2011-03-17189-373/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - License change; now it's also dual licensed under the MIT licence. - Addition of divmodsi4 and udivmodsi4.
* | | | MFCattilio2011-06-021-3/+3
|\ \ \ \ | |/ / /
| * | | mdoc: reorder sections consistentlyuqs2011-06-021-3/+3
| | | |
* | | | Revert r222363, as bde@ pointed out the initial solution was far moreattilio2011-05-312-2/+2
| | | | | | | | | | | | | | | | correct.
* | | | MFCattilio2011-05-316-16/+4
|\ \ \ \ | |/ / /
| * | | posix_spawn(): Do not fail when trying to close an fd that is not open.jilles2011-05-301-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted in Austin Group issue #370 (an interpretation has been issued), failing posix_spawn() because an fd specified with posix_spawn_file_actions_addclose() is not open is unnecessarily harsh, and there are existing implementations that do not fail posix_spawn() for this reason. Reviewed by: ed MFC after: 10 days
| * | | Clean up the unneeded cpp macro INLINE_REM_PIO2L.kargl2011-05-305-11/+2
| | | | | | | | | | | | | | | | | | | | Reviewed by: das Approved by: das (mentor)
* | | | MFCattilio2011-05-271-9/+12
|\ \ \ \ | |/ / /
| * | | - Move some internal functions to the private namespacegabor2011-05-271-9/+12
| | | | | | | | | | | | | | | | | | | | Submitted by: kan Approved by: delphij (mentor)
* | | | Style fix: cast to size_t rather than u_long when comparing to sizeof()attilio2011-05-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | rets. Requested by: kib
* | | | In the near future cpuset_t objects in struct pcpu will be axed out, butattilio2011-05-271-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as long as this does not happen, we need to fix interfaces to userland in order to not break run-time accesses to the structure. Reviwed by: kib Tested by: pluknet
* | | | MFCattilio2011-05-261-1/+1
|\ \ \ \ | |/ / /
| * | | [mdoc] Fixed .Dt call.ru2011-05-251-1/+1
| | | |
* | | | MFCattilio2011-05-221-1/+1
|\ \ \ \ | |/ / /
| * | | On amd64, change clang's default triple to 'x86_64-unknown-freebsd9.0',dim2011-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | similar to what we do for binutils. When clang's default triple starts with 'amd64-', it does not pass a proper -target-cpu option to its first stage. This can lead to problems, for example when structs are memcpy'd, and clang erroneously assumes they are 16-byte aligned. It will then use the 'movaps' SSE instruction to implement the copy, which results in a bus error if the struct is really 8-byte aligned. I encountered this issue when gcc's /usr/libexec/cc1 started crashing with SIGBUS, after rebuilding world with clang ToT, but it also affects the version of clang that we have in the tree. We were just lucky until now, apparently. :)
| * | | Release allocated memory in procstat_close().pluknet2011-05-181-0/+1
| | | | | | | | | | | | | | | | Reviewed by: stass
* | | | MFCattilio2011-05-181-0/+1
| | | |
* | | | MFCattilio2011-05-1719-3290/+38
|\ \ \ \ | |/ / /
| * | | mq_setattr(2): Add missing const to man page.jilles2011-05-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The declaration in the header file is correct. MFC after: 1 week
| * | | Ok, so we use different comment conventions in Symbol.map and Version.defphk2011-05-171-3/+1
| | | | | | | | | | | | | | | | "#notimpressed" as my twittering friends would say.
| * | | Backout libinstall.a -> libpkg commit.flz2011-05-1715-3285/+0
| | | | | | | | | | | | | | | | Discussed with: erwin, brooks, bapt
| * | | Bump shlib versionphk2011-05-173-3/+38
| | | | | | | | | | | | | | | | | | | | Instigate symbol versioning Pray that I don't break the build.
* | | | MFCattilio2011-05-154-1/+25
|\ \ \ \ | |/ / /
| * | | - Whitespace fix.stas2011-05-151-1/+1
| | | |
| * | | - Add symbol versioning to libprocstat.stas2011-05-143-0/+24
| | | | | | | | | | | | | | | | Suggested by: kib
| * | | Disconnect sun4v architecture from the three.attilio2011-05-145-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some files keep the SUN4V tags as a code reference, for the future, if any rewamped sun4v support wants to be added again. Reviewed by: marius Tested by: sbruno Approved by: re
| * | | Update sticky(7) cross references.pluknet2011-05-132-4/+4
| | | | | | | | | | | | | | | | | | | | PR: docs/124468 X-MFC with: r218998
| * | | Mark all socket and file descriptors close-on-exec.des2011-05-132-0/+4
| | | | | | | | | | | | | | | | | | | | PR: bin/151866 MFC after: 3 weeks
| * | | - Don't try to build NWFS support module if NCP/IPX is disabled in the build.stas2011-05-122-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename ZFS definition to LIBPROCSTAT_ZFS to be consistent with NWFS and to prevent possible collisions. Reported by: many
| * | | Builds cleanly at the default WARNS level (WARNS=6).des2011-05-121-1/+0
| | | |
| * | | Increase WARNS to 4.des2011-05-123-3/+3
| | | |
| * | | Mechanical whitespace cleanup.des2011-05-121-100/+100
| | | |
| * | | Increase WARNS to 3.des2011-05-122-2/+2
| | | |
* | | | MFCattilio2011-05-145-19/+0
| | | |
* | | | MFCattilio2011-05-132-4/+4
| | | |
* | | | MFCattilio2011-05-137-107/+116
| | | |
* | | | MFCattilio2011-05-1221-2/+2853
|\ \ \ \ | |/ / /
| * | | - Commit work from libprocstat project. These patches add support for runtimestas2011-05-1221-2/+2853
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file and processes information retrieval from the running kernel via sysctl in the form of new library, libprocstat. The library also supports KVM backend for analyzing memory crash dumps. Both procstat(1) and fstat(1) utilities have been modified to take advantage of the library (as the bonus point the fstat(1) utility no longer need superuser privileges to operate), and the procstat(1) utility is now able to display information from memory dumps as well. The newly introduced fuser(1) utility also uses this library and able to operate via sysctl and kvm backends. The library is by no means complete (e.g. KVM backend is missing vnode name resolution routines, and there're no manpages for the library itself) so I plan to improve it further. I'm commiting it so it will get wider exposure and review. We won't be able to MFC this work as it relies on changes in HEAD, which was introduced some time ago, that break kernel ABI. OTOH we may be able to merge the library with KVM backend if we really need it there. Discussed with: rwatson
* | | | Sync with -CURRENTattilio2011-05-101-1/+1
| | | |
* | | | Fix a mismerge.attilio2011-05-081-0/+1
| | | |
* | | | Revert MAXCPU introduction. In userland it is always 1.attilio2011-05-085-10/+20
| | | | | | | | | | | | | | | | Noted by: marcel
* | | | MFCattilio2011-05-079-6/+287
|\ \ \ \ | |/ / /
OpenPOWER on IntegriCloud