Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-07 | add the posix semaphore functions. this lets vlc work. | Ted Unangst | |
ok brad | |||
2005-12-07 | malloc the right size, and memset after malloc | Ted Unangst | |
2005-12-06 | add pthread_once. unfortunately, the public pthread.h header | Ted Unangst | |
defines the pthread_once_t internals, so we're stuck with them. | |||
2005-12-06 | can't build shared lib without shlib_version | Ted Unangst | |
Maxim Bourmistrov noticed. | |||
2005-12-04 | copy alpha atomic_lock implementation from libpthread. | Brad Smith | |
2005-12-04 | add a powerpc implementation of rfork_thread(). | Brad Smith | |
From Tim Wiess <tim at nop dot cx> ok drahn@ | |||
2005-12-04 | copy powerpc atomic_lock implementation from libpthread. | Brad Smith | |
ok drahn@ | |||
2005-12-03 | rcs for the makefile | Ted Unangst | |
2005-12-03 | syscall is actually sched_yield now, as millert suggested | Ted Unangst | |
2005-12-03 | add userland thread library. incomplete, but functional | Ted Unangst | |
2005-12-02 | make write-end of signal socketpair non-blocking. | Theo de Raadt | |
every signal received writes 1 byte to the socketpair. if you are outside the libevent main loop too long, the socketpair might fill up. that write would then block, in a signal handler. related to this, yesterdy we changed the signal handler to not trash errno. as for the read end, there will be multiple libevent reads off the socketpair (100 bytes at a time) until the socketpair is empty again ok provos | |||
2005-12-02 | pollops should be const | Theo de Raadt | |
2005-12-02 | lookup out of evsigcaught[] must be sig_atomic_t too | Theo de Raadt | |
2005-12-02 | never say unsigned; say at least unsigned int | Theo de Raadt | |
2005-12-01 | save errno in signal handler since it does a system call | Theo de Raadt | |
only access sig_atomic_t variables, to make it further save ok aaron | |||
2005-11-30 | know __arm__ too | Theo de Raadt | |
2005-11-30 | timezone -> time zone | Jason McIntyre | |
2005-11-30 | Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a time | Otto Moerbeek | |
and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@ | |||
2005-11-29 | if we pull in a .S file, we must fake out the lint with a .c file | Theo de Raadt | |
for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS | |||
2005-11-29 | Provide stubs for things which are supplied by crt0. I don't think we | Theo de Raadt | |
want a crt0.ln, at least, not yet. We may reconsider later. | |||
2005-11-29 | document KERN_ARND better; ok deraadt@ | Otto Moerbeek | |
2005-11-28 | spaces, and a off_t typecast to please lint | Theo de Raadt | |
2005-11-28 | some nice off_t casts to please lint | Theo de Raadt | |
2005-11-28 | unused arg in internal static API | Theo de Raadt | |
2005-11-28 | ARGSUSED stubs | Theo de Raadt | |
2005-11-28 | make Lint prototypes equal; ok millert | Theo de Raadt | |
2005-11-27 | Add a cast for (size_t)-1 because we know what we're doing, the ISO std. | Chad Loder | |
says this is what we're supposed to return. Makes lint happy. OK deraadt, espie | |||
2005-11-25 | Fix syntax error (missing ')') in #ifdef'ed out code. Spotted by lint. | Kenneth R Westerback | |
ok deraadt@ | |||
2005-11-25 | don't ask; ok drahn | Theo de Raadt | |
2005-11-24 | use WANTLINT= (on all architectures) | Theo de Raadt | |
2005-11-24 | more empty files for lint to chew on (on the vax) | Theo de Raadt | |
2005-11-24 | include more architectures in the list (even though some do not compile | Theo de Raadt | |
this, but do it entirely in the compiler); ok miod | |||
2005-11-23 | an empty stub file for lint: on the vax, lint will chew on this, but avoid it | Theo de Raadt | |
when compiling, and use the .S file instead if someone has a better solution, show it.. | |||
2005-11-23 | avoid ' which confuses make depend | Theo de Raadt | |
2005-11-20 | Allocate space for profiling data using mmap instead of sbrk. | Todd C. Miller | |
Tested by myself and pedro@ | |||
2005-11-20 | brk() and sbrk() should use void *, not char *. Note that sbrk() | Todd C. Miller | |
should take intptr_t, not int, but we don't presently have intptr_t available from unistd.h. OK marco@ | |||
2005-11-19 | In count_stmts(), make sure to account for long jump instructions as well, | Aaron Campbell | |
avoiding a memory error that could lead to a crash when a sufficiently complex bpf filter has been specified. otto@, millert@, djm@ ok Reference- http://www.tcpdump.org/lists/workers/2000/msg01364.html | |||
2005-11-18 | FIONASYNC -> FIOASYNC | Jason McIntyre | |
from nicholas marriott; | |||
2005-11-18 | - new sentence, new line | Jason McIntyre | |
- avoid Xr to self - lookup(n.) -> look up(v.) | |||
2005-11-18 | pull in the good bits of libpcap-0.9.4's API without the cross-platform | Damien Miller | |
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a nb. this will break tcpdump unless it updated too | |||
2005-11-17 | Work around a gcc optimization problem. Spotted by biorn@; fix | Otto Moerbeek | |
inspired by FreeBSD. ok biorn@ millert@ deraadt@ | |||
2005-11-17 | Introduce a few c99 functions: {l,ll}{rint,round}{,f}. From NetBSD via | Otto Moerbeek | |
jason@. Man page fixes by jmc@, prodding by jsg@. ok mickey@ | |||
2005-11-16 | CODESET support. okay millert@, otto@ | Marc Espie | |
(not really useful for now, it mostly helps some programs which want to use it, it will become useful when we have full 16 bits locale). | |||
2005-11-15 | Fix exp(3) for arg Inf and -Inf. From NetBSD; PR 4578. ok deraadt@ | Otto Moerbeek | |
2005-11-15 | Do not clobber errno when calling close(2) in example code. | Otto Moerbeek | |
From form@ via mpech@ | |||
2005-11-15 | Use a forward declaration of struct timespec instead of assuming | Todd C. Miller | |
it has already been defined by previous includes. While this is true at the moment, it will no longer be true after a pending includes cleanup. OK marc@ | |||
2005-11-14 | clarify the description of append mode; | Jason McIntyre | |
this comes originally from a mail from mpech@; ok otto@, and no one else objected; | |||
2005-11-14 | revert this file to -r1.2, when it was originally written, | Jason McIntyre | |
because of an unacceptable license: the file was originally written by david leonard, who has kindly agreed to us putting a (public domain) license on it: the original page did not contain any license. thanks david. this also includes some tweaks by me, so it does not exactly match revision 1.2. | |||
2005-11-14 | use asprintf() | Theo de Raadt | |
2005-11-13 | save errno in example code. from mpech@ ok jmc@ | Otto Moerbeek | |