summaryrefslogtreecommitdiffstats
path: root/libexec/rpc.rstatd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix pointless cast: (struct timezone *)0 -> NULLcheloha2019-08-091-2/+2
|
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-282-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.
* bzero -> memsettedu2017-05-271-2/+2
|
* Pull in <sys/time.h> for struct timespecguenther2016-08-271-1/+2
| | | | ok deraadt@
* knock out duplicate rcs id;jmc2015-12-011-3/+1
|
* rpc.rstatd(8) and rpc.rusersd(8) don't run as user nobody for quite some time.tim2015-12-011-4/+4
|
* Remove superfluous check; "Of course" deraadt@tim2015-12-011-8/+6
|
* Remove unused errstr variable.millert2015-10-051-2/+1
|
* Convert many atoi() calls to strtonum(), adding range checks and failurederaadt2015-04-181-3/+5
| | | | | handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
* document missing argument; ok jmcderaadt2015-04-141-3/+11
|
* delete some rpc fd_set related externs which are not usedderaadt2015-03-131-4/+1
|
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-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)
* Nuke some obvious #include duplications.krw2014-11-181-2/+1
| | | | ok espie@ deraadt@ millert@ tedu@
* obvious reallocarrayderaadt2014-10-111-3/+3
|
* Remove non-standard <sys/dkstat.h> header. It has not contained anythingmiod2014-09-151-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@
* zap trailing newlines; "go for it" deraadtokan2014-07-161-2/+1
|
* decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hderaadt2014-07-081-3/+1
| | | | | don't need to be married. ok guenther miod beck jsing kettenis
* undo malfunctionmiod2013-05-151-1/+1
|
* Don't display swapin/swapout uvmexp fieldsmiod2013-05-141-3/+3
|
* Oracle has re-licensed sunrpc under a three-clause BSD license.millert2010-09-011-26/+26
| | | | Update our sources appropriately. OK deraadt@ jsg@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-272-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
* Do not fall back to using nobody if _user is missing, butthib2009-05-201-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@
* convert to new .Dd format;jmc2007-05-311-3/+3
|
* use poll() instead of select(), pr4502, alexander.farber@gmail.comderaadt2005-09-161-23/+22
|
* more signal flag races; ok miod@otto2004-09-161-3/+3
|
* ARGSUSED signal handlerderaadt2004-09-152-4/+6
|
* IPv6 support.brad2004-06-021-3/+3
| | | | | | From NetBSD ok millert@
* new arg to disk_unbusy, to record separate read/write statistics.tedu2004-02-151-3/+3
| | | | | looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
* Inline the cleanup() routine since it is no longer a signal handlermillert2004-01-071-13/+8
| | | | | and is only called in one place. It now does a proper exit() instead of _exit(). OK deraadt@
* term 3 cleanup, ok from brezakderaadt2003-12-121-9/+4
|
* spacesderaadt2003-07-291-3/+3
|
* protosderaadt2003-07-052-7/+9
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* use LOG_NDELAY in chroot() using daemonsderaadt2003-01-201-4/+4
|
* use socklen_t more; henning okderaadt2002-09-061-3/+4
|
* 5 new uid/gid sets; millert okderaadt2002-07-151-3/+5
|
* screw the MLINKSderaadt2002-06-291-2/+1
|
* document /var/empty chrootderaadt2002-06-291-3/+10
|
* correct uid handling; markusderaadt2002-06-281-3/+3
|
* go back to running these as root from inetd. however once rpc.{rusersd,rstatd}deraadt2002-06-282-38/+50
| | | | | starts, do a chroot to /var/empty and change to user nobody. hi mom, i'm in jail!
* no need for -lkvm anymorederaadt2002-05-231-4/+4
|
* string.hderaadt2002-03-241-2/+3
|
* Part 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.millert2002-02-162-12/+12
|
* create own svc_run(), which can do updating outside of a signal handlerderaadt2001-11-182-17/+73
|
* new vm includes.art2001-11-061-3/+2
|
* rstat_timeval is not the same as timevalderaadt2001-10-301-4/+5
|
* o Remove #if{,n}def BSD stuffmillert2001-10-021-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.
* some signal race whackingderaadt2001-09-191-19/+19
|
* -Wallderaadt2001-07-082-9/+17
|
* UVM is no longer an optionart2001-06-272-34/+3
|