summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-01-12full date in .Dd;Jason McIntyre
2004-01-12typo from jmc@Ted Unangst
2004-01-12new syscall closefrom(2). ok deraadt millertTed Unangst
2004-01-12document WAIT_ANY and WAIT_MYPGRP;Jason McIntyre
help and ok miod@
2004-01-12some comments on ffs sysctls, mainly dirhashTed Unangst
2004-01-11__sglue should be extern; from art@Todd C. Miller
2004-01-10auth_clean does not clear the options settingsTodd C. Miller
2004-01-10Don't clean options in auth_clean() which was introduced in rev 1.8.Todd C. Miller
login(1) depends on auth_clean() leaving options alone so this was API breakage. Verified to not make ftpd leak memory by mpech@.
2004-01-09Initialize procbase2 to 0 in _kvm_open(); Dan HarnettTodd C. Miller
2004-01-08Add missing include of poll.h to example code; Andre NathanTodd C. Miller
2004-01-08__init/__fini handling on ELF has not been correct. It is supposed toDale Rahn
be a section which code stubs (branches) can be added to initialize/destructor This adds MD stubs to allow this to operate as expected. should fix wine and behave according to ELF specs. ok miod@
2004-01-08in the description of ip.sourceroute, point people to securelevel(7), asJason McIntyre
for other sysctls affected by securelevel;
2004-01-08alphabetic order;Jason McIntyre
sort spacing;
2004-01-08Add MLINKs for kvm_getproc2() and friends.Todd C. Miller
2004-01-08use va_copy() with gcc 3 and up.Brad Smith
ok millert@ espie@
2004-01-08add dirhash sysctlsTed Unangst
2004-01-07document syn cache sysctl; ok deraadt, jmc, itojunMarkus Friedl
2004-01-07Sync PTRTOINT64 w/ kernel version and remove some unused vars.Todd C. Miller
2004-01-07Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that useTodd C. Miller
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our own kvm_arg_sysctl().
2004-01-07Implement KERN_PROC2 sysctl from NetBSD. This will allow us toTodd C. Miller
have ps and friends be independent of changes in struct proc et al in the kernel. OK deraadt@
2004-01-07amout -> amount; from tom@.Federico G. Schwindt
2004-01-06- Rename index to longindex and explain its use.Federico G. Schwindt
- Talk about zeroing the last element of the longopts array. - Remove '?' from the switch and some KNF to the code. - Change 0's to NULL where appropriate. jmc@ ok.
2004-01-05support NOTE_EOF; from marius aamodt eriksen; ok tedu, millertMarkus Friedl
2004-01-05Do not have non-dynamic crt0 depend upon libc's strrchr() function on a.out.Miod Vallat
2004-01-05Use correct type for old values. No binary change.Otto Moerbeek
ok mickey@ miod@
2004-01-04kill multi-line string; ok miodPeter Valchev
2004-01-04c++rt0 is a relic. It shall go away.Dale Rahn
2004-01-04c++rt0.o is a relic of long ago. tested on ELF drahn a.out miod, ok miod@Dale Rahn
2004-01-04zap multi-line literals; ok deraadtPeter Valchev
2004-01-03Fixes from FreeBSD's libc_rBrad Smith
rev 1.21 Make the libc_r version of select() set the readable or writable file descriptor bit if poll() returns POLLERR, POLLHUP, or POLLNVAL. Othewise, it's possible for select() to return successfully but with no bits set. rev 1.19 Return correct number of total bits set in all fd_set's. Change case of POLLNVAL as an error. Remove POLLHUP and POLLERR from one case, their place is most likely amongst read events. ok marc@
2004-01-02net.inet.carp.preempt is disabled by default.Ryan Thomas McBride
Pointed out by david@
2004-01-02use .Sq rather than .Dq, which, for some reason, is making -mdoc wobble;Jason McIntyre
2004-01-02add a section on thread safety, which is a start at documenting whichJason McIntyre
functions are not thread safe; started by a request from Marc Balmer to document that malloc(3) *was* thread safe, and expanded by marc@ to list functions that are not; also add some spacing to make the page more readable, and adjust the -width of a list; ok marc@
2004-01-01more cancellation points.Brad Smith
ok marc@
2003-12-31there is no pause() wrapper (thread_sys_pause) so remove the prototypeBrad Smith
2003-12-31undefer sigs in all paths through the join code.Marco S Hyman
Based upon patch/report from Marc Olzheim <marcolz at stack.nl>
2003-12-31Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)Todd C. Miller
in the libc rpc code. The main difference between this and the previous version is the use of a simple free list that simplifies the logic when adding a socket to svc_pollfd. I've also added code to pack svc_pollfd when the free list gets too big. The idea general idea is to keep svc_pollfd as tightly packed as possible to make poll(2) efficient. Tested by many people and OK deraadt@
2003-12-30sync protos with <netdb.h>;Jason McIntyre
from Andrey Matveev;
2003-12-29Avoid using gcc libstdc++ internals that we have no business grottingTodd C. Miller
around with. Fixes compilation under gcc 3.2. OK espie@
2003-12-28Mention session ID; OK deraadt@Todd C. Miller
2003-12-28elf(5) is relevant here too;Jason McIntyre
from Mathias K. Straede (PR 3619); ok miod@ deraadt@
2003-12-28correct array initializer size to be [1], not [0] fixes gcc3 libstdc++ errorDale Rahn
ok espie, millert
2003-12-27obvious typi inside an #ifdefHenning Brauer
FreeBSD PR 59674 via jmc@
2003-12-27o Do not drop unit when printing -100Otto Moerbeek
o Round negative numbers correctly o Do not print fractional valus for byte values ok ian@ henning@
2003-12-26Put this again, but this time make sure the compiler really does not frob theMiod Vallat
stack frame before we get a chance to tinker with it.
2003-12-26Revert - this was a bit premature.Miod Vallat
2003-12-25A much simpler and more readable start() routine...Miod Vallat
2003-12-25bootparams is right nameTheo de Raadt
2003-12-25Use an unsigned comparison against minbrk.Miod Vallat
ok deraadt@
2003-12-24In the never-ending story of *setjmp bugs, fix a typo preventingMiod Vallat
sigsetjmp(foo, !0) to work. Sigh.