summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
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
2009-06-04simplify the 'family' option parser and make it more evident what we'rePierre-Yves Ritschard
2009-06-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
2009-06-04fix two obvious typosIngo Schwarze
2009-06-04Don't assume that we can overwrite strings in the environment.Todd C. Miller
2009-06-04Add a resolv.conf option to specify the order in which getaddrinfoPierre-Yves Ritschard
2009-06-04in case a handling a +groupname:*:: entry fails due to lack of memory,Ingo Schwarze
2009-06-04Proper error handling in clntraw_create:Ingo Schwarze
2009-06-03State that clnt{raw,udp}_create can fail.Ingo Schwarze
2009-06-03Ensure there is a statement after a label.Jonathan Gray
2009-06-03crank libc majorTheo de Raadt
2009-06-03Take advantage of the surprise libc bump to bring inIngo Schwarze
2009-06-03Make putenv(), setenv() and unsetenv() standards compliant. TheTodd C. Miller
2009-06-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ar...Janne Johansson
2009-06-03Don't postpone memory allocation for the error message to the error handler:Ingo Schwarze
2009-06-02Set errno to EINVAL when fgets is given a non-positive size.Ray Lai
2009-06-02- define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13)Jasper Lievisse Adriaanse
2009-06-02When authnone_create fails, do not leave behind a NULL cl_auth attribute,Ingo Schwarze
2009-06-02make the documentation of {svc,clnt}*create complete and correctIngo Schwarze
2009-06-02tweak previous;Jason McIntyre
2009-06-01When an RPC client program encounters ENOMEM while trying to printIngo Schwarze
2009-06-01Use the md atomic code on mips64 instead of the horrid slow code. Should haveMiod Vallat
2009-06-01A much better atomic lock routine.Miod Vallat
2009-06-01Correct the _atomic_lock() asm so that gcc accepts the constraintsPhilip Guenthe