| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixes a corner case where the socket was closed twice, reported by
Hiltjo Posthuma.
ok deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
and behaviour is the same as GPL rsync.
Initial diff received feedback from benno@, schwarze@, deraadt@ and
florian@. Thanks!
OK deraadt@
|
|
|
|
| |
tweaks and OK deraadt@ naddy@
|
|
|
|
|
|
|
| |
low-utility parts of the more useful and shorter -D. Nice because it
brings the synopsis down to two lines, and because the approach buys us
additional time before the synopsis may grow disgustingly long again.
"Shrug. Probably helps." deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
into two functions, rsync_connect() to establish a TCP connection
to the remote daemon, and rsync_socket() to run the actual protocol.
E.g.:
rsync -av --del -e 'ssh -W localhost:rsync -lanoncvs' \
rsync://anoncvs.spacehopper.org/OpenBSD-CVS/ /cvs
ok deraadt@
|
|
|
|
|
|
|
| |
aliases where short or shorter forms exist; of course, the long
versions remain in the full option listing as well as in the code.
Also drop some redundant repetions of .Fl macros.
OK jmc@ deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Drop --no-delete. The "no-" prefix is only available for options
that are implied by other options. --delete is never implied and
GPL rsync does not accept --no-delete.
ok deraadt@
|
|
|
|
|
|
| |
yet. In the meantime, make it a warning-no-op, as most usage cases
will be satisfied by this (and hopefully annoy someone to write support)
ok florian benno
|
| |
|
|
|
|
|
|
| |
to an enum, that's just alien). Documents the return values in each
function and unifies the protocol incompatibility error message.
from kristaps
|
|
|
|
| |
ok deraadt benno
|
|
|
|
|
| |
so they don't need to be constructed to return errors.
ok benno florian
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
339cf5998c0c022623cd68de50722b6c14543952 Push "error trail" further into code.
baf58ce5fe1bc6ce431b3b0ac8264b83ae8c7d02 Document all arguments. Add
common -av usage. Remove bits about not supporting anything but
files/dirs.
821a811a8c80e52fb56b241fc65a16cae1b4fb2c Disambiguate as prodded by deraadt@
6c4475b8f226e9031ec0ec1b3f14f7d347132c87 Add -h to usage string
4d344ae6156873b44c95de0c1ed629e637c2d7ab Clarify error message
language, use service name instead of port, specify that the socket is
SOCK_STREAM. From deraadt@. Tweaked for lowercase messages.
f3ec049e76257fc96bcdc872f1d3b967b98f3eb6 In consideration to benno@'s
comments, let the mktemp functions propogate an errno handled by the
caller. Also keep the original line lengths. While in mktemp.c, make
some defines into an enum.
e116c2bd00e634b56e4276120135915ceaa31cf2 Put the FSM of the sender
into its own function. Put dry_run ack and end of phase ack into the
send buffer too, further reducing the possibility of deadlock.
c7745aa4c7394ca89d841f8ee76782256d694340 Make the sender write loop be
fully non-blocking. This frees us of deadlocking the protocol because
the sender will always be able to pull down data.
93c7b4843e80aeac2ec6ae6ffc395df4deaf4a31 Remove "yoda" notation to be
more in tune with OpenBSD. Most found by deraadt@.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
339cf5998c0c022623cd68de50722b6c14543952 Push "error trail" further into code.
baf58ce5fe1bc6ce431b3b0ac8264b83ae8c7d02 Document all arguments. Add
common -av usage. Remove bits about not supporting anything but
files/dirs.
821a811a8c80e52fb56b241fc65a16cae1b4fb2c Disambiguate as prodded by deraadt@
6c4475b8f226e9031ec0ec1b3f14f7d347132c87 Add -h to usage string
4d344ae6156873b44c95de0c1ed629e637c2d7ab Clarify error message
language, use service name instead of port, specify that the socket is
SOCK_STREAM. From deraadt@. Tweaked for lowercase messages.
f3ec049e76257fc96bcdc872f1d3b967b98f3eb6 In consideration to benno@'s
comments, let the mktemp functions propogate an errno handled by the
caller. Also keep the original line lengths. While in mktemp.c, make
some defines into an enum.
e116c2bd00e634b56e4276120135915ceaa31cf2 Put the FSM of the sender
into its own function. Put dry_run ack and end of phase ack into the
send buffer too, further reducing the possibility of deadlock.
c7745aa4c7394ca89d841f8ee76782256d694340 Make the sender write loop be
fully non-blocking. This frees us of deadlocking the protocol because
the sender will always be able to pull down data.
93c7b4843e80aeac2ec6ae6ffc395df4deaf4a31 Remove "yoda" notation to be
more in tune with OpenBSD. Most found by deraadt@.
|
| |
|
|
|
|
|
| |
real rsync only supports numbers, but this supports service names also
ok florian benno
|
|
|
|
|
| |
weak sauce EXIT_SUCCESS / EXIT_FAILURE model (in our tree very few programs
use this failed concept, almost as bad as sysexits.h)
|
|
|
|
|
| |
possible on failure.
looked at by florian
|
| |
|
| |
|
| |
|
|
|
|
| |
ok florian
|
|
|
|
| |
"you snooze, you get collisions" deraadt@
|
|
|
|
| |
"you snooze, you get collisions" deraadt@
|
| |
|
|
|
|
| |
Put back stray -o passed into child and add missing pledge.
|
|
|
|
| |
Enable -o.
|
|
|
|
| |
-o isn't finished yet...
|
|
|
|
|
|
|
| |
Protocol-level support for -o. The actual sharing itself is more or less a
copy of the existing -g code. I've refactored a lot of the ids.c code to be
generic and only accept a "isgid", as the rest is the same. So there's some
churn as I make all references to "group" be generic.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
commit c7818bfb17195fcd7b723889bb8652b9ea024b01
Author: kristaps <>
Date: Mon Feb 11 23:26:55 2019 +0000
Add getpw pledge for -g work.
|
|
|
|
| |
ok florian benno
|
|
|
|
| |
ok florian benno
|
| |
|
|
|
|
| |
are familiar with. Proofed by florian and benno
|
| |
|
|
|
|
|
|
| |
idiom because it is less error prone for a larger team. kristaps idiom
is highly divergent)
ok benno
|
|
|
|
| |
stop at 80 char line lenght.
|
| |
|
|
OK deraadt@
|