summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2002-02-23Slightly improve wording and punctuation.Miod Vallat
2002-02-23Add a caveat section pointing out that people affecting the return valueMiod Vallat
of getopt() to char variables instead of int lose on arches where char is unsigned by default. Clean the example by not pasting parts of <unistd.h> into it, and by not using atoi(3).
2002-02-23.In -> .FdFederico G. Schwindt
2002-02-23fixes.Federico G. Schwindt
2002-02-23bump minor, EA support was added to libc.Dale Rahn
2002-02-23sysctl kern.usercryptoTheo de Raadt
2002-02-23Document KERN_SYSVIPC_INFO; from NetBSDTodd C. Miller
2002-02-23Add brief LOGIN_SETLOGIN caveat and point the user to setlogin(2)Todd C. Miller
for more info.
2002-02-23Add a big fat warning that setlogin() changes the login name for allTodd C. Miller
processes in the session. Adapted from FreeBSD. Also remove the paragraph in BUGS about the kernel login name being larger than what is in utmp--we now have login usernames in utmp.
2002-02-22manpages fixes, mostly from fgsch@ with cleanup and correction.Dale Rahn
2002-02-22Extended Attribute support, from FreeBSD/TrustedBSD. ok art@ deraadt@Dale Rahn
libc support pieces
2002-02-22note KTRFAC_EMULTheo de Raadt
2002-02-21remove rfork.o from the auto-generated assembler stubsArtur Grabowski
2002-02-19We need to keep K&R compat macros for some ports where the assemnbler isTodd C. Miller
still using -traditional-cpp.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-18Open console with O_NONBLOCK to avoid blocking on a locked console.Todd C. Miller
From David Malone
2002-02-17rfork() needs a fork.S-like stub as well; ok artTheo de Raadt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-16MI man page to document fpgetmask(3) and friends; from ross@NetBSD, ok deraadtPeter Valchev
2002-02-13indentTheo de Raadt
2002-02-10back out the no reserved port option for nfsNathan Binkert
2002-02-09Allow O_SYNC and O_NOFOLLOW flags in dbopen()Todd C. Miller
2002-02-08Document that close-on-exec is not touched in dup2 when oldd == newd.Artur Grabowski
2002-02-08fix typo, and put back stack frame opsMichael Shalayeff
2002-02-07reverse condition in the sp botchness check, we need to nullifyMichael Shalayeff
if we are ok not if we are bad. fix a pasto in branch w/in longjmps.
2002-02-07additional condition on reverse copy; from fredette@Michael Shalayeff
2002-02-06no need to interlock the register, use r0 as outputMichael Shalayeff
2002-02-06implement the setjmp/longjmp family, based on fredette@'s workMichael Shalayeff
2002-02-05o) Fix memory leak in _auth_checklogin(), auth_approval(), auth_close() andMike Pechkin
auth_clean(). Spotted via ftpd. We could use ftpd as a simple debug tool for bsdauth and login_cap routines. :) millert@ help&OK
2002-02-01Only squeeze a short key/value pair onto a page with other complete key/valueTodd C. Miller
pairs, not onto a page containing the end of a big pair; mycroft@netbsd.org
2002-02-01Return a useful errno value in the overflow case. Also, print aTodd C. Miller
message to stderr in one more case. mycroft@netbsd.org
2002-02-01If (keysize+datasize)%(bsize=14)==0, insertion of a `big key' would cause anTodd C. Miller
invariant (actually, an ugly hack) to fail, and all Hell would break loose. When deleting a big key, the offset of an empty page should be bsize, not bsize-1; otherwise an insertion into the empty page will cause the new key to be elongated by 1 byte. Make the packing more dense in a couple of cases. From mycroft@netbsd.org
2002-02-01After writing a page out to disk, run the page back through the user'sTodd C. Miller
input filter to ensure we don't end up with a cached copy of the page in the wrong byte-order for the host cpu. This fixes a fatal bug which bites when the DB 'lorder' is different to the cpu's, and a cached page is accessed soon after it was flushed to disk. From scw@netbsd.org
2002-02-01Fix a condition where the hole would be inserted in the wrong place during aTodd C. Miller
split; mycroft@netbsd.org
2002-01-31Fill in missing (default) mmap(2) flag MAP_FILE.Todd C. Miller
mycroft@netbsd.org
2002-01-31Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2).Todd C. Miller
Based on changes from NetBSD (thorpej).
2002-01-29Fix memory leak in setuserpath(). We prefer patch from millert@.Mike Pechkin
2002-01-28Fix memory leaks in login_getcapnum() and login_getcapsize().Mike Pechkin
millert@ ok
2002-01-24most of these is v2, not v6Michael Shalayeff
2002-01-24ellaborate on historyMichael Shalayeff
2002-01-24fix the history refsMichael Shalayeff
2002-01-23_THREAD_PRIVATE_MUTEX_UNLOCK() on error before returning; millert@ ok.Federico G. Schwindt
2002-01-23THREAD_UNLOCK() on error before returning; millert@ ok.Federico G. Schwindt
2002-01-23Fix memory leaks in login_getstyle(), login_getstr() and login_getcaptime()Todd C. Miller
2002-01-16compile sparc64 version of sha1.go with -O0, too. OK jason@Marco S Hyman
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
clobbered by longjmp / vfork instead of the gcc "(void)&foo;" hack.
2002-01-15MNAMELEN is 90, not 32; peterw AT ifost.org.auTodd C. Miller
2002-01-14If waitpid() return ECHILD that should not be a fatal error sinceTodd C. Miller
someone else could have waited for the process or zombies could be disabled via SIG_IGN or SA_NOCLDWAIT.
2002-01-12If the user passes in "" as the string to resolve the lstat() willTodd C. Miller
fail anyway so check for that. Also convert "." to "" since that way we avoid the lstat() (which we don't need) and the subsequent chdir() and some dir checks.