summaryrefslogtreecommitdiff
path: root/lib/libc/gen
AgeCommit message (Collapse)Author
2006-09-24Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They wereKenneth R Westerback
not being used in the tree for anything obviously useful. Get it done early so we can find if there are non-obvious uses out there. ok deraadt@ beck@
2006-09-15sysctl(3) can return ESRCH; noted by Kristaps Johnson; ok miod@ jmc@Otto Moerbeek
2006-08-09Document error return when namelen is 0. OK jmc@Todd C. Miller
2006-08-04Add ENOMEDIUM and EMEDIUMTYPE to report medium errors to userland programsBob Beck
when using removable media devices, along with changes to scsi_base to detect such cases in tapes other devices. This makes tar, dd, and friends report a semi useful error message instead of nonsense when there is nothing in the device. Includes libc minor bump, and will require the corresponding sets change. ok krw@ deraadt@
2006-06-02document NFS_NIOTHREADS, with some pointers from mickey;Jason McIntyre
2006-05-29revert vfs.nfs.privport sysctl, broke a few architecturesAnil Madhavapeddy
requested by deraadt@
2006-05-28Add support for NFS mounts to be from non-reserved ports:Anil Madhavapeddy
- new sysctl vfs.nfs.privport to require NFS mount requests to be on reserved ports when set to 1 (the default). - mountd now automatically sets the sysctl depending on the -n flag. - add mountd_flags to rc.conf to enable the -n flag at boot. deraadt@ ok
2006-05-28VFS_GENERIC returns VFS info, not VM infoPedro Martelletto
2006-05-27Document net.inet6.ip6.mforwardingClaudio Jeker
2006-05-27System calls return -1 upon failure, so check for -1Pedro Martelletto
Pointed out by deraadt@
2006-05-27Don't leak memory if getcwd() was passed NULL and __getcwd() failsPedro Martelletto
Okay miod@ sturm@ deraadt@
2006-05-27Make libc's getcwd() use the new __getcwd() system callPedro Martelletto
Hacked by marius@ at c2k5, okay miod@ krw@ deraadt@
2006-05-26vpn.8 removal;Jason McIntyre
2006-05-26let us not talk about ipsecadm and vpn anymore; ok reykTheo de Raadt
2006-05-17Document recent sysctl additions.Gordon Willem Klok
ok jmc@, deraadt@
2006-05-15Handle empty terminal names more gracefully.Hugh Graham
Variously OK.
2006-05-09typo from jan niemann; ok ottoJason McIntyre
2006-04-27update descriptions for DBCTL_{CONSOLE,PANIC}: they may not be raisedJason McIntyre
when securelevel >0; based on a diff from nicholas marriott
2006-04-11duplicate in the safe listTheo de Raadt
2006-04-10telldir/seekdir optimization, avoid scanning the complete list,Otto Moerbeek
while still returning the correct index for seekdir(); telldir() Tested by Fred Crowson and others; "put it in" deraadt@
2006-04-09a few rlim_t casts, kind of ok otto and millertTheo de Raadt
2006-04-02kill atoi(), correct signedness of internal API gettype(); ok a few peopleTheo de Raadt
2006-04-01- Plug huge mem leak; mostly samba was suffering.Otto Moerbeek
- Fix semantics: seekdir(pos); telldir() shoud return pos. The code that implements this will be made faster in a later commit. - We loose documented behaviour (after closedir() the telldir() positions are not valid anymore). This was never in Posix, and most other systems have nothing like it. Diff originally from Paul Thorn, rewritten by me using some FreeBSD code. "slap it in" deraadt@
2006-03-31No longer need limits.hTodd C. Miller
2006-03-31nfds is not constrained by OPEN_MAX for nftw(), only ftw()Todd C. Miller
2006-03-31Document NET_RT_STATS.Claudio Jeker
2006-03-31(char)to{upper,lower}()Theo de Raadt
2006-03-31after we changed mode_t to be an int, the devname() man page wasTheo de Raadt
updated but the function itself never was; ok millert
2006-03-25Fix description of KERN_VNODE, okay deraadt@Pedro Martelletto
2006-03-22Simplify cgetnext(3) by using strcspn(3).Ray Lai
OK jaredy@ and otto@
2006-03-18In all these cases pfp != NULL. I also sneaked in some KNF.Ray Lai
Okay jaredy, millert@, and otto@
2006-03-12Cleanup to avoid a save errno dance; from Andrey Matveev; ok pat@Otto Moerbeek
jaredy@ ray@
2006-03-10Don't dereference NULL pointer if file is truncated.Ray Lai
Sync with cap_mkdb(1). ok otto and millert
2006-01-13Remove neither documented nor found in any spec ctermid_r() function - ctermid()Miod Vallat
is reentrant in its current implementation anyway. Surfing on the recent major version bump, ok millert@ deraadt@
2005-12-19Use strlcpy() return value in bound check instead of using anTodd C. Miller
extra strlen(). This has been in my tree for a long time.
2005-12-02never say unsigned; say at least unsigned intTheo de Raadt
2005-11-30know __arm__ tooTheo de Raadt
2005-11-30timezone -> time zoneJason McIntyre
2005-11-29document KERN_ARND better; ok deraadt@Otto Moerbeek
2005-11-28some nice off_t casts to please lintTheo de Raadt
2005-11-28unused arg in internal static APITheo de Raadt
2005-11-24include more architectures in the list (even though some do not compileTheo de Raadt
this, but do it entirely in the compiler); ok miod
2005-11-12- note that basename() may modify the stringJason McIntyre
- section header WARNING -> CAVEATS while here from han boetes; ok deraadt@
2005-10-26Always set errno on error. Based on NetBSD. ok jaredy@ pat@Otto Moerbeek
2005-10-19once again: library routines should not check pointers and what errnoTheo de Raadt
with EFAULT. programmers ignore the error returns. please, please, please -- we want to crash so that the programmer will become aware of the bug and fix it instead. ok otto
2005-10-10fix a few warnings, keep the crypt stuff for later.Marc Espie
okay otto@
2005-10-07Document the recent changes to the multicast routing in the kernel.Esben Norby
from jmc@ ok jmc@
2005-10-05Clarify the return value and drop nonapplicable bugs section hastily pastedMiod Vallat
from ttyname(3). Feedback espie@ jmc@, ok deraadt@ jmc@
2005-10-04Fix use after free(). Bug found by mpech@; ok deraadt@Otto Moerbeek
2005-10-03remove traces of non-existent getfstype() function;Jason McIntyre
ok krw@ deraadt@