summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Disable usage of posix_spawn() inside LLVM.ed2010-06-132-2/+2
| | | | | | | | | Even though it's nice to use posix_spawn() instead of manually using fork()/exec(), it's better to disable this. FreeBSD 7 doesn't support this interface. When enabled, we can't build tblgen, which prevents us from building FreeBSD 9 on 7. Tested by: raj
* * Improve compatibility with existing application code by permitting thekaiw2010-06-132-13/+19
| | | | | | | | | | | use of `elf_getbase()` on non-archive members. This change is needed for gcc LTO (-flto) to work properly. * Style fix: paranthesize returned values. * Document the current behaviour of `elf_getbase()`. Tested by: gerald, Steve Kargl (original patch) Obtained from: elftoolchain MFC after: 3 days
* Merge from tbemd:imp2010-06-138-17/+7
| | | | | Convert from using MACHINE_ARCH to MACHINE_CPUARCH. Hoist path statement up into the top Makefile rather than repeating it on every arch Makefile.
* In threaded processes, destroy the mutex atexit_mutex when we'vecperciva2010-06-131-0/+3
| | | | | | | | | | finished using it. This allows the mutex's allocated memory to be freed. This is one sense a rather silly change, since at this point we're less than a microsecond away from calling _exit; but fixing this memory leak is likely to make life easier for anyone trying to track down other memory leaks.
* Introduce __isnanf() as an alias for isnanf(), and make the isnan()das2010-06-123-2/+10
| | | | | | | | | | | macro expand to __isnanf() instead of isnanf() for float arguments. This change is needed because isnanf() isn't declared in strict POSIX or C99 mode. Compatibility note: Apps using isnan(float) that are compiled after this change won't link against an older libm. Reported by: Florian Forster <octo@verplant.org>
* Do the branding right this time.ed2010-06-121-1/+2
| | | | | | | | | I've looked at other places in the source tree where CLANG_VENDOR is used and I suspect it might not be safe to use newlines here. CLANG_VENDOR should just be defined to "FreeBSD ", just like the latest Clang preview in OS X uses "Apple ". Properly use SVN_REVISION to define it to the imported revision of Clang. I do want to have a date in there, so slightly modify the code to support CLANG_VENDOR_SUFFIX.
* Detect bit endianness through machine/endian.h. This fixes xz on big-endiandelphij2010-06-111-0/+7
| | | | | | systems. Tested on: sparc64 (kindly provided by linimon), amd64
* sctp_recvmsg returns the number of bytes received, not sent.brucec2010-06-111-1/+1
| | | | | Approved by: rrs (mentor) MFC after: 1 month
* mdoc: stop abusing -column lists and use .Bl -tag insteaduqs2010-06-111-19/+21
|
* mdoc nitpicking: the title argument shall be uppercaseuqs2010-06-118-8/+8
|
* Disable usage of __DATE__.ed2010-06-101-1/+1
| | | | | This ensures that the Clang binary doesn't change checksums every time it's built.
* Brand our Clang binary.ed2010-06-101-1/+2
| | | | | That way it's easier for the Clang folks to keep track of what we're doing.
* Hook clang into the build on i386/amd64/powerpc.rdivacky2010-06-091-1/+6
| | | | Approved by: ed (mentor)
* Import the build makefiles for clang/LLVM.rdivacky2010-06-09115-0/+1811
| | | | Approved by: ed (mentor)
* mdoc: spell out theta, the Unicode glyph is hard to read for terminal fontsuqs2010-06-091-8/+2
| | | | | It is referred to as "theta" later in the document anyway, so stop being fancy.
* mdoc: remove literal tabs where they don't belonguqs2010-06-0814-23/+23
|
* Fix memory leak on error.fabient2010-06-051-1/+3
| | | | | Found with: Coverity Prevent(tm) MFC after: 1 month
* Don't use pointer to 64 bit value (id_t) to point to 32 bit value (uid_t).trasz2010-06-051-5/+5
| | | | | | Found with: Coverity Prevent CID: 7466, 7467 MFC after: 2 weeks
* Don't forget to free the string in error case.trasz2010-06-031-0/+1
| | | | | Found with: Coverity Prevent CID: 6585
* _posix1e_acl_sort() never returns anything other than 0; change itstrasz2010-06-034-55/+15
| | | | | | | | return type to void and update callers. This simplifies code and fixes one place where the returned value was not actually checked. Found with: Coverity Prevent CID: 4791
* Fix usage of uninitialized variable.trasz2010-06-031-1/+1
| | | | | | Found with: Coverity Prevent CID: 7517 MFC after: 2 weeks
* The 'acl_cnt' field is unsigned; no point in checking if it's >= 0.trasz2010-06-031-2/+1
| | | | | Found with: Coverity Prevent CID: 6192
* The 'acl_cnt' field is unsigned; no point in checking if it's >= 0.trasz2010-06-031-1/+1
| | | | | Found with: Coverity Prevent CID: 6193
* mdoc: spell macros correctly, there's no need for the backslash escapeuqs2010-06-023-7/+7
|
* mdoc cleanupuqs2010-06-022-3/+1
| | | | | | | Garbage collect unused sections, macros and arguments. Fix prologue and remove empty lines. Found by: mdocml
* mdoc: Use mdoc macro for the (R) symboluqs2010-05-271-8/+8
| | | | While here, also drop the unneeded quotes
* mdoc: Garbage collect unused/unneeded macrosuqs2010-05-271-3/+0
|
* Change the current working directory to be inside the jail created bycperciva2010-05-271-1/+8
| | | | | | | | | | | | | | the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05] Correctly sanity-check a buffer length in nfs mount. [10:06] Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-10:04.jail Security: FreeBSD-SA-10:05.opie Security: FreeBSD-SA-10:06.nfsclient
* Improve the documentation for PT_LWPINFO. Note that some features arekib2010-05-241-3/+58
| | | | | | not implemented on MIPS and ARM. MFC after: 1 month
* Coalesce one more broken line.deischen2010-05-241-2/+1
|
* Coalesce a couple of broken lines since they can fit within 80deischen2010-05-241-4/+2
| | | | characters. Little nit found while looking at a bug report.
* These features will first appear in 8.1, soon to be releaseduqs2010-05-241-1/+1
| | | | MFC after: 3 days
* Make acl_get_perm_np(3) work with NFSv4 ACLs.trasz2010-05-232-24/+18
| | | | | Reviewed by: kientzle@ MFC after: 1 week
* With r208341 in place WARNS can be increased.marius2010-05-201-1/+1
|
* Update to a config.h created by a file 5.03 configure script. This causesmarius2010-05-201-38/+57
| | | | | | | | | | file.1 to contain the correct version number and SIZEOF_LONG_LONG to be defined as appropriate, which is crucial for 64-bit big-endian ELF files to be handled correctly on big-endian systems. PR: 146387 Reviewed by: delphij MFC after: 3 days
* mdoc: consistently spell our email addresses <foo@FreeBSD.org>uqs2010-05-1923-23/+23
| | | | Reviewed by: ru
* Retry reads that fail with EINTR. This fixes a problemkientzle2010-05-182-12/+20
| | | | with bsdtar failing on SIGINT.
* Fix build.delphij2010-05-171-1/+1
|
* Reorganize slightly in preparation for making lzma and bz2 support conditional.kientzle2010-05-162-4/+10
|
* - Add versioned symbols to liblzmadelphij2010-05-143-2/+204
| | | | | | | - Use default SHLIB_MAJOR. Approved by: mm X-MFC with: lzma library MFC
* Make branding less intrusive - in acl_set(3), in case ACL brandtrasz2010-05-131-0/+3
| | | | | | is ACL_BRAND_UNKNOWN, do what the programmer says instead of failing. MFC after: 1 week
* Make it possible to actually use NFSv4 permission bits with acl_set_perm(3)trasz2010-05-131-20/+32
| | | | | | | and acl_delete_perm(3). It went undetected, because neither setfacl(1) nor Samba use this routines. D'oh. MFC after: 1 week
* mdoc: move remaining sections into consistent orderuqs2010-05-131-8/+8
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theuqs2010-05-1315-262/+262
| | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru
* Use fixed width integer types for parsing the binary hid data.thompsa2010-05-132-6/+9
| | | | | PR: usb/146367 Submitted by: Hans Petter Selasky
* Fix return values for usb_find_busses() and usb_find_devices(). We should trythompsa2010-05-131-2/+2
| | | | | | | to return the actual number of busses and devices. Reported by: Mike Tancsa Submitted by: Hans Petter Selaksy
* Fix header file compliancy with libusb 1.0 from sourceforge.thompsa2010-05-134-2/+8
| | | | | Reported by: Xiaofan Chen Submitted by: Hans Petter Selasky
* Support getting signed and unsigned HID data.thompsa2010-05-121-6/+10
| | | | | Submitted by: Alex Deiter Reviewed by: Hans Petter Selaksy
* Fix a bug due to a type conversion from 64 to 32 bits. The side effect ofgordon2010-05-121-2/+2
| | | | | | | | | | this type conversion is the high bits which were used to indicate if a special character was a literal or special were dropped. As a result, all special character were treated as special, even if they were supposed to be literals. Reviewed by: gad@ Approved by: mentor (wes@)
* The previous revision actually removed the bug being hinted at, sobrueffer2010-05-121-3/+2
| | | | | | | | go ahead and remove the hint. PR: 143944 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> MFC after: 1 week
OpenPOWER on IntegriCloud