summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2001-06-05repair copyright notices for NRL & cmetz; cmetzTheo de Raadt
2001-06-04oh, just include machine/asm.hMichael Shalayeff
2001-06-04entrieness cleanupMichael Shalayeff
2001-06-04add the file here too, to avoid confusionTheo de Raadt
2001-06-03Don't bail out early for users w/o passwd file entries since we mayTodd C. Miller
want to cons up a fake prompt for challenge/response auth methods. markus@ OK'd.
2001-06-03new license from Wietse; permits modification. This code is derived fromTheo de Raadt
logdaemon, so this applies: ftp://ftp.porcupine.org/pub/security/logdaemon_license
2001-06-03KERN_NPROCS documentationAngelos D. Keromytis
2001-06-03struct diskstats nowAngelos D. Keromytis
2001-06-01proto for dlerror() changedTheo de Raadt
2001-06-01missing wordjasoni
"function will non-zero" -> "function will return non-zero"
2001-05-31Fix another case of CHDIR("..") pointed out by Bruce EvansTodd C. Miller
<bde@zeta.org.au>. Instead of fixing these inline I've modified my fts_safe_changedir() function so it can be used in this case too. Thanks also to Kris Kennaway <kris@obsecurity.org>.
2001-05-31missing wordjasoni
"the temporarily lacks the resources" -> "the system temporarily lacks...."
2001-05-31knfTheo de Raadt
2001-05-31more typosTheo de Raadt
2001-05-31typos; first few spotted by heko@saitti.netTheo de Raadt
2001-05-30When changing directory to '..', verify that we really are whereTodd C. Miller
we should be. This is similar to the old fts bug but happens when popping out of directories, as opposed to descending into them. Patch based on one by Kris Kennaway <kris@obsecurity.org>. Issue reported by Nick Cleaton <nick@cleaton.net>
2001-05-30Complain via syslog if login.conf does not exist. With the BSDTodd C. Miller
authentication stuff in you really want to know if this file doesn't exist. The last two releases have shipped with /etc/login.conf so there's no excuse not to have it, other than an error.
2001-05-29mention setusercontext() return valueTodd C. Miller
2001-05-29fix the alpha after that last diff which was obviously not testedTheo de Raadt
2001-05-28Commonize csu code for elf systems, powerpc now no longer has it's ownDale Rahn
versions of these files. Fixed a bug in ld.so in this, instead of scheduling the fini of each of the shared libraries with atexit. schedule a function of ld.so itself and it will walk all of the open libraries when the program exits. otherwise a shared library could be dl_open()ed and then dl_close()d and then it would not be mapped for the atexit processing. TODO: What if atexit is not found (process did not link against libc?) Do shared libraries that are dl_closed have their global destructors run?
2001-05-25KerberosV stuff taken from Heimdal.Hans Insulander
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