summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-01-02net.inet.carp.preempt is disabled by default.Ryan Thomas McBride
Pointed out by david@
2004-01-02use .Sq rather than .Dq, which, for some reason, is making -mdoc wobble;Jason McIntyre
2004-01-02add a section on thread safety, which is a start at documenting whichJason McIntyre
functions are not thread safe; started by a request from Marc Balmer to document that malloc(3) *was* thread safe, and expanded by marc@ to list functions that are not; also add some spacing to make the page more readable, and adjust the -width of a list; ok marc@
2004-01-01more cancellation points.Brad Smith
ok marc@
2003-12-31there is no pause() wrapper (thread_sys_pause) so remove the prototypeBrad Smith
2003-12-31undefer sigs in all paths through the join code.Marco S Hyman
Based upon patch/report from Marc Olzheim <marcolz at stack.nl>
2003-12-31Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)Todd C. Miller
in the libc rpc code. The main difference between this and the previous version is the use of a simple free list that simplifies the logic when adding a socket to svc_pollfd. I've also added code to pack svc_pollfd when the free list gets too big. The idea general idea is to keep svc_pollfd as tightly packed as possible to make poll(2) efficient. Tested by many people and OK deraadt@
2003-12-30sync protos with <netdb.h>;Jason McIntyre
from Andrey Matveev;
2003-12-29Avoid using gcc libstdc++ internals that we have no business grottingTodd C. Miller
around with. Fixes compilation under gcc 3.2. OK espie@
2003-12-28Mention session ID; OK deraadt@Todd C. Miller
2003-12-28elf(5) is relevant here too;Jason McIntyre
from Mathias K. Straede (PR 3619); ok miod@ deraadt@
2003-12-28correct array initializer size to be [1], not [0] fixes gcc3 libstdc++ errorDale Rahn
ok espie, millert
2003-12-27obvious typi inside an #ifdefHenning Brauer
FreeBSD PR 59674 via jmc@
2003-12-27o Do not drop unit when printing -100Otto Moerbeek
o Round negative numbers correctly o Do not print fractional valus for byte values ok ian@ henning@
2003-12-26Put this again, but this time make sure the compiler really does not frob theMiod Vallat
stack frame before we get a chance to tinker with it.
2003-12-26Revert - this was a bit premature.Miod Vallat
2003-12-25A much simpler and more readable start() routine...Miod Vallat
2003-12-25bootparams is right nameTheo de Raadt
2003-12-25Use an unsigned comparison against minbrk.Miod Vallat
ok deraadt@
2003-12-24In the never-ending story of *setjmp bugs, fix a typo preventingMiod Vallat
sigsetjmp(foo, !0) to work. Sigh.
2003-12-23bump minorBrad Smith
2003-12-23Add stub implementations of pthread_[gs]etconcurrencyBrad Smith
From: FreeBSD' libc_r ok marc@
2003-12-23change the variable name used for status checking,Brad Smith
LIBC_R_DEBUG -> LIBPTHREAD_DEBUG ok marc@
2003-12-23Based upon a freebsd change:Marco S Hyman
If an application closes one of its stdio descriptors (0..2), an excessive close() on one of these descriptors would cause a memory for this descriptor to be allocated in the internal descriptor table. When this descriptor gets used again, e.g. through the call to open() or socket(), the descriptor would be erroneously left in the blocking mode, and the whole application would get stuck on a blocking operation, e.g., in accept(2). but changed to not eat fds when a file that the thread kernel doesn't know about is closed.
2003-12-23- uppercase idJason McIntyre
- kill some .Pp's before and after a list
2003-12-23Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(),Brad Smith
and sendto() cancellation points, as required by POSIX.1-2001. From: FreeBSD' libc_r ok marc@
2003-12-22Fix from FreeBSD' libc_rBrad Smith
rev 1.21 Fix bogus return values from libc_r's writev() routine in situations where a partial-write is followed by an error. ok marc@
2003-12-22Fixes from FreeBSD' libc_rBrad Smith
rev 1.21 Fix bogus return values from libc_r's write() routine in situations where partial-write is followed by an error. rev 1.22 If __sys_write() returns 0, allow that to exit the loop in libc_r's wrapped version of write(). rev 1.23 Return to the caller if write() returns 0. ok marc@
2003-12-20Fix unbounded scanf()'s. From Jared Yanovich. Ok tedu@.Matthieu Herrb
2003-12-20update sticky: note that setting the sticky bit on files is still possible,Jason McIntyre
but has no effect. Retain description of sticky files, but note that it is historical. Add small description of how current system works. Improve description of sticky directories. Remove references to ld(1). Remove no longer relevant BUG. much assistance and ok otto@ and tedu@
2003-12-19Speed up sbrk() one cycle by removing an unnecessary register shuffling.Miod Vallat
2003-12-19document hw.{cpuspeed,setperf} sysctls;Jason McIntyre
tweak and ok tedu@
2003-12-17add MLINKS for new functions;Jason McIntyre
2003-12-17sync man page with update to zlib 1.2.1;Jason McIntyre
2003-12-17- new sentence, new lineJason McIntyre
- kill whitespace at EOL - remove unnecessary .Pp
2003-12-17new options from marius@monkeyTed Unangst
2003-12-17HAVE_UNISTD_H is unused; nuke itTodd C. Miller
2003-12-17sync with sys/lib/libz; adds #ifdef SMALL and one more #ifndef SLOWTodd C. Miller
henning@ OK
2003-12-17#ifndef SLOW for consistency with sys/lib/libz/, not used for now;Henning Brauer
millert@ agrees
2003-12-16Remove old definition of crc_table that conflicts with new one whenTodd C. Miller
DYNAMIC_CRC_TABLE is defined. OK henning@
2003-12-16bump majorHenning Brauer
ok millert@ (previous as well)
2003-12-16total_in and total_out need to be off_t, not unsigned long.Henning Brauer
some bugs return: i fixed the same some months ago when we had this other gzip there. this bug resulted in wrong size stats for > 4GB files, and in the case that the input file was > 4GB and could be compressed to < 4GB gzip not zipping it as it would grow in its eyes.
2003-12-16update to zlib 1.2.1Henning Brauer
ok millert@ deraadt@
2003-12-14alignment fixes (e.g sparc 64); from Daniel Lucq; ok millert, henningMarkus Friedl
2003-12-12Document RLIM_SAVED_CUR and RLIM_SAVED_MAX; jmc@ OKTodd C. Miller
2003-12-12niels kindly dropped clause 3/4 from the license. tnx!Jun-ichiro itojun Hagino
2003-12-12we can skip arc4random() call here. markusJun-ichiro itojun Hagino
2003-12-11Add id_t type as per POSIX and use it for [gs]etpriority(2).Todd C. Miller
OK henning@ and deraadt@
2003-12-10Add an nfds_t type as per POSIX and also add pollfd_t like Solaris has.Todd C. Miller
2003-12-10correct non-repetitive ID code, based on comments from niels provos.Jun-ichiro itojun Hagino
- seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x". - skipping number is not needed, so disable it for 16bit generator (makes the repetition period to 30000)