summaryrefslogtreecommitdiffstats
path: root/libexec/rpc.rstatd
AgeCommit message (Collapse)AuthorFilesLines
2019-08-09Fix pointless cast: (struct timezone *)0 -> NULLcheloha1-2/+2
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-5/+5
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2017-05-27bzero -> memsettedu1-2/+2
2016-08-27Pull in <sys/time.h> for struct timespecguenther1-1/+2
ok deraadt@
2015-12-01knock out duplicate rcs id;jmc1-3/+1
2015-12-01rpc.rstatd(8) and rpc.rusersd(8) don't run as user nobody for quite some time.tim1-4/+4
2015-12-01Remove superfluous check; "Of course" deraadt@tim1-8/+6
2015-10-05Remove unused errstr variable.millert1-2/+1
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failurederaadt1-3/+5
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
2015-04-14document missing argument; ok jmcderaadt1-3/+11
2015-03-13delete some rpc fd_set related externs which are not usedderaadt1-4/+1
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-2/+2
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-11-18Nuke some obvious #include duplications.krw1-2/+1
ok espie@ deraadt@ millert@ tedu@
2014-10-11obvious reallocarrayderaadt1-3/+3
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingmiod1-2/+2
related to disk stastics for almost 17 years, and the remaining userland-visible defines duplicate those found in <sys/sched.h>. Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and update all users to cope with this. ok kettenis@
2014-07-16zap trailing newlines; "go for it" deraadtokan1-2/+1
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hderaadt1-3/+1
don't need to be married. ok guenther miod beck jsing kettenis
2013-05-15undo malfunctionmiod1-1/+1
2013-05-14Don't display swapin/swapout uvmexp fieldsmiod1-3/+3
2010-09-01Oracle has re-licensed sunrpc under a three-clause BSD license.millert1-26/+26
Update our sources appropriately. OK deraadt@ jsg@
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2-11/+2
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-05-20Do not fall back to using nobody if _user is missing, butthib1-5/+6
error out. Add a new user _rwalld for rpc.rwalld, and use that instead of nobody, also unconditionally drop to _rwalld not only if rpc.rwalld was started with euid 0 (as root). ok deraadt@
2007-05-31convert to new .Dd format;jmc1-3/+3
2005-09-16use poll() instead of select(), pr4502, alexander.farber@gmail.comderaadt1-23/+22
2004-09-16more signal flag races; ok miod@otto1-3/+3
2004-09-15ARGSUSED signal handlerderaadt2-4/+6
2004-06-02IPv6 support.brad1-3/+3
From NetBSD ok millert@
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.tedu1-3/+3
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
2004-01-07Inline the cleanup() routine since it is no longer a signal handlermillert1-13/+8
and is only called in one place. It now does a proper exit() instead of _exit(). OK deraadt@
2003-12-12term 3 cleanup, ok from brezakderaadt1-9/+4
2003-07-29spacesderaadt1-3/+3
2003-07-05protosderaadt2-7/+9
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
rescinded 22 July 1999. Proofed by myself and Theo.
2003-01-20use LOG_NDELAY in chroot() using daemonsderaadt1-4/+4
2002-09-06use socklen_t more; henning okderaadt1-3/+4
2002-07-155 new uid/gid sets; millert okderaadt1-3/+5
2002-06-29screw the MLINKSderaadt1-2/+1
2002-06-29document /var/empty chrootderaadt1-3/+10
2002-06-28correct uid handling; markusderaadt1-3/+3
2002-06-28go back to running these as root from inetd. however once rpc.{rusersd,rstatd}deraadt2-38/+50
starts, do a chroot to /var/empty and change to user nobody. hi mom, i'm in jail!
2002-05-23no need for -lkvm anymorederaadt1-4/+4
2002-03-24string.hderaadt1-2/+3
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2-12/+12
2001-11-18create own svc_run(), which can do updating outside of a signal handlerderaadt2-17/+73
2001-11-06new vm includes.art1-3/+2
2001-10-30rstat_timeval is not the same as timevalderaadt1-4/+5
2001-10-02o Remove #if{,n}def BSD stuffmillert1-158/+36
o Replace nlist and kvm_* with sysctl() and getifaddrs(3) Fixes an issue on alpha where we would run off the end of the interface list.
2001-09-19some signal race whackingderaadt1-19/+19
2001-07-08-Wallderaadt2-9/+17
2001-06-27UVM is no longer an optionart2-34/+3