summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
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.
2002-01-12document net.inet.icmp.redir{accept,timeout}Eric Jackson
2002-01-11typoJun-ichiro itojun Hagino
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
2002-01-11document new sysctl for vfs.nfs.norsvportNathan Binkert
2002-01-10sigprocmask should return 0 on success, fixes powerpc ntpdate problem.Dale Rahn
2002-01-07If the handler for SIGCHLD is set to SIG_IGN, act as if theTodd C. Miller
SA_NOCLDWAIT (don't create zombies) flag has been specified. This is consistent with most other operating systems and is what XPG4.2 specifies.
2002-01-04system calls are made thru _thread_sys_* with weak symbols of the real nameDale Rahn
pointing to the _thread_sys_ version. ok pval, fgs
2002-01-04longjmp(..., 0) is not really legal, but all other archs I've lookedArtur Grabowski
at make sure that setjmp doesn't return 0 if longjmp is passed a 0. Avoid surprises.
2002-01-03Always have the real entry point to the syscall called _thread_sys_Artur Grabowski
and provide the real name as a weak alias. This is the last piece needed for libc_r on sparc64 (plus debugging).
2002-01-02label abort() from inside library as ILLEGALTheo de Raadt
2002-01-02KNFTheo de Raadt
2002-01-02more pid_t useTheo de Raadt
2002-01-02Grammar and format fixes.Aaron Campbell
2002-01-02Remove extra reference to poll.2. Spotted by form@.Mike Pechkin
millert@ ok;
2002-01-02Move the const qualifier to the right place. deraadt@ okThomas Nordin
2002-01-02Add missing .Os. deraadt@ okThomas Nordin
2001-12-29Two functions can return errors here, not just one.Miod Vallat
2001-12-26no way for this to be 'shared only', duhPeter Valchev
2001-12-15Document SIGTTIN and SIGTTOU now that we deal with them too.Todd C. Miller