summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2013-04-21wording fix;Jason McIntyre
2013-04-20identify the argument containing the requested timeout, give argumentsTed Unangst
better names, and reword time to duration for clarity
2013-04-20Xr encrypt(1) to give people a hint if they just want a password stringTed Unangst
2013-04-19add clock_gettime to see also. i think guenther was ok with this.Ted Unangst
2013-04-17check return value of strdup(), fix mem leak in error path and takeOtto Moerbeek
into account that asr_use_resolver() can return NULL; ok tedu@ eric@
2013-04-17surround the error strings with quotes to clarify exactly which stringsTed Unangst
the function is going to return.
2013-04-17the tiniest of style tweaksTed Unangst
2013-04-17add some prototypes, casts, includes, parenthesis, and whatnot toTed Unangst
silence some warnings.
2013-04-17silence some warnings by adding prototypes, casts, and headers asTed Unangst
appropriate. in regex, stop using the struct hack for a fixed size array
2013-04-17evtag_marshal_timeval() truncates tv_sec to 32 bits, not passing the highTheo de Raadt
bits. Mark it with XXX 2038. I think it is poor style to create a "marshalling layer" which throws away information someone might need. ok nicm, who will pass the news upstream and ask for them to fix it
2013-04-17(long long) and %lld for big time_tTheo de Raadt
ok nicm, who will pass it upstream
2013-04-17use CLOCK_MONOTONIC, and repair future time_t overflowTheo de Raadt
ok millert guenther
2013-04-17give a timespec a name that is easier to verifyTheo de Raadt
2013-04-16Replace a realloc() + memcpy() with calloc() + memcpy().Todd C. Miller
We don't need to zero pfd but using calloc() gets us overflow protection for free. OK chl@ deraadt@
2013-04-15Remove CTL_USER hierarchy from sysctl()Philip Guenther
(Use sysconf() or confstr() instead) ok miod@ millert@
2013-04-15Implement fdatasync() as a wrapper around fsync()Matthew Dempsky
ok guenther, deraadt, jmc