summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2001-05-24Fix fragment handling for SNDCTL_DSP_GETxSPACE ioctls; per NetBSD PR/12796.Aaron Campbell
The kernel part of this fixes sound emulation for version 1.37c of the Linux binary of Snes9x (Super Nintendo emulator). The userland equivalent fix should allow espie to remove his local audio hacks in the squeak port.
2001-05-22Initial commit of libsectok (secure token)Jim Rees
used for ISO 7816 smart cards and iButtons, but also extensible to other types of secure tokens. Also include a "driver" (dynamic library) for the Todos reader.
2001-05-20Correct interval notation (<= vs. <); tadayuki@mediaone.netTodd C. Miller
2001-05-19oopsArtur Grabowski
2001-05-19Make this actually compileTodd C. Miller
2001-05-18Convert lseek/{read,write} pairs into pread and pwrite.Artur Grabowski
from my todo list, work by Jonathon Fletcher <jonathon.fletcher@pobox.com>.
2001-05-17Repair a fprintf message lacking one parameter.Miod Vallat
Found by having a look at the recent TPE patches, which fixes libkvm but not libkvm.old...
2001-05-17don't copy past end of record in readdir_r (ok by art)Jim Rees
2001-05-15Make path length variables size_t. This fixes the problem whereTodd C. Miller
things like rm can't remove files with ridiculously long path names that were created by some script kiddie trying in vain to exploit something. Previously, the length was effectively constrained to USHRT_MAX due to one of the internal structs. Also, nuke FTS_CHDIRROOT since it never worked correctly and hasn't been documented for a long time.
2001-05-14Split synopsis, plain read/write don't need uio.Marc Espie
2001-05-14Update, sync with reality. deraadt@okAngelos D. Keromytis
2001-05-13unsigned -> unsigned int; grange@rt.mipt.ruTodd C. Miller
2001-05-13type of function on seperate lineTheo de Raadt
2001-05-11PowerPC is big endian, not little endian. This fixes isinf() and isnan()Dale Rahn
2001-05-11-1 -> MAP_FAILEDArtur Grabowski
2001-05-11MAP_COPY -> MAP_PRIVATEArtur Grabowski
2001-05-11Add back MAP_COPY. Just describe why it shouldn't be used.Artur Grabowski
2001-05-11Remove MAP_COPY. It shouldn't be used anymore.Artur Grabowski
2001-05-11MAP_SHARED is better. Maybe we're trying to map /dev/ksyms.Artur Grabowski
And we'll never write to those mappings anyway.
2001-05-11MAP_COPY -> MAP_PRIVATEArtur Grabowski
2001-05-11Update with new sysctl'sAngelos D. Keromytis
2001-05-10Use madvise(MADV_FREE) to allow the 'h' option.Artur Grabowski
(the code was already there, just not enabled).
2001-05-10Slightly better explaination of the advices (cut 'n paste from sys/mman.h isArtur Grabowski
not good documentation) and document the new ones. Also, remove the BUGS section that said it wasn't implemented.
2001-05-07Document boundary condition when size < strlen(dst).Todd C. Miller
2001-05-07Back out last change, it is intended behavior and update the blockTodd C. Miller
comment to reflect this fact. Too early in the morning for me I guess.
2001-05-07strlcat() should return strlen(dst) + strlen(src) when size parameterTodd C. Miller
<= strlen(dst). Bug report by mark.murnane@ireland.sun.com via the GNOME folks.
2001-05-05Prototype for nice() lives in unistd.h, not nlist.h (pasto?)Todd C. Miller
2001-05-05Add missing __syscall() proto to fix pread() & friends on big endianTodd C. Miller
machines. Found by me, solved by Theo ;-)
2001-05-05Document KERN_PROC_KTHREADAngelos D. Keromytis
2001-05-01Use pread() to avoid lseek() abuse, from art's todo list. Tested withAaron Campbell
config(8) UKC; millert@ ok
2001-04-23Various man page fixes and improvements from gluk@Aaron Campbell
2001-04-23crank crypto lib version, just in caseTheo de Raadt
2001-04-23crank ssl lib version, just in caseTheo de Raadt
2001-04-23import DSA changes from 0.9.6a (Bleichenbacher attack), ok provos@/deraadt@Markus Friedl
2001-04-22CRT and DH+SSL fix from 0.9.6a, ok provos@/deraadt@Markus Friedl
2001-04-22In the verbiage for MNT_SOFTDEP add a reference to 'softdep' inKenneth R Westerback
mount(8). ok deraadt@
2001-04-20Fix an incorrect memset() in __grow_type_table(); dk@homepage.ruTodd C. Miller
While I was there I noticed and fixed a bogus realloc(). We should really check malloc/realloc return values and deal sanely but that will have to be done later. Theo OK'd
2001-04-18Most of the systems we run on require an emulated EMODD, so avoid usingHugh Graham
it if a CVTDL would do instead. This path is 80x faster on such systems, and falling back to EMODD if necessary hurts little. Helps programs like nawk, a heavy modf user.
2001-04-17Add an x509v3.cnf in /etc/ssl so that creating certificate authoritiesBob Beck
form isakmpd works. From Tim Newsham <newsham@lava.net> ok provos@
2001-04-16Man page for hsearch/hcreate/hdestroy from NetBSDTodd C. Miller
2001-04-13Another case where we need to use u_char, not char for arrayTodd C. Miller
subscripts to avoid buf[-1] problems. Also add a missing include of unistd.h. OK'd by Theo
2001-04-13signess bug; jwaterman@yaleroad.comTheo de Raadt
2001-04-0931 vs 32; ianm@cit.uws.edu.auTheo de Raadt
2001-04-05remove extra continue statementsTheo de Raadt
2001-04-05Updates and corrections from gluk@ after recent softupdates changes.Aaron Campbell
2001-04-03Add missing return type to dn_comp() prototype in SYNOPSIS; matt@anzen.comAaron Campbell
2001-04-02use a len in g_Ctoc, easier code; freebsdTheo de Raadt
2001-03-30typoPaul Janzen
2001-03-29fix fork, brk/sbrk; rcsid embeddingMichael Shalayeff
2001-03-28C++ wrapping; dmcmahill@netbsd.orgTheo de Raadt