summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-06-03not much use for sha1 .XrTed Unangst
2013-06-03Add bcrypt_pbkdf, a password based key derivation function using bcrypt.Ted Unangst
Technically, it's a slight variant of bcrypt better suited for use as a pluggable hash with PKCS #5 PBKDF2. ok djm (also tweak pkcs5_pbkdf2() prototype to have consistent types.)
2013-06-03first stab at rewordingTed Unangst
2013-06-035.4Ted Unangst
2013-06-03rcsidsTed Unangst
2013-06-03unbreakMiod Vallat
2013-06-03add userland fuse library. ok beck deraadtTed Unangst
from Sylvestre Gallon ccna.syl gmail.com
2013-06-03Despite tedu's efforts, fix ERRNOPTR_OFFSET which has changed due to recentMiod Vallat
struct pthread layout change.
2013-06-03THE MACHINE DEPENDENT CERROR CODE HAS HARD CODED OFFSETS INTO PTHREAD_T!Ted Unangst
found the hard way by miod. resize and realign all the locks and semaphores back to the way they were. sometimes i just can't win.
2013-06-02somehow missed spinlock.h here. broke bmercer's build.Ted Unangst
2013-06-02Add mentions about net.mpls and net.inet.ip.ifq.YASUOKA Masahiko
input from jmc claudio
2013-06-02Two small cleanups to atexit: remove unneeded __atexit_invalid, andMatthew Dempsky
move the call_depth decrement so it happens unconditionally and can still return to 0 when called with dso!=NULL. ok millert
2013-06-02fix id, from bradTed Unangst
2013-06-02Make arm compile again. -mojMats O Jansson
2013-06-02Fix wcsto{f,d,ld}() C99 compliance to now correctlyMatthew Dempsky
1. handle "inf", "infinity", "nan", and "nan(whatever)", 2. reject bare minus and plus signs, 3. handle multi-byte characters, and 4. set *endptr = nptr for all failure cases. Fixes libc++'s test cases for std::sto{f,d,ld}(). ok stsp
2013-06-02improve the divert-* description a bit moreSebastian Benoit
ok lteo & jmc
2013-06-01something's not quite right yet. ticket locks result in more CPU usageTed Unangst
and spinning in kernel. partially back out, but in a way that makes going forward again easy. seen by ajacoutot
2013-06-01Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008.Stefan Sperling
Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error messages, and rename existing ones to indicate their character sets. catopen(3) now chooses a catalog which matches the locale's encoding, if available. help & ok matthew, man page bits ok jmc, input from naddy and bluhm
2013-06-01cleanup and consolidate the spinlock_lock (what a name!) code.Ted Unangst
it's now atomic_lock to better reflect its usage, and librthread now features a new spinlock that's really a ticket lock. thrlseep can handle both types of lock via a flag in the clock arg. (temp back compat hack) remove some old stuff that's accumulated along the way and no longer used. some feedback from dlg, who is concerned with all things ticket lock. (you need to boot a new kernel before installing librthread)
2013-06-01Change the naming scheme used for directories in /usr/share/locale toStefan Sperling
eliminate redundant copies of LC_CTYPE files. Instead of names using "language_territory.codeset" permutations, use just the codeset component to name directories storing LC_CTYPE files. Suggested by bluhm@ while discussing the idea of using symlinks in /usr/share/locale like FreeBSD does. Future locale features which store language and/or territory specific data can name directories after language or territory names.
2013-06-01fix wrong fn name in debugTed Unangst
2013-06-01tweak previous;Jason McIntyre
2013-06-01reorder syslog params descr to make sense, and minor tweaks, plus jmc@'sMarc Espie
input. okay jmc@, schwarze@
2013-06-01Move search domain iteration code in res_search_async.c where it belongs.Eric Faurot
2013-06-01Make hostaliases work for gethostbyname() and getaddrinfo() whenEric Faurot
looking into /etc/hosts. Remove the alias check from the search domain iteration. Instead, take a shortcut to res_query_async_ctx() in res_search_async_ctx().
2013-06-01Update asr_hostaliases() to make all necessary checks in the function.Eric Faurot
Explicitely check for issetguid() before calling getenv(). Also make asr_hostalias() callable from other parts of asr too.
2013-06-01Add utrace(2), a system call allowing for userland to send its own ktraceMiod Vallat
records. From FreeBSD via otto@, with tweaks suggested by guenther@. Commite on behalf of otto@ who is not around, to ride the libc minor bump. Causes a librthread minor bump as well (new syscall).
2013-06-01iterating over the ns list only matters for res_send_async.c, so moveEric Faurot
things around.
2013-06-01no need to cast nullTed Unangst
2013-06-01string.h defines null for usTed Unangst
2013-06-01no need to cast nullTed Unangst
2013-05-31doesn't need any headersTed Unangst
2013-05-31minor tweaksTed Unangst
2013-05-31fixieTed Unangst
2013-05-31Add getprogname() and setprogname() to ease slackers^porters' work.Antoine Jacoutot
Man page adapted from FreeBSD and NetBSD. Bump libc minor now (there will be more upcoming changes). input from tedu@ get it in deraadt@
2013-05-31On NOTE_EXIT event of EVFILT_PROC, store the exit status in kn_data.YASUOKA Masahiko
ok guenther tedu deraadt
2013-05-31add shm_open and friends which i have been told ports programs wouldTed Unangst
like to use. ok deraadt guenther
2013-05-30Sort includes. From Vladimir Tamara Patino <vtamara@pasosdeJesus.org>Stefan Sperling
2013-05-30Switch to using unhyphenated VIA padlock mnemonics. VIA abandoned theMatthew Dempsky
hyphen in their official programming guide sometime between 2003 and 2005, and Clang's integrated assembler does not support hyphenated mnemonics. ok jsg, deraadt
2013-05-30Remove useless include.Antoine Jacoutot
ok millert@
2013-05-29use paramaters instead of static storage in _gethostbyname()Eric Faurot
2013-05-27Add minimal support for _res setup and update.Eric Faurot
Change res_init() to initialize the _res structure on first call, and udpate the global async context if changes were made by the user. All resolver functions now call res_init() internally. fixes issue spotted by otto@
2013-05-22Sync with upstream. Fix buffer growing and memory allocation for wideYASUOKA Masahiko
chars. Handle return of mbstowcs(). ok nickm
2013-05-21Fix pty descriptor leak if fork() fails.Matthew Dempsky
ok millert
2013-05-19If pid<0, kill() won't fail with EPERM unless none of the target processesPhilip Guenther
could be signaled.
2013-05-15typo: compare len against null needle, not haystackAntoine Jacoutot
from Alf Schlichting ok millert@
2013-05-13Add an implementation of memmem() -- from FreeBSD with some tweaks.Antoine Jacoutot
Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon. joint work with millert@ man page bits ok jmc@ input and ok millert@, guenther@, deraadt@
2013-05-10Update SYNOPSIS and add STANDARDSPhilip Guenther
2013-05-10Update STANDARDSPhilip Guenther
2013-05-10Clarify behavior of SA_NOCLDWAITPhilip Guenther
Tweak indentation in the synopsis feedback and ok jmc@, espie@