summaryrefslogtreecommitdiff
path: root/usr.bin/rsync
AgeCommit message (Expand)Author
2021-05-17Reshuffle if conditions to check for error first after the fstat() calls.Claudio Jeker
2021-05-17Do not leak blk.blks in error condition.Claudio Jeker
2021-05-17Adjust exit codes in the main program to follow the ones from rsync.Claudio Jeker
2021-05-17Error out on memory failures in fargs_cmdline() and addargs() in bothClaudio Jeker
2021-05-17If pledge() or unveil() fails error out with ERR_IPC. Also error out inClaudio Jeker
2021-05-17Introduce some error exit codes which are in sync with the ones fromClaudio Jeker
2021-05-17Sync code with the original from mkdir(1).Claudio Jeker
2021-05-17The openat() then fstat() pattern only works if one is sure the file beingClaudio Jeker
2021-05-06Simplify file handling. There is no reason to use O_NONBLOCK on regularClaudio Jeker
2021-05-06More code cleanupClaudio Jeker
2021-04-05minor KNFTheo de Raadt
2021-03-31add --no-motd to SYNOPSIS;Jason McIntyre
2021-03-31Add option to suppress the Message of the Dayjob
2021-03-22Remove unveil() from the rsync_sender() and flist_gen(). The sender isClaudio Jeker
2021-03-22Adjust function name in error strings.Claudio Jeker
2021-03-22Adjust a type to unsigned since the io function works on unsigned ints.Claudio Jeker
2021-03-22Put comment where it belongs also remove an assert() that checks for anClaudio Jeker
2021-03-22Compare explicitly against NULL.Claudio Jeker
2021-03-22Make fmt argument const. Format local vars a bit.Claudio Jeker
2020-12-15Initialize the poll_timeout before rsync_server() is called.Claudio Jeker
2020-11-24Simple implementation of --timeout to exit after specified seconds of I/OClaudio Jeker
2020-08-19Handle EADDRNOAVAIL from connect(2) gracefullykn
2020-05-17__FILE__ and __LINE__ information are fine during early development, orTheo de Raadt
2020-02-11Simplify and unify wording for the -I sourceaddr option in various places.Theo de Raadt
2020-01-04Delete .Xrs to rsync(5) and rsyncd(5).Ingo Schwarze
2019-08-26replace a mmap() with pread(). The mmap() is not needed, the file isSebastian Benoit
2019-08-09Only print the message of the day in the rsyncd header if rsync isClaudio Jeker
2019-08-09Add --address argument to openrsync to bind to the specified addressClaudio Jeker
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Some asprintf() calls were checked < 0, rather than the precise == -1.Theo de Raadt
2019-06-23fix free() on uninitialized pointer with -rx and sameSebastian Benoit
2019-06-03Don't close the socket in rsync_socket() itself but after calling it.Christian Weisgerber
2019-06-02KNF and sneaky whitespacesTheo de Raadt
2019-06-02Use a simple hash table to look up blocks by the fast-hash. Also useFlorian Obser
2019-06-02have_md is initialized at startup, don't need to do it again laterTheo de Raadt
2019-06-02spelling; from Hiltjo PosthumaTheo de Raadt
2019-05-28unintialized fd passed to close(), found by hiltjo posthumaTheo de Raadt
2019-05-08remove sess argument from all functions that only used it for loggingSebastian Benoit
2019-05-08remove sess argument from log functions. ok deraadt@Sebastian Benoit
2019-05-06Remove an example that doesn't do what the accompanying text says,Ingo Schwarze
2019-04-04Add support for not crossing filesystem boundaries (-x) to rsync. Optionbket
2019-04-02annoying white spaceTheo de Raadt
2019-04-02Pull in addargs() API from ssh to replace complicated hand-rolled argumentTheo de Raadt
2019-04-01many improvements to rsync(1) documentation:Ingo Schwarze
2019-03-31Drop --devices and --specials from the synopsis because they are onlyIngo Schwarze
2019-03-31Increasing strictness regarding signed-vs-unsigned types and their rangeTheo de Raadt
2019-03-31Add ability to combine rsync:// and -e by splitting rsync_socket()Christian Weisgerber
2019-03-30Make the synopsis more palatable by deleting useless long optionIngo Schwarze
2019-03-30repair confusing "} if" indent; from naddyTheo de Raadt
2019-03-30document --del, ok deraadt@Christian Weisgerber