summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-05-24typo.Igor Sobrado
2008-05-23we only do static libarch; ok drahnTheo de Raadt
2008-05-23- remove USER_LDT, it was never in a state where it would copile, nor willJasper Lievisse Adriaanse
we support i386-compat mode on amd64. agreed by beck@, dlg@, kettenis@ ok deraadt@, tom@
2008-05-21Use _C_LABEL when appropriate.Miod Vallat
2008-05-21Use _PROF_PROLOGUE insteaf of rolling our own.Miod Vallat
2008-05-21Use proper *ENTRY macros with symbolic register save masks, sprinkleMiod Vallat
_C_LABEL and _ASM_LABEL, and add $OpenBSD$ RCS Ids. Include <sys/errno.h> and use its values directly, instead of using .set directives (which grow the individual .o files even) Also, replace `$' in internal (but non static) symbols with `_', and prefix those with `__'.
2008-05-20kill an Xr to a non-existent man page, ulimit(1);Jason McIntyre
2008-05-19bump (recalloc removal)Otto Moerbeek
2008-05-19remove recalloc(3); it is buggy and impossible to repair without bigOtto Moerbeek
costs; ok jmc@ for the man page bits; ok millert@ deraadt@
2008-05-16Fix ssize_t vs. size_t mismatchTodd C. Miller
2008-05-16C99 says that for each va_copy() there must be a matching va_end().Todd C. Miller
Replace the non-portable hackery in __find_arguments() with a union. From FreeBSD.
2008-05-13Don't forget to va_end() the va_list we get from va_copy(). From FreeBSD.Todd C. Miller
2008-05-11Fix a crash when iterating over a hash and removing its elements.Todd C. Miller
From Patrick Keshishian. OK pvalchev@
2008-05-11garbage collect the portability bits for the removed select() support.Brad Smith
ok djm@ deraadt@
2008-05-09kill trailing whitespace;Jason McIntyre
2008-05-09add SO_BINDANY with pf example; help from jmc, ok beck@Markus Friedl
2008-05-07routed is no more so use dhcpd in these examples instead. OK norby@Claudio Jeker
2008-05-07remove duplicates; remove des_random_key; remove unused; sort MLINKS; ok jmc@Markus Friedl
2008-05-06Use the standard syslog levels on CARP logging messages instead ofRyan Thomas McBride
simple on/off, allowing more control over how verbose the logging is. This also allows you to do a further level of filtering in syslog.conf if you need to. Also add logging of state changes, inspired by diff provided by Brian A. Seklecki in PR 5513. These messages are logged by default. ok henning mpf deraadt
2008-05-05add missing header for getpagesizeCharles Longeau
ok espie@
2008-05-03add missing header for closeCharles Longeau
ok otto@ espie@ millert@
2008-05-02- Use a const pointer for bufferevent_write.Brad Smith
- Make event_init return struct event_base *. From the libevent SVN repo. ok millert@
2008-05-02- Increment MAX_ADDRS in evdns so as to be quite large.Brad Smith
- Accept as well-formed DNS replies with questions but no answers. - Fix for crash in evdns_resolve_reverse_ipv6(). - Move end of "extern C {" block to the end of evdns.h. From the libevent SVN repo. ok millert@
2008-05-02Makefile: sort MLINKS and add event_base_once.3Jason McIntyre
event.3: fix NAME and remove spurious blank line
2008-05-02Make the SO_TIMESTAMP sockopt work. When set, this allows the user toChris Kuethe
get a timestamp of when the datagram was accepted (by udp(4), for example) rather than having to take a timestamp with gettimeofday(2) when recv(2) returns - possibly several hundreds of microseconds later. May be of use to those interested in precision network timing schemes or QoS for media applications. Tested on alpha, amd64, i386 and sparc64. manpage suggestions from jmc, ok deraadt
2008-05-02Update to libevent 1.3e while retaining our local changes.Brad Smith
"No objection" millert@ "the diff looks and works fine" reyk@
2008-05-01Be carefull not to read away the target entry when encounteringOtto Moerbeek
deleted files after a seekdir(); testcase produced by mbalmer@; fix with and ok mbalmer; ok millert@
2008-04-24- correct brk(2) prototype and man page to match implementation and POSIX.Kurt Miller
brk(2) returns an int value not a void *. brk(2) returns 0 upon success not a pointer to the new end of memory. okay millert@, kettenis@, deraadt@
2008-04-24Return the proper values upon failure per POSIX for pthread_sigmask(3) andKurt Miller
sigprocmask(2) in threaded programs. From Philip Guenther <guenther at sendmail.com> via PR library/5795. okay marc@
2008-04-24Return the proper values upon failure per POSIX for pthread_sigmask(3) andKurt Miller
sigprocmask(2) in threaded programs. From Philip Guenther <guenther at sendmail.com> via PR library/5795. okay marc@
2008-04-21_file is only a short, so prevent truncation if we happen to hitOtto Moerbeek
upon a fd > SHRT_MAX. From freebsd via Jan Schaumann; ok deraadt@ millert@ espie@
2008-04-18convert select() => poll(), saves a runtime malloc+free per retryDamien Miller
feedback deraadt@ drahn@; ok deraadt@
2008-04-16permit _ in the middle of a DNS name componentTheo de Raadt
2008-04-13Improve the libc DNS resolver ID generation algorithm to be moreDamien Miller
resistant to prediction atacks by wrapping the existing LCG in a random permutation generator based on a Luby-Rackoff block cipher. lots of discussion and final ok deraadt@
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
2008-04-05document EINVAL; from DasnJason McIntyre
ok millert
2008-04-04alter internal _readdir_unlocked() api to be less confusing, so thatOkan Demirmen
callers may respond accordingly and correctly. this fixes an issue where readdir_r() could not decipher the difference between an error or no more entires. feedback and ok kurt@, ok millert@
2008-04-04- do not call pthread_atfork(3) handlers when a multithreaded programKurt Miller
calls vfork(2). "untested, but looks OK" marc@ - document vfork(2), popen(3) and system(3) don't call atfork handlers in multithreaded programs. okay jmc@
2008-04-04Zero out the password/response argument in the simplified BSD authTodd C. Miller
interafces. Otherwise, we end up with an extra copy in memory when auth_call() forks that is not possible to clear.
2008-04-04simplify SNDCTL_DSP_SETTRIGGERJacob Meuser
- don't mess with the operational mode. that was primarily to be able to set record|play mode for full-duplex, which isn't needed any more. - don't set pause=1. this ioctl isn't supposed to be used for stopping streams. suggestions, ok ratchov
2008-04-02Zero state buffers on return. OK deraadt@Todd C. Miller
2008-03-31Update to tzcode 2008a from elsie.nci.nih.govTodd C. Miller
2008-03-30Unbreak build.Mark Kettenis
2008-03-26HISTORY tweak; ok ottoJason McIntyre
2008-03-25be more explicit about the unit used for the f_b* fields; prompted byOtto Moerbeek
and ok djm@
2008-03-25section 3, Darrin ChandlerOtto Moerbeek
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-23Use fileno() instead of peeking into FILE *; Paul StoeberTheo de Raadt
2008-03-22flag constant values should be UL, spotted by deraadt@Otto Moerbeek
2008-03-22move statvfs.c to gen, since it is not a syscall; ok deraadt@Otto Moerbeek