summaryrefslogtreecommitdiff
path: root/lib/libc/gen
AgeCommit message (Collapse)Author
2007-02-26Add SuperH to the architecture list which stack grow down, even though thisMiod Vallat
file is not used for them.
2007-02-21net.inet.esp.udpencap is enabled by default;Jason McIntyre
from jared rr spiegel: documentation/5385
2007-02-09The buffer passed to getdirentries() must be at least as large asTodd C. Miller
the filesystem block size. Previously we used a constant (1024) rounded to the page size. Now we use the filesystem's block size, rounded up to the nearest page.
2007-02-08g/c __DTF_READALL. It was a flag to the internal __opendir2() butTodd C. Miller
is never set now that the unionfs support has been removed from readdir(). OK pedro@
2007-01-08fix mem leak, from NetBSD; ok miod@ kettenis@Otto Moerbeek
2006-12-28reword a sentence and kill some trailing whitespace;Jason McIntyre
2006-12-23adapt to new two-level sensor sysctl framework; by Constantine A. MureninTheo de Raadt
2006-12-04confstr() should return 0, not (size_t)-1, on errors; from Guy Harris.Otto Moerbeek
ok millert@ and jmc@ for the man page bit.
2006-11-21introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).Jun-ichiro itojun Hagino
deraadt ok. manpage nit by jmc.
2006-10-26various fixes from wiz@netbsdJason McIntyre
2006-10-16s/ip/ip6/Ryan Thomas McBride
2006-10-16Document net.inet.ip.multipath and net.inet6.ip6.multipath.Ryan Thomas McBride
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
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