summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Convert libraries to use LIBADDbapt2014-11-2555-138/+66
| | | | While here reduce a bit overlinking
* The fallback flag in nsdispatch prevents the fallback implementation ofdes2014-11-251-9/+16
| | | | | | | | | | | | | | getgroupmembership() from invoking the correct backend in the compat case. Replace it with a nesting depth counter so it only blocks one level (the first is the group -> group_compat translation, the second is the actual backend). This is one of two bugs that break getgrouplist() in the compat case, the second being that the backend's own getgroupmembership() method is ignored. Unfortunately, that is not easily fixable without a redesign of our nss implementation (which is also needed to implement the +@group syntax in /etc/passwd). PR: 190055 MFC after: 1 week
* Revert r274772: it is not valid on MIPSemaste2014-11-2514-26/+26
| | | | Reported by: sbruno
* Import libgpio.rpaulo2014-11-245-0/+595
| | | | | | | | | | | This is a thin wrapper around the kernel interface which should make it easier to write GPIO applications. gpioctl(8) will be converted to use this library in a separate commit. Differential Revision: https://reviews.freebsd.org/D1183 Reviewed by: adrian, loos Discussed on: arm@, embedded@ Relnotes: yes
* For now, disable using -fsanitize=bounds for the libc ssp tests, whendim2014-11-241-0/+3
| | | | | | using clang 3.5.0, until the runtime support (via compiler-rt) is added. Otherwise, this would lead to link errors about missing support libraries.
* Ta is only allowed with Bl -column not in Bl -itembapt2014-11-231-1/+1
|
* Misc mdoc fixes:joel2014-11-232-2/+1
| | | | | | | | - Remove superfluous paragraph macros. - Remove/fix empty or incorrect macros. - Sort sections into conventional order. - Terminate quoted strings properly. - Remove EOL whitespace.
* Do not include buf.h.glebius2014-11-231-1/+0
|
* Rework mandoc Makefile to ease maintainancebapt2014-11-221-0/+2
| | | | | Add compat_reallocarray into libmandoc given other mandoc components will use it.
* Rework makefile in something closer to upstream Makefile to ease maintainancebapt2014-11-221-5/+28
|
* Forgot to update libmandocbapt2014-11-221-6/+5
|
* Promote SQLite3 as a privatelib as it will also be used by mandocbapt2014-11-222-0/+39
| | | | While here ensure sqlite3 is using pread(2) and enable the suppot for FTS4
* Add FPU support for MIPS setjmp(3)/longjmp(3).brooks2014-11-212-4/+153
| | | | | | | | | | | | | This change saves/restores the callee-saved MIPS floating point registers as documented by the o32/n32/n64 spec ("MIPSpro N32 ABI Handbook", Table 2-1) for the _setjmp(3), _longjmp(3), setjmp(3) and longjmp(3) C library functions. This is only included when the C library is built with hardware floating point support (or when "SOFTFLOAT" is not defined). Submitted by: sson MFC after: 1 month Sponsored by: DARPA, AFRL
* Use canonical __PIC__ flagemaste2014-11-2114-26/+26
| | | | | | | | It is automatically set when -fPIC is passed to the compiler. Reviewed by: dim, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1179
* Remove acl_size.c; apparently it was never used.trasz2014-11-191-43/+0
| | | | | | | PR: 194398 Submitted by: ngie@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Add reachover Makefiles for contrib/netbsd-tests/lib/librtngie2014-11-174-0/+79
| | | | | | | | | A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Sponsored by: EMC / Isilon Storage Division
* Convert tools/regression/lib/libc/stdio/test-fpclassify into an ATF testcase andngie2014-11-162-0/+73
| | | | | | Rename as lib/libc/stdio/fpclassify2_test Sponsored by: EMC / Isilon Storage Division
* Convert tools/regression/lib/libc/stdio/test-fmemopen into an ATF testcase andngie2014-11-162-0/+302
| | | | | | rename as lib/libc/stdio/fmemopen2_test Sponsored by: EMC / Isilon Storage Division
* Convert tools/regression/lib/libc/gen/test-arc4random into an ATF testcase andngie2014-11-162-0/+94
| | | | | | rename as lib/libc/gen/arc4random_test Sponsored by: EMC / Isilon Storage Division
* Add reachover Makefiles for contrib/netbsd-tests/lib/librtngie2014-11-164-0/+33
| | | | | | | | | A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Sponsored by: EMC / Isilon Storage Division
* Add reachover Makefiles for contrib/netbsd-tests/lib/libpthread asngie2014-11-166-0/+121
| | | | | | | | | | | | lib/libthr/tests A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Original work by: pho Sponsored by: EMC / Isilon Storage Division
* Add the ppoll() system call.dchagin2014-11-133-2/+70
| | | | | | | | Export kern_poll() needed by an upcoming Linuxulator change. Differential Revision: https://reviews.freebsd.org/D1133 Reviewed by: kib, wblock MFC after: 1 month
* Fix spelling and wording.des2014-11-121-6/+4
|
* Renove faith(4) and faithd(8) from base. It looks like industrymelifaro2014-11-092-53/+0
| | | | | | | | | have chosen different (and more traditional) stateless/statuful NAT64 as translation mechanism. Last non-trivial commits to both faith(4) and faithd(8) happened more than 12 years ago, so I assume it is time to drop RFC3142 in FreeBSD. No objections from: net@
* Re-enable dpv(1,3): Introduced via r274116; temporarily disableddteske2014-11-061-0/+2
| | | | | | | | | | | shortly thereafter via r274124 until I could get the right recipe down w/respect to SUBDIR_DEPEND. Thanks to: ngie, ian Reviewed by: ian MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120 274121 274123 274144 274146
* Upon second-thought (following r274144), remove spurious (unused)dteske2014-11-061-1/+0
| | | | | | | | | | line-noise (libdialog never lived in lib/ -- but rather the noise came from translating a comment that was introduced 16 years ago via r40306; translation from comment to code occurred via r267511). MFC after: 3 days Reviewed by: ngie X-MFC-to: stable/10
* Balance DPADD against LDADD for dpv(1,3).dteske2014-11-051-2/+2
| | | | | | | Thanks to: ngie MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120 274121 274123 274144
* Fix code-typo; introduced by r267511dteske2014-11-051-1/+1
| | | | | MFC after: 3 days X-MFC-to: stable/10
* Hook up OpenPAM's own unit tests to the build.des2014-11-052-0/+23
|
* Temporarily _disable_ compilation of dpv(3) and dpv(1).dteske2014-11-051-1/+0
| | | | | | | Will revisit this to find out how to solve the ordering issue in buildworld (potentially `make -j' specific). Reviewed by: shurd
* Fix buildworld by adding DPADD= to libdpv [dpv(3)] Makefiledteske2014-11-051-2/+4
| | | | | | | | | | | NB: Should also address `make -j' building Remove "+" from "+=" in assignments to DPADD/LDADD while here. NB: Also move CFLAGS for style measure. Reviewed by: shurd MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120 274121
* Make libdpv [dpv(3)] WARNS=6 clean for clang on -CURRENT.dteske2014-11-052-3/+3
| | | | | | | | | NB: aka unbreak the build Reviewed by: shurd MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120
* Fix build-error (pointy hat; didn't merge full up-to-date code)dteske2014-11-052-59/+59
| | | | | | MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116
* Add new libraries/utilities for data throughput visualization.dteske2014-11-0422-0/+4929
| | | | | | | | | | | | | dpv(3): dialog progress view library dpv(1): stream data from stdin or multiple paths with dialog progress view figpar(3): configuration file parsing library Reviews: D714 Reviewed by: jelischer, shurd Discussed at: MeetBSD California 2014 Vendor/Dev Summit Discussed on: -current MFC after: 21 days X-MFC-to: stable/10 stable/9
* Commit missing header for sys/time.h compat on NetBSD to unbreak the amd64/i386ngie2014-11-041-0/+65
| | | | | | build Pointyhat to: me (forgot to svn add it sooner)
* Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds ↵ngie2014-11-0429-0/+769
| | | | | | | | | | | | | | | | | | approximately 500 new testcases Various TODOs have been sprinkled around the Makefiles for items that even need to be ported (missing features), testcases have issues with building/linking, or issues at runtime. A variant of this code has been tested extensively on amd64 and i386 10-STABLE/11-CURRENT for several months without issue. It builds on other architectures, but the code will remain off until I have prove it works on virtual hardware or real hardware on other architectures In collaboration with: pho, Casey Peel <casey.peel@isilon.com> Sponsored by: EMC / Isilon Storage Division
* Add pkg-config file for libarchivemm2014-11-022-0/+18
| | | | | Requested by: bapt MFC after: 1 week
* MFV: Import atf-0.21.jmmv2014-11-018-35/+23
|
* <sys/param.h> is a superset of <sys/types.h> and must always comedes2014-11-011-2/+1
| | | | | | | first. Coincidentally, today is the 11th anniversary of this man page's (and this bug's) first appearance in FreeBSD. MFC after: 3 days
* Update acl(3) to expand on NFSv4 ACL support.trasz2014-10-301-5/+9
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make it clear that ACL flags are NFSv4-only.trasz2014-10-307-14/+14
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix a clang 3.5 warning about abs(3) being given an argument of typedim2014-10-291-5/+5
| | | | | | | | | quad_t in setusercontext(). While here, sanitize the clamping of the priority value, and use the correct type for the return value of login_getcapnum(). Reviewed by: kib MFC after: 3 days
* Fix renaming a group via the gr_copy functionbapt2014-10-281-5/+12
| | | | | | | | | | Add a regression test to pw(8) because the bug was discovered via using: pw groupmod PR: 187189 Reported by: mcdouga9@egr.msu.edu Tested by: mcdouga9@egr.msu.edu Patch by: Marc de la Gueronniere
* Fix prototypes.kevlo2014-10-281-3/+3
|
* only install .pc files when we are not installing 32bit compat libs...jmg2014-10-272-0/+4
| | | | This fixes the problem of installing the .pc files multiple times...
* fix typo, properly install a link to nv for nvlist_freev...jmg2014-10-271-1/+1
|
* getgrouplist(3) was reimplemented in terms of getgrent_r(3) in r174547, somarkj2014-10-272-23/+2
| | | | | | this bug is no longer valid. MFC after: 3 days
* Use the __DECONST macro rather than hand rolling the same thing.brooks2014-10-241-5/+1
| | | | Sponsored by: DARPA, AFRL
* Remove an unused variable that would be better spelled __func__.brooks2014-10-241-1/+0
| | | | Sponsored by: DARPA, AFRL
* Eliminate conf_lock and instead rely on the NSS write lock to protectmarkj2014-10-241-8/+5
| | | | | | | | | | | | | | | NSS configuration state. As a side effect, this fixes a race condition which can occur if multiple threads call nsdispatch(3) concurrently before nsswitch.conf has been parsed. Previously, the thread holding conf_lock could cause other threads to return from nss_configure() before nsswitch.conf had been parsed, forcing them to fall back to the default sources for their NSS methods. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D994 MFC after: 1 month Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud