summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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@
2013-05-08clarify when EACCESS can fail. if from is read only, you're out of luck.Ted Unangst
failure to document this case noticed by Mike Small
2013-05-08Don't declare ___start static, for gcc4 would optimize it out.Miod Vallat
2013-05-08fix SEE ALSO;Jason McIntyre
2013-05-08Update DESCRIPTION, ERRORS, SEE ALSO, and STANDARDS sectionsPhilip Guenther
(setpgid has *never* cared about euid in OpenBSD)
2013-05-08Lists should be sorted by the normal alphabet, not my private onePhilip Guenther
Noted by jmc@
2013-05-08We have fdatasync() and pselect() now, so uncomment them in the list ofPhilip Guenther
async-signal-safe functions. Also, add ppoll() as an async-s-s extension interface
2013-05-07on failure errno is set as wellDavid Gwynne
2013-05-06If the lock is contended, such that the 'sc' fails, then we need toPhilip Guenther
reset the %2 register with _SPINLOCK_LOCKED before retrying. tobiasu@ hit the problem and figured out that ".set noreorder" is needed in the ASM
2013-05-05since i386_{g,s}et_ioperm(2) are the same page, do not list them both inJason McIntyre
SEE ALSO;
2013-05-05remove never implemented amd64 get/set ioperm sysarch. ok guentherTed Unangst
2013-05-05no need to cast callocTed Unangst
2013-05-03Fix resetting MB_CUR_MAX when switching locales away from a UTF-8 locale.Stefan Sperling
Patch by Vladimir Támara Patiño <vtamara@pasosdeJesus.org> ok mpi millert
2013-04-30various small fixes;Jason McIntyre
2013-04-30Do not take external buffers for storing DNS responses in the internalEric Faurot
async API. That is actually useless and it makes the code more complicated. The required buffers are always allocated when needed.
2013-04-30copy input flags in result addrinfo structures.Eric Faurot
2013-04-29Extend P_SIGSUSPEND handling in userret() to properly restore theMatthew Dempsky
sigmask even if there are no pending signals under the temporary sigmask. Refactor existing select() and poll() system calls to introduce the pselect() and ppoll() system calls. Add rthread wrappers for pselect() and ppoll(). While there, update cancellation point comments to reflect recent fdatasync() addition. Minor bumps for libc and librthread due to new symbols. ok guenther, millert, deraadt, jmc
2013-04-29use FD_CLOEXEC instead of 1; from David HillOkan Demirmen
ok otto
2013-04-29use O_CLOEXEC with open() instead of open/fcntl; from David HillOkan Demirmen
ok otto
2013-04-23Do a PC-relative relocation for _map rather than going throughMartynas Venckus
GOTPCREL. Uncovered after the binutils patch where it isn't optimized away at assembly and is forced to go through GOTPCREL. But _map is effectively a local variable. Found with cephes by guenther@. OK guenther@, kettenis@, deraadt@.
2013-04-22Fixed typo.Tobias Stoeckmann
ok jmc
2013-04-21tweak a few commentsTed Unangst
2013-04-21this man page is mostly about password hashing now (you really don'tTed Unangst
want to be using DES) and some of the notes about the export controls are no longer so relevant. ok deraadt jmc