aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-22200-6/+12652
| | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* Style(9) improvements: remove unnecessary parenthesis, improve orderGuy Helmer2012-06-011-50/+52
| | | | | | | | | | of local variable declarations, remove bogus casts, and resolve long lines. Reviewed by: bde Notes: svn path=/head/; revision=236402
* Add characters mapping for codepages used in Germany.Eitan Adler2012-06-011-0/+76
| | | | | | | | | | | | | (not verified by me to be accurate) PR: bin/163847 Submitted by: Gabor Fischer <Gabor.Fischer@gmx.net> Reviewed by: bp Approved by: cperciva MFC after: 3 weeks Notes: svn path=/head/; revision=236376
* Only set _w to 0 when the file stream is not currently reading. WithoutEitan Adler2012-05-301-1/+1
| | | | | | | | | | | | | this fflush may fail to write data in the buffer. PR: kern/137819 Submitted by: Eric Blake <ebb9@byu.net> Reviewed by: theraven Approved by: cperciva MFC after: 2 weeks Notes: svn path=/head/; revision=236288
* Upgrade to BIND version 9.8.3, the latest from ISC.Doug Barton2012-05-283-0/+56
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Feature Change * BIND now recognizes the TLSA resource record type, created to support IETF DANE (DNS-based Authentication of Named Entities) Bug Fix * The locking strategy around the handling of iterative queries has been tuned to reduce unnecessary contention in a multi- threaded environment. Other critical bug fixes are included. All BIND users are encouraged to upgrade. Notes: svn path=/head/; revision=236196
| * Vendor import of BIND 9.8.3vendor/bind9/9.8.3Doug Barton2012-05-2820-214/+629
| | | | | | | | | | Notes: svn path=/vendor/bind9/dist/; revision=236171 svn path=/vendor/bind9/9.8.3/; revision=236172; tag=vendor/bind9/9.8.3
* | libfetch: Avoid SIGPIPE on network connections.Jilles Tjoelker2012-05-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid unexpected process termination from SIGPIPE when writing to a closed network connection, enable SO_NOSIGPIPE on all network connections. The POSIX standard MSG_NOSIGNAL is not used since it requires modifying all send calls to add this flag. This is particularly nasty for SSL connections. Reviewed by: des Tested by: bapt MFC after: 5 days Notes: svn path=/head/; revision=236193
* | - Include forgotten bsd.own.mk and fix conditionGabor Kovesdan2012-05-281-1/+3
| | | | | | | | | | | | | | Reported by: Jan Beich <jbeich@tormail.org> Notes: svn path=/head/; revision=236185
* | Allow inclusion of libc++ <cmath> to work after including math.hDavid Chisnall2012-05-271-43/+36
| | | | | | | | | | | | | | | | | | Submitted by: Yamaya Takashi Reviewed by: das MFC after: 1 week Notes: svn path=/head/; revision=236148
* | Return EBUSY for PTHREAD_MUTEX_ADAPTIVE_NP too when the mutex could notDavid Xu2012-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | be acquired. PR: 168317 MFC after: 3 days Notes: svn path=/head/; revision=236135
* | Update to OpenPAM Micrampelis.Dag-Erling Smørgrav2012-05-261-2/+15
|\ \ | | | | | | | | | Notes: svn path=/head/; revision=236109
| * | Vendor import of OpenPAM Micrampelis.Dag-Erling Smørgrav2012-05-2629-465/+1357
| | | | | | | | | | | | Notes: svn path=/vendor/openpam/dist/; revision=236099
| * | Merge upstream r509: don't log an error in the common case (ENOENT).Dag-Erling Smørgrav2011-12-221-3/+5
| | | | | | | | | | | | Notes: svn path=/vendor/openpam/dist/; revision=228809
* | | Passing NULL as a key casues a segfault when loading SSH 1 keys. UseDag-Erling Smørgrav2012-05-261-1/+1
| | | | | | | | | | | | | | | | | | | | | an empty string instead. Notes: svn path=/head/; revision=236106
* | | Clarify the SEEK_HOLE description, it repositions the file pointer.Konstantin Belousov2012-05-261-4/+4
| | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=236042
* | | - Add support for BSD iconv when it is build into libcGabor Kovesdan2012-05-252-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: bin/162670 Submitted by: Jan Beich <jbeich@tormail.net> MFC after: 2 weeks Notes: svn path=/head/; revision=236028
* | | Doh... Don't add __eabi to an old version tag (i.e. FBSD_1.0). Add it to theMarcel Moolenaar2012-05-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | current one (= FBSD_1.3). Pointed out by: kib Notes: svn path=/head/; revision=236006
* | | Consitently use "__LP64__".David E. O'Brien2012-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | [there are 33 __LP64__'s in the kernel (minus cddl/ and contrib/), and 11 _LP64's] Notes: svn path=/head/; revision=235939
* | | Allow building for the PowerPC EABI by providing a dummy __eabi()Marcel Moolenaar2012-05-243-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function. The purpose of the __eabi() function is to set up the runtime and is called first thing by main(). The runtime is already set up for us prior to caling main, so there's nothing to do for us in the EABI case. Notes: svn path=/head/; revision=235929
* | | Fixes to man8 groff mandoc style, usage mistakes, or typos.Warren Block2012-05-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 168016 Submitted by: Nobuyuki Koganemaru Approved by: gjb MFC after: 3 days Notes: svn path=/head/; revision=235873
| | |
| \ \
*-. \ \ Upgrade our copy of llvm/clang to 3.1 release. Release notes can beDimitry Andric2012-05-232-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | found at: http://llvm.org/releases/3.1/docs/ReleaseNotes.html MFC after: 3 days Notes: svn path=/head/; revision=235864
| | * | | Vendor import of llvm release_31 r156863 (the actual 3.1 release):vendor/llvm/llvm-release_31-r156863Dimitry Andric2012-05-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://llvm.org/svn/llvm-project/llvm/branches/release_31@156863 Notes: svn path=/vendor/llvm/dist/; revision=235860 svn path=/vendor/llvm/llvm-release_31-r156863/; revision=235861; tag=vendor/llvm/llvm-release_31-r156863
| | * | | Vendor import of llvm release_31 final r156748:vendor/llvm/llvm-release_31-r156748Dimitry Andric2012-05-221-28/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_31/final@156748 Notes: svn path=/vendor/llvm/dist/; revision=235807 svn path=/vendor/llvm/llvm-release_31-r156748/; revision=235808; tag=vendor/llvm/llvm-release_31-r156748
| * | | | Vendor import of clang release_31 r156863 (the actual 3.1 release):vendor/clang/clang-release_31-r156863Dimitry Andric2012-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/branches/release_31@156863 Notes: svn path=/vendor/clang/dist/; revision=235862 svn path=/vendor/clang/clang-release_31-r156863/; revision=235863; tag=vendor/clang/clang-release_31-r156863
| * | | | Vendor import of clang release_31 final r156748:vendor/clang/clang-release_31-r156748Dimitry Andric2012-05-2215-298/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final@156748 Notes: svn path=/vendor/clang/dist/; revision=235809 svn path=/vendor/clang/clang-release_31-r156748/; revision=235810; tag=vendor/clang/clang-release_31-r156748
* | | | | Add two new locale-specific man pages:Isabell Long2012-05-233-1/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - libc/stdio/scanf_l.3 - libc/stdio/printf_l.3 Reviewed by: theraven Approved by: gabor (mentor) MFC after: 5 days Notes: svn path=/head/; revision=235848
* | | | | Update copyright date.Michael Tuexen2012-05-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=235827
* | | | | The fix in r235291 re-broke the "allow.nomount" case. Re-fix itJamie Gritton2012-05-221-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by testing for the right parameter name. Notes: svn path=/head/; revision=235799
* | | | | Add missing header needed by free()Kevin Lo2012-05-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: tinderbox Notes: svn path=/head/; revision=235767
* | | | | Add checks for memory allocation failures in appropriate places, andGuy Helmer2012-05-211-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid creating bad entries in the grp list as a result of memory allocation failures while building new entries. PR: bin/83340 Reviewed by: delphij (prior version of patch) Notes: svn path=/head/; revision=235740
* | | | | Apply style(9) to return and switch/case statements.Guy Helmer2012-05-211-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: delphij (prior version of the patch) Notes: svn path=/head/; revision=235739
* | | | | Disable NLS catalog use in libc if built with WITHOUT_NLS option.Gleb Kurtsou2012-05-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functions affected: strerror, strsignal, gai_strerror. Notes: svn path=/head/; revision=235720
* | | | | Don't link against libssp if MK_SSP is set to no.Marcel Moolenaar2012-05-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this still misses a proper dependency at this time. Notes: svn path=/head/; revision=235653
* | | | | Put my name as copyright owner of lib/libc/gen/dirfd.c added in r235647.Gleb Kurtsou2012-05-191-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: kib@ Notes: svn path=/head/; revision=235649
* | | | | Hide DIR definition by making it an opaque struct typedef.Gleb Kurtsou2012-05-1913-7/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce dirfd() libc exported symbol replacing macro with same name, preserve _dirfd() macro for internal use. Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable name to prevent shadowing global symbol. Sponsored by: Google Summer Of Code 2011 Notes: svn path=/head/; revision=235647
* | | | | Use the LLINDEX macro to access the link-level I/F index. This makesMarcel Moolenaar2012-05-194-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it possible to work with a different type for the sdl_index field -- it only requires a recompile. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=235640
* | | | | Don't depend on getline being on the build machine. That'sMarcel Moolenaar2012-05-192-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not the case for FreeBSD 7.x machines. Notes: svn path=/head/; revision=235638
* | | | | Don't cast inode number or file size down to long or unsigned.Gleb Kurtsou2012-05-182-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since ino_t size is about to change to 64-bits, casts to long would truncate 64-bit numbers on 32-bit archs. Sponsored by: Google Summer of Code 2011 Notes: svn path=/head/; revision=235602
* | | | | Import work done under project/nand (@235533) into head.Grzegorz Bernacki2012-05-177-0/+1371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NAND Flash environment consists of several distinct components: - NAND framework (drivers harness for NAND controllers and NAND chips) - NAND simulator (NANDsim) - NAND file system (NAND FS) - Companion tools and utilities - Documentation (manual pages) This work is still experimental. Please use with caution. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks Notes: svn path=/head/; revision=235537
* | | | | HID Report ID is unsigned value, so clear the rest of bits from possibleAlexander Motin2012-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sign expansion. Notes: svn path=/head/; revision=235510
* | | | | Switch sparc64 to using libcompiler_rt; since r230021 we have a workaroundMarius Strobl2012-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in place allowing it to be used there and since r235388 (see also r235486) we also have usable div/mod optimizations like libgcc has. Notes: svn path=/head/; revision=235487
* | | | | Merge from vendor branch: update libpcap to 1.2.1.Xin LI2012-05-142-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=235426
* | | | | mdoc: avoid unterminated quoted strings.Joel Dahl2012-05-131-5/+5
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=235401
* | | | | Minor mdoc nits.Joel Dahl2012-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=235400
* | | | | Minor mdoc nits.Joel Dahl2012-05-122-4/+4
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=235363
* | | | | Remove tab from kernel configuration option. This is consistent with the restJoel Dahl2012-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of our manual pages. Notes: svn path=/head/; revision=235340
* | | | | General mdoc(7) and typo fixes.Glen Barber2012-05-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235337
* | | | | mdoc: end list context with El.Joel Dahl2012-05-121-0/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=235327
* | | | | The linker isn't consistent in the ordering of dynamic sysctls, so don'tJamie Gritton2012-05-111-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assume that the unnamed final component of "security.jail.param.foo." is one less than the "foo" component. It might be one greater instead. Notes: svn path=/head/; revision=235291
* | | | | General mdoc(7) and typo fixes.Glen Barber2012-05-1128-55/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235286