summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2009-07-24From NetBSD rev 1.5Jonathan Gray
2009-07-24Global Item #3 should be Physical Minimum not Maximum accordingJonathan Gray
2009-07-21Support KERN_FILE_TEXT here tooTodd C. Miller
2009-07-21Handle the case where so_pcb is NULL.Todd C. Miller
2009-07-15round, roundf, trunc, truncf for hppa; ok kettenis@Martynas Venckus
2009-07-15must include <sys/types.h> before including <login_cap.h> or <bsd_auth.h>;Ingo Schwarze
2009-07-14Don't specify mode(SI) attribute for __EH_FRAME_END__ as we haveJonathan Gray
2009-07-13Load symbol address with dla, not la; good thing userland is still limitedMiod Vallat
2009-07-12fwrite() should also return 0 if either size or nmemb are 0.Todd C. Miller
2009-07-09promote correct style for error checkingEric Faurot
2009-07-08correct kvm_getfile2 error stringTodd C. Miller
2009-07-06fe_towardzero not on openbsd. ok millert@Martynas Venckus
2009-06-30floor(3) should round towards -inf instead of towards zero.Mark Kettenis
2009-06-24Install ntfs includes and add libkvm (fstat) support. ntfs bitsTodd C. Miller
2009-06-23getgrouplist(3) used to and ought to return 0 on success;Ingo Schwarze
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2009-06-21abs conforms c99 -> imaxabs conforms c99. ok millert@Martynas Venckus
2009-06-20Move KREAD define to kvm_private.hTodd C. Miller
2009-06-20Split out cd9660 bits into their own .c file to avoid #define collisionsTodd C. Miller
2009-06-20use llabs instead of the home-grown version; and some comment changesMartynas Venckus
2009-06-20Add msdosfs support now that we have the headers.Todd C. Miller
2009-06-19Quiet a gcc warningTodd C. Miller
2009-06-16Do not break gcc -Z on powerpc. mprotect the got only if it is padded.Dale Rahn
2009-06-12YP client functions do not allocate memory when they fail;Ingo Schwarze
2009-06-11add missing headers needed by free(), memset(), getuid() and strlcpy().Charles Longeau
2009-06-11don't use freelist if it overruns; use heap memory instead notMartynas Venckus
2009-06-09document KERN_BUFCACHEPERCENT and KERN_MAXLOCKSPERUID; help/ok ogaJason McIntyre
2009-06-09nnpfspioctl change in libc mandates a major crank here toTheo de Raadt
2009-06-08quieten compiler by converting pointers to uintptr_t before truncating themTheo de Raadt
2009-06-07Define _KERNEL for the bare minimum. We can include sys/proc.hTodd C. Miller
2009-06-07Avoid including machine/cpu.hTodd C. Miller
2009-06-07de-spaghetti:Ingo Schwarze
2009-06-07fix a minor memory leak spotted by deraadt@; ok millert@ deraadt@Ingo Schwarze
2009-06-07Add kvm_getfile2 which uses KERN_FILE2 when possible, fallingTodd C. Miller
2009-06-07Add KERN_FILE2 sysctl analogous to KERN_PROC2 but for file structures,Todd C. Miller
2009-06-07Modify the uc_entries allocation check such that the lhs is a constant.Todd C. Miller
2009-06-07No need to malloc, copy, have a single read access, and free right away.Ingo Schwarze
2009-06-06In case of memory exhaustion, ypmatch_add may both leak memory and leaveIngo Schwarze
2009-06-06correct error codes after malloc(3) failure, as 0 means RPC_SUCCESS;Ingo Schwarze
2009-06-06use calloc() and realloc() more; ok schwarzeTheo de Raadt
2009-06-05Note that f_fsid gets cleared when caller is not the superuser. OK deraadt@Todd C. Miller
2009-06-05use calloc() to provide size * nitems safetyTheo de Raadt
2009-06-05use calloc() to provide size * nitems safety; ok millertTheo de Raadt
2009-06-05The yp_bind(3) return code now distinguishes "YP not active" from "an errorIngo Schwarze
2009-06-05malloc(3) failure should raise YPERR_RESRC, not YPERR_YPERR;Ingo Schwarze
2009-06-05improve yp_bind(3) error reporting after clnttcp_create(3) failure:Ingo Schwarze
2009-06-05When parsing a line stating with "+" or "-" in group(5),Ingo Schwarze
2009-06-05An empty sting cannot be used as a YP domain name,Ingo Schwarze
2009-06-05abort any time adjustment in progress if the clock is set with settimeofdayChris Kuethe
2009-06-05compare and shift buffer against a fixed length not strlen derived values.Pierre-Yves Ritschard