summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2006-07-09grammar tweak, on re-read;Jason McIntyre
2006-07-09- clean up the SOCK_RAW textJason McIntyre
- remove the SOCK_RDM text; suggested by krw - Xr inet(4) and inet6(4)
2006-07-04fix prototype of wcstombs; from TAKAHASHI TamotsuOtto Moerbeek
2006-07-04allocate gsalt large enough; from Matthew R. Dempsky <mrd at alkemioOtto Moerbeek
dot org>; ok djm@ deraadt@
2006-06-20Mention that only the superuser may adjust the frequency. Like inRay Lai
adjtime(2), but less wordy. OK otto@, jmc@.
2006-06-14.Xr adjfreq and ntpdOtto Moerbeek
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.Otto Moerbeek
Loosely based on dragonfly code. Man page help fro jmc@; ok deraadt@
2006-06-06Fix 'double by a factor of two' and make cache options a bit morePedro Martelletto
descriptive while at it, input and okay jmc@
2006-06-04Add a CAVEATS section: other systems might have more restrictive adjtime(2).Otto Moerbeek
With help from jmc@; ok deraadt@ jmc@
2006-06-04Allow any user to request the current adjustment; ok henning@ deraadt@Otto Moerbeek
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-26better words; mrd@alkemio.orgTheo de Raadt
2006-05-26let us not talk about ipsecadm and vpn anymore; ok reykTheo de Raadt
2006-05-19fix a !foo & bar.Thordur I. Bjornsson
ok miod@, tedu@, pedro@
2006-05-17Document recent sysctl additions.Gordon Willem Klok
ok jmc@, deraadt@
2006-05-15Adjust now that powerpc has PT_{GET|SET}FPREGS.Mark Kettenis
reminded by miod@
2006-05-15Handle empty terminal names more gracefully.Hugh Graham
Variously OK.
2006-05-14Fix the second malloc_ulimit regression: maintaining the free listOtto Moerbeek
requires memory; try to make sure we have it. If all fails, leak instead of crash. Test case originally found by cloder@, fix tested by many.
2006-05-09The int (32bit) argument must be sign extended on the 64 bit amd64 beforeDale Rahn
the add. ok miod@, toby@. olrite mickey@
2006-05-09Administrative changes for aviion, ok deraadt@Miod Vallat
2006-05-09typo from jan niemann; ok ottoJason McIntyre
2006-05-05Convert do {} while loop -> while {} for clarity. No binary changeTodd C. Miller
on most architectures. From Oliver Smith. OK deraadt@ and henning@
2006-04-29check mmap for failure. the helper functions using it return -1, butTed Unangst
callers do not yet check since printf() for example is not documented to return an error. some formatting cleanups. mostly ok deraadt millert
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-25strtonum does not require limits.hTed Unangst
spotted by ray some time ago
2006-04-24Do not leave an hole in the directory list if allocation of theOtto Moerbeek
region succeeds, but allocation a required page dir failed. This can happen if we're really close to ulimit after allocation the region of the size requested. See malloc_ulimit1 regress test. Tested by many; thanks.
2006-04-24Properly terminate ENTRY with a semicolon, required for asm profiling.Dale Rahn
ok miod, espie
2006-04-18delint; original from deraadt@ with fixes from tdeval@ and me;Otto Moerbeek
tested by quite a few developers. ok deraadt@
2006-04-18Clarify strlcpy code by explicitly naming variable `len' andRay Lai
separating out each step. Inspired during miscommunication with tedu@. OK deraadt@
2006-04-17fix badly broken code. okay millert@, deraadt@Marc Espie
2006-04-14Remove str2number(), use strtonum(3) instead.Ray Lai
Fix some type mismatches. Replace magic numbers. Remove superfluous strlen(3) calls. Earlier diff OK kjell@, OK deraadt@
2006-04-12document ESRCH; from kristaps johnson (pr #5074)Jason McIntyre
description lifted from kill(2), as pointed out by deraadt ok deraadt
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-04POSIX says tdelete() returns the parent of the deleted node. Sadly theOtto Moerbeek
root node doesn't have a parent, and POSIX does not say what should be done in that case. Warn developers that different implementations may do different things.
2006-04-04When tdelete() is used to delete the root node, don't return aMoritz Jodeit
pointer to the freed root node, but return a pointer to the new root node. POSIX does not define, what should be returned in that case. Fixes Coverity CID 2528. ok millert@ otto@
2006-04-03a few size_t casts are needed here; ok ottoTheo de Raadt
2006-04-03be more careful with atoi() result; ok ottoTheo de Raadt
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2006-04-02kill atoi(), correct signedness of internal API gettype(); ok a few peopleTheo de Raadt
2006-04-02Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX andOtto Moerbeek
remove redundant check on size. ok millert@ deraadt@