summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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@
2006-10-17Don't grab _FD_LOCK and queue up behind other threads asKurt Miller
this can potentially block indefinitely. Instead just protect against fd state transitions and perform the _thread_sys_shutdown(). Fixes deadlock reported by Tero Koskinen <tero.koskinen at iki.fi>. okay kettenis@
2006-10-16various improvements;Jason McIntyre
based on -r1.22 from freebsd (i386 version anyway), submitted by andreas fuchs, improved by ru@freebsd, then again by myself and mickey ok mickey
2006-10-16s/ip/ip6/Ryan Thomas McBride
2006-10-16Document net.inet.ip.multipath and net.inet6.ip6.multipath.Ryan Thomas McBride
2006-10-15mark up `>';Jason McIntyre
2006-10-14Add a CAVEAT section that describes how to properly trim a newline fromChad Loder
a string, being careful to deal with 0-length strings. Help and input from jmc, ok deraadt
2006-10-14architecture sh (landisk) is little endian.Dale Rahn
2006-10-14Make fgets description much clearer with respect to its exact behavior.Chad Loder
OK and input from deraadt, jmc, millert.
2006-10-14freebsd -r1.21:Jason McIntyre
Document what "msgsz" argument really denotes; from brian candler (freebsd pr #101145) Don't say that "msgsz" can be less than 0, it cannot as it's unsigned (POSIX has the same bug); from ru@freebsd ok millert deraadt
2006-10-14sync with <sys/stat.h>;Jason McIntyre
from simon barner (freebsd pr #57153); ok millert deraadt
2006-10-13__mips64__ handling too.. sighTheo de Raadt
2006-10-12sparc64 should be in the #ifdefTheo de Raadt
2006-10-12use __amd64__ instead, until lint is fixedTheo de Raadt
2006-10-12reorder #if tests because apparently on amd64 cpp proceeds to blow it'sTheo de Raadt
own brains out, and then takes lint down with it. To be investigated...
2006-10-11Initial config for sh, copied from arm.Jonathan Gray
ok miod@ drahn@
2006-10-11SIGCONT may be sent to any process with the same session ID as the caller,Jason McIntyre
not to any process that is a descendant of the current process. from ryan younce (freebsd pr #58710); confirmed by otto and ok
2006-10-11be specific about what we mean by a "slow device";Jason McIntyre
kick started by netbsd pr 19603 from kevin p. neal. rillig@netbsd seems to have adapted that, and i have in turn adapted it again; ok otto
2006-10-11and I forgot ldexp.cDale Rahn
2006-10-11build modf.cDale Rahn
2006-10-10Preliminary userland bits for OpenBSD/landisk, many things coming fromMiod Vallat
NetBSD.
2006-10-10Teach'em about cpus in spandexMiod Vallat
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2006-10-10MLINKS to macros described in stat(2)Theo de Raadt
2006-10-10system call changes (the file says "changes", leaving it purposelyTheo de Raadt
vague like that) REQUIRE a major crank. Yet it was not done for getcwd. Now a lot of people are going to get screwed
2006-10-10libc/shlib_versionTheo de Raadt