summaryrefslogtreecommitdiff
path: root/usr.bin/rdist
AgeCommit message (Collapse)Author
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedTheo de Raadt
to just be 0/1 ok miod florian
2015-01-21Assume NFS_CHECK and RO_CHECK are defined.Philip Guenther
We only need the dev_t and not the entire struct stat in mntinfo. Delete some superfluous casts.
2015-01-21Reduce opt_t from long to int.Philip Guenther
Debug message consistency: format opts with %#x and modes with %#04o
2015-01-21Remove unsafe micro-optimization of *bit test*Philip Guenther
2015-01-20Split out from rdist/defs.h the client-only and server-only bits intoPhilip Guenther
rdist/client.h and rdistd/server.h Only put #includes in .h files that are necessary for the .h to be used; all other #includes go in the .c files Move all extern variable declarations to the .h files, renaming local variables to avoid shadowing Replace me_type member of mntent_t with an "is NFS?" flag bit
2015-01-20We all have syslog() now; assume LOG_PID and LOG_DAEMONPhilip Guenther
2015-01-20Move MF_* to message.c tooPhilip Guenther
2015-01-20Move struct distoptinfo into distopt.c, killing the DISTOPTINFO typedefPhilip Guenther
Move struct msgtype and msgfacility into message.c, killing the MSGTYPE and MSGFACILITY typedefs Make getdistopt() static to distopt.c
2015-01-20Don't use utime(), so don't need <utime.h>Philip Guenther
2015-01-20SELECT_FD_TYPE is obsoletePhilip Guenther
2015-01-20Move #include <syslog.h> to the one file that needs itPhilip Guenther
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
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-07-12The statdb code has never been complete herePhilip Guenther
2014-07-12Kill never enabled #ifdefsPhilip Guenther
2014-07-12config-def.h is now unnecessary; merge config-data.h into defs.hPhilip Guenther
2014-07-12Kill os-openbsd.h: we have <paths.h>, _PATH_RSH, and utimes()Philip Guenther
2014-07-12SETARGS and NEED_HASMNTOPT paths are dead; rshrcmd() and libz stuff arePhilip Guenther
no longer (were never?) used
2014-07-12Deleted unused local prototypes for systems stuffPhilip Guenther
2014-07-12No really, assume POSIX: errno is declared for us and sys/stat.h hasPhilip Guenther
S_IX{USR,GRP,OTH}
2014-07-12Delete unused globalPhilip Guenther
2014-07-12Eliminate some annoying variable shadowingPhilip Guenther
2014-07-12Yes, we have setproctitle(). Delete that and several unused HAVE_* #definesPhilip Guenther
2014-07-12Unused variable from oldrdist cleanupPhilip Guenther
2014-07-11delete all traces of oldrdist -Server command. ok beck guentherTed Unangst
2014-07-10Missed a chunk of the previousPhilip Guenther
2014-07-10fleanse out oldrdist supportTed Unangst
2014-07-10Assume POSIX: write() takes size_t and returns ssize_tPhilip Guenther
2014-07-05Assume we have getfsstat(); simplify the interface to the *mountent()Philip Guenther
wrappers
2014-07-05Assume BSD44: statfs()Philip Guenther
2014-07-05Our fork() never missesPhilip Guenther
2014-07-05Assume POSIX: sigrocmask()Philip Guenther
Properly use SIG_SIGMASK to restore previous mask
2014-07-05Assume POSIX: lchown(), fchown(), fchmod(), fchmodat()Philip Guenther
Assume we have rcmdsh()
2014-07-05Assume POSIX: uid_t and gid_tPhilip Guenther
2014-07-05Assume POSIX: <dirent.h>, struct direntPhilip Guenther
2014-07-05Assume POSIX: waitpid(), select(), and <sys/select.h>Philip Guenther
2014-07-05Assume C89: stdargs, const, and setvbuf()Philip Guenther
Assume POSIX: O_NONBLOCK and S_IS{DIR,REG,LNK}
2014-07-05ELF uberalles!Philip Guenther
2014-07-05Delete ancient unused demo cronjobPhilip Guenther
2014-07-05Use xcalloc() in waitup(): the calloc fails, simply returning ain't gonnaPhilip Guenther
help
2014-07-05Use void* in malloc/realloc/calloc wrappersPhilip Guenther
2014-07-04Convert a malloc+memset to a callocPhilip Guenther
based on diff from Benjamin Baier (programmer (at) netzbasis.de)
2014-06-07remove last few uses of __PTheo de Raadt
2014-04-24simpler description for -P, avoiding the need to discuss rsh;Jason McIntyre
2014-04-19change some rsh references to ssh. poke by jmcTed Unangst
2014-02-13make .Ic markup consistent; from Jan Stary <hans at stare dot cz>Ingo Schwarze
while here, mark up a argument placeholders as .Ar, not .Ic
2013-12-21Constipate some functionsPhilip Guenther
2013-10-20catch up with elf(5)/stab(5) removal;Jason McIntyre
ok miod
2013-08-18Fix calls to printf-like functions which passed a non-fixed stringPhilip Guenther
as the format and no variable args. Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied on numeric conversions when a precision is specified. ok jung@ millert@ krw@
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2012-11-12Once a C_RECVDIR command is sent, a matching C_END command has to bePhilip Guenthe
sent later, even if the opendir() fails or the nodescend option is set. ok krw@, ian@