summaryrefslogtreecommitdiff
path: root/libexec/rpc.rusersd/rusers_proc.c
AgeCommit message (Collapse)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
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-04-27Change len arg of getidle() from size_t to int since it is used asTodd C. Miller
a length parameter to a "%.*s" printf format. Quiets a compiler warning (both gcc and clang).
2016-08-16fread hasn't taken a char * in about 900 yearsTed Unangst
2013-11-13repair device checking, somewhat broken from around 10 years.Theo de Raadt
Bring things into prototypes and remove handling for old X utmp handling as well ok guenther millert
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)Theo de Raadt
ok guenther
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2004-11-04some delint, grudging ok from otto, because it is messy stuffTheo de Raadt
2004-04-28fd leaksTheo de Raadt
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-07-06bring protos into scopeTheo de Raadt
2002-06-30more care with utmp strings, and lseek fixes; moritz@jodeit.orgTheo de Raadt
2002-06-28go back to running these as root from inetd. however once rpc.{rusersd,rstatd}Theo de Raadt
starts, do a chroot to /var/empty and change to user nobody. hi mom, i'm in jail!
2002-06-09some misc cleanupTheo de Raadt
2002-05-22a bunch more strcpy -> strlcpy and sprintf -> snprintfTheo de Raadt
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.
2001-11-18blow away unused XIDLE signal race crapTheo de Raadt
2001-08-18i think this pads the buffers correctlyTheo de Raadt
2001-08-18strlcpy invades the treeTheo de Raadt
2001-07-08-WallTheo de Raadt
2001-01-28$OpenBSD$Niklas Hallqvist
2001-01-17use _exit() in signal handlers, and flag that the pmap_unset() calls are unsafeTheo de Raadt
1999-06-16Missed i386 -> __i386__Marc Espie
1997-07-09Use syslog(3), not fprintf(3) for error messages.kstailey
OSF is not the only OS that uses USER_PROCESS in ut_type.
1997-02-13Return idle time of 0, not -1 for users w/o a tty.Todd C. Miller
1996-09-22Make this work properly with corrected rnusers.xThorsten Lockert
Also implement protocol version 1 while at it
1995-12-16handle time_t things that really are not time_tTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt