summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-12-09tweak the text on deprecated functions, after some help from tom;Jason McIntyre
2006-12-09various tweaks;Jason McIntyre
2006-12-09various tweaks; my apologies to itojun for forgetting toJason McIntyre
send him feedback for these
2006-12-09switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by 3542).Jun-ichiro itojun Hagino
the kernel still handles RFC2292 set/getsockopts, so that compiled binary has no trouble running. userland sees RFC3542 symbols only on header file so new code has to use RFC3542 API. bump libc shlib minor for function additions. tested on i386/amd64 by jmc, i386 by brad. checked by deraadt.
2006-12-08return is not a function. (cosmetic)Jun-ichiro itojun Hagino
2006-12-04confstr() should return 0, not (size_t)-1, on errors; from Guy Harris.Otto Moerbeek
ok millert@ and jmc@ for the man page bit.
2006-12-01Normally pipes created by threaded apps are left non-blocking after beingKurt Miller
closed so that a threaded child process can still read it without blocking. However, leaving stdin/out/err non-blocking when closed is bad because it can be shared with non-threaded apps that can't deal with a non-blocking file descriptor (i.e. cat). Therefore special case stdin/out/err pipes so that they are reset to blocking upon a close(). Tested by robert@, jolan@ and myself with multiple OOo builds on mp systems where the problem was seen more frequently.
2006-11-29Fix cut'n'paste abuse in error message.Miod Vallat
2006-11-29Sync with struct proc change.Miod Vallat
2006-11-26fix a potential problem in multiple handling of va_list; use va_copy instead.Brad Smith
From Niels Provos via the libevent SVN, by Alejo. ok deraadt@
2006-11-26fail without leaking memory when poll set extension fails.Brad Smith
From Niels Provos via the libevent SVN ok deraadt@
2006-11-26allow both read and write callbacks for bufferevents to be NULL.Brad Smith
From Niels Provos via the libevent SVN ok deraadt@
2006-11-26try first mmap() allocation at pagesize, no need to re-mmap at every powerTheo de Raadt
of 2 from 16 to pagesize(); ok otto
2006-11-24Use correct define to detect soft fpu on arm, dont complain on lint so much.Dale Rahn
2006-11-21introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).Jun-ichiro itojun Hagino
deraadt ok. manpage nit by jmc.
2006-11-17change semantics of ff01::/16 to interface local multicastJun-ichiro itojun Hagino
(to sync up with more recent IPv6 spec) ok from: deraadt mcbride
2006-11-15typo; from daniel maticJason McIntyre
2006-11-14Adjust ktrace(2) man page to recent changes in struct ktr_header.Moritz Jodeit
OK tedu@
2006-11-14Do not use fpu in the softfloat case. Fixes lib/libc/ieeefp/roundOtto Moerbeek
regress test; ok miod@
2006-11-13missing ;Otto Moerbeek
2006-11-12fix infinity, taking into account endianess. ok drahn@ miod@Otto Moerbeek
2006-11-10bump minor, for void set_rpc_maxgrouplist(int);Alexander von Gernler
ok deraadt@
2006-11-10add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -gAlexander von Gernler
working again. help from millert@, ok deraadt@ pedro@
2006-11-09build obj in shDale Rahn
2006-11-09add openssl PEM_* manpages; ok deraadt, hshoexer, djmMarkus Friedl
2006-11-07Load the syscall number into the scratch register (r12) so that we dontDale Rahn
need the copyin.
2006-11-07Build the correct arch softfloat code.Dale Rahn
2006-11-07forgot to commit the new files for sh softfloat support.Dale Rahn
2006-11-06Minimal lip service for savecore to be happy.Miod Vallat
2006-11-06Move (back) to softfloat on sh for now.Dale Rahn
2006-11-06Copy MI softfloat bits from arm to here, so that they can be shared.Dale Rahn
2006-11-05typo in kqueue delete.Brad Smith
From Niels Provos via the libevent SVN repo, by Bert JW. Regeer ok deraadt@
2006-11-05fix a potential memory leak in event_once().Brad Smith
From Niels Provos via the libevent SVN repo, by Scott Lamb tested by niallo@ ok deraadt@
2006-11-03Dont double fork, and since the assembles the same, use -1, instead of 0xffDale Rahn
to subtract one.
2006-11-02columns for underflow and overflow were swapped, noticed by Mathieu OlivierAlexander von Gernler
<molivier at users dot sourceforge dot net> ok jmc@ mickey@
2006-10-31+.Xr fhstat 2Jason McIntyre
from mjf@netbsd -r.1.21 ok otto
2006-10-30must pull in sys/types.h unconditionaly, because it is needed my pthreadsTheo de Raadt
includes used a bit later (for instance on the vax)
2006-10-30suceed -> succeed; from chad doughertyJason McIntyre
2006-10-29make __dtoa & strtod() thread-safe useing the same method as newer gdtoaTheo de Raadt
codebase. tested mostly by ckuethe and myself. __dtoa() use now requires a call to __freedtoa()
2006-10-28prefer `buses' to `busses' for the noun plural;Jason McIntyre
2006-10-27actually the format strings do come from the usb_hid_usages file;Theo de Raadt
from janus@errornet.de
2006-10-27two comment typos from tbertTed Unangst
2006-10-26various fixes from wiz@netbsdJason McIntyre
2006-10-25select() and poll() don't _FD_LOCK their file descriptors, so there's noKurt Miller
need to bail from _thread_kern_poll() when a file descriptor is in closing state. corrects segfault reported by ckuethe@
2006-10-24Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1].Moritz Jodeit
OK ray@ cloder@
2006-10-24evil AF_ISO and AF_NS references were hiding here, but we'll hunt 'em all down!Henning Brauer
2006-10-24add rthread syscalls and bump minor.Ted Unangst
rthreads are hardly done, but if just trying it out is too much of a hassle, we'll never make more progress. ok brad marc marco mbalmer
2006-10-24respond to ben hawkes's ruxcon presentation.Ted Unangst
create special allocators for pginfo and pgfree structs instead of imalloc. this keeps them separated from application memory. for chunks, to prevent deterministic reuse, keep a small array and swizzle the to be freed chunk with a random previously freed chunk. this last bit only for chunks because keeping arbitrarily large regions of pages around may cause out of memory issues (and pages are, to some extent, returned in random order). all changes enabled by default. thanks to ben for pointing out these issues. ok tech@
2006-10-21bufferevent_write() return code misdocumented; ok jmcTheo de Raadt
2006-10-21remove calls to abort(3) that can't happen anyway; fromOtto Moerbeek
<bret dot lambert at gmail.com>; ok millert@ deraadt@