summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-09-03Add ENOMSG and EIDRM; from jsg@Todd C. Miller
2007-09-03add recaloc(3)Todd C. Miller
2007-09-03add memrchr(3)Todd C. Miller
2007-09-03malloc(n * m) -> calloc(n, m); ok espieTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-30Update to expat 2.0.1. ok deraadt@Matthieu Herrb
2007-08-22Update to tzcode2007f grom elsie.nci.nih.gov; no actual code changesTodd C. Miller
2007-08-21http://openssl.org/news/patch-CVE-2007-3108.txt; ok pval, deraadtMarkus Friedl
2007-08-14'shall be' was changed to 'is' in sysctl.3#rev1.164, now let's change it to ↵Constantine A. Murenin
'are'; ok jmc@; approved deraadt@
2007-08-08Let realloc handle NULL. Initial diff from Charles Longeau.Ray Lai
OK millert and jaredy.
2007-08-08Clarify the example about avoiding overflow. OK ray@ deraadt@Todd C. Miller
2007-08-08Show how to use strcspn(3) to trim newlines.Ray Lai
OK jmc and millert.
2007-08-08realloc can handle NULL values. From Charles Longeau.Ray Lai
OK jaredy.
2007-08-07Let realloc handle NULL pointers, plus a spacing fix.Ray Lai
OK millert and moritz.
2007-08-06Correctly NUL terminate the message buffer that is used with theClaudio Jeker
-starttls option. Without this openssl s_client -starttls crashed with malloc.conf -> J. OK deraadt@, hshoexer@
2007-08-05/*FALLTHRU*/ -> /* FALLTHROUGH */Ray Lai
2007-08-03Update URL of the keynote webpage. While there, update angelos' emailHans-Joerg Hoexer
address. Noticed by qgiovanni@gmail.co, thanks! ok jmc@ (URL snippet), angelos@
2007-08-01More cats stuff leaving the boat to join the boat anchor.Miod Vallat
2007-07-26apparently this function cannot return EBUSY, so back out -r1.7;Jason McIntyre
from pjanzen; ok marc
2007-07-21- this page describes getpgid.2 tooJason McIntyre
- describe when "pid" is zero; from Kristaps Dzonsons ok millert
2007-07-20Initialize the locks in key_table. On hppa _SPINLOCK_LOCKED is 0, so anMark Kettenis
uninitialized lock ends up in a locked state. This lead to a deadlock if we called pthread_key_create(). ok marc@, kurt@
2007-07-19kern.timecounter.timestepwarnings may be altered; from Kristaps DzonsonsJason McIntyre
2007-07-17document "pid"; based on a diff from Kristaps DzonsonsJason McIntyre
ok otto
2007-07-16HW_SENSORS was never really a 'struct', and nowadays it is definitely a 'node'Constantine A. Murenin
2007-07-16under HW_SENSORS, mention <sys/sensors.h>, similarly to KERN_SYSVIPC.*; ok jmcConstantine A. Murenin
2007-07-15fix typo: s/sensorsdev/sensordev/Constantine A. Murenin
2007-07-11add a STANDARDS section, as requested by itojun;Jason McIntyre
ok otto
2007-07-08Report the correct stack size and top for the primordial thread inKurt Miller
pthread_stackseg_np(). With input and okay marc@
2007-07-07On hppa, function pointers may be be pointers to PLT entries. Handle thoseMark Kettenis
by replicating part of $$dyncall in the code that sets up a thread's initial stack frame. Also make sure we actually reserve some space for that initial stack frame. ok miod@
2007-07-06Reference limits.h, not sys/param.h since we document using PATH_MAXTodd C. Miller
OK otto@
2007-07-03from Nicholas Marriott:Jason McIntyre
ttyname_r returns an error number, rather than setting errno. ok millert
2007-07-03from ginsbach@netbsd, -r1.18:Jason McIntyre
Document that getopt_long(3) can and will accept unique abbreviated long option names. This feature has been present since getopt_long(3) was first released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior. ok millert
2007-06-30Update to tzcode2007f from elsie.nci.nih.govTodd C. Miller
2007-06-29Document behavior when no conversion could be performed. AdaptedTodd C. Miller
from FreeBSD. With help from jmc@.
2007-06-26It seems st_size is not always a good estimator for the number ofRay Lai
directory entries. ZFS, for instance, sets st_size to the number of entries. Use the same algorithm for the initial estimate but keep a minimum to prevent a divide by zero. When the buffer is filled, instead of re-using the same flawed algorithm, double the buffer size. Also add check for integer overflow. Bug reported by Ed Ravin, ZFS testing environment provided by Bryan Allen. OK millert
2007-06-21The `len' argument is guaranteed to be > 0 upon successful completion.Moritz Jodeit
ok jmc@ ray@ millert@
2007-06-18Bring back Mickey's UVM anon change. Testing by thib@, beck@ andPedro Martelletto
ckuethe@ for a while. Okay beck@, "it is good timing" deraadt@.
2007-06-12``dot'' notationJason McIntyre
is more readable than `.' notation zap some silly .Tn whilst here;
2007-06-11Document the Bluetooth network protocols and mention that there is AF_BLUETOOTHUwe Stuehler
2007-06-07convert some displays to lists, since the format is more suitable;Jason McIntyre
plus a little cleanup;
2007-06-05_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, soKurt Miller
isolate its usage to libpthread only and replace with generic non-static mutex support in the one place it is needed: - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the functions weak so that libpthread can override with its own new versions that do the locking. - remove _thread_fd_lock/unlock() weak functions from libc and adjust libpthread for the change. - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc to support non-static mutexes in libc and add libpthread and librthread implementations for them. libc can utilize non-static mutexes via the new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can support both static and non-static mutexes but currently only using them for non-static. - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe for both thread libraries by using a non-static mutex in the struct _dirdesc (typedef DIR), utilizing it in the *dir functions and remove remaining and incorrect _FD_LOCK/UNLOCK() use in libc. - add comments to both thread libraries to indicate libc depends on the current implementation of static mutex initialization. suggested by marc@ - major bump libc and libpthread due to function removal, structure change and weak symbol conversions. okay marc@, tedu@
2007-06-05remove ipx-related stuff. objections nobody. major bump by kurt in a fewHenning Brauer
2007-06-05typosKurt Miller
2007-06-05one more IPX removal; ok henningJason McIntyre
2007-06-04Remove evhttp leftover, okay millert@Pedro Martelletto
2007-06-02safer snprintf construct with more paranoid length calculationPeter Valchev
ok millert
2007-06-01more adosfs removal;Jason McIntyre
2007-06-01mark the non-handling of 48 bits units with XXXOtto Moerbeek
2007-06-01amd64 version of __signbit() (pedro sized quad floats... really just IEEEJason Wright
extended padded to 16 bytes)
2007-06-01add __signbitl() for 68881 (not used yet)Jason Wright