| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | - Typical tranfers now save 12-20 bytes per file because several vars | Wayne Davison | 2006-12-03 | 1 | -5/+2 |
| | | | | | | | | were moved out of file_struct into an optional member-var setup. - Renamed and reorganized the FLAG_* defines. - Use NDX_DONE instead of a literal -1 when sending/checking the end-of-phase index value. | ||||
| * | Changed sprintf() calls to snprintf() calls. | Wayne Davison | 2006-10-13 | 1 | -5/+3 |
| | | |||||
| * | Updated the FSF's address to an even newer one. | Wayne Davison | 2006-04-25 | 1 | -3/+3 |
| | | |||||
| * | - Updated the address for the FSF in the opening comment. | Wayne Davison | 2006-04-25 | 1 | -23/+24 |
| | | | | | | | | - Standardized the format of the opening comment, including adding a brief description of what's in the file for those that lacked it. - Added some missing copyright lines. - Some minor whitespace tweaks (in a few of the files). | ||||
| * | Decided to hold off on the potential memory savings of indexed | Wayne Davison | 2006-01-25 | 1 | -38/+6 |
| | | | | | uid/gid pairs until the next release. | ||||
| * | Dump some debug code. | Wayne Davison | 2006-01-24 | 1 | -2/+0 |
| | | |||||
| * | Optimized id_pair() so that clumps of IDs get handled more | Wayne Davison | 2006-01-24 | 1 | -8/+20 |
| | | | | | efficiently. | ||||
| * | The uid & gid are now stored using an id_pair structure. | Wayne Davison | 2006-01-24 | 1 | -7/+28 |
| | | |||||
| * | Got rid of a superfluous newline. | Wayne Davison | 2005-11-10 | 1 | -1/+0 |
| | | |||||
| * | John E. Malmberg convinced me to standardize on #ifs for defined | Wayne Davison | 2005-02-14 | 1 | -2/+2 |
| | | | | | values instead of non-zero. | ||||
| * | Use "#if" (not "#ifdef") for configure-defined macros. | Wayne Davison | 2005-01-28 | 1 | -3/+3 |
| | | |||||
| * | Fixed the use of an uninitialized variable in map_uid() and map_gid(). | Wayne Davison | 2004-04-28 | 1 | -3/+3 |
| | | |||||
| * | - Guard against and out-of-memory condition. | Wayne Davison | 2004-02-20 | 1 | -6/+7 |
| | | | | | - Don't use the NGROUPS_MAX define. | ||||
| * | Fixed a problem handling GID_NONE in match_gid(). | Wayne Davison | 2004-02-05 | 1 | -2/+2 |
| | | |||||
| * | - Fixed a bug using --numeric-ids as non-root when the receiver | Wayne Davison | 2004-02-05 | 1 | -135/+110 |
| | | | | | | | | | | | | | | | | | | does not have permissions to set one or more of the gids. - If the add_[ug]id() routine couldn't find a name for an ID, we still note the ID in our list of IDs so that we don't try to look it up again (and again). (The name-less IDs are stripped when sending the IDs from the sender to the receiver.) - Created a better add_to_list() function that handles the linking of the new node into the list (rather than the caller doing it). - Added new internal functions for some receiver-side work that needed to be done in multiple places (the recv_add_[ug]id() functions). - We output debug info even for ID mappings that have no names. This make the list complete and also notes which gids get mapped to -1 (GID_NONE). - Turned several while loops into for loops. | ||||
| * | Moved a function. | Wayne Davison | 2004-02-04 | 1 | -27/+27 |
| | | |||||
| * | If a gid doesn't have a name on the originating system, the receiver | Wayne Davison | 2004-02-04 | 1 | -5/+3 |
| | | | | | | | won't see it in the list of IDs to remap. That means that we need to call the is_in_group() function from inside match_gid() to know if we can set the group or not (if we're not root). | ||||
| * | Use the new HAVE_GETGROUPS define. | Wayne Davison | 2004-02-04 | 1 | -2/+5 |
| | | |||||
| * | Use MY_GID() instead of getgid(). | Wayne Davison | 2004-02-04 | 1 | -2/+2 |
| | | |||||
| * | Another improvement to the debug info we output. | Wayne Davison | 2004-02-04 | 1 | -3/+12 |
| | | |||||
| * | Tweaked the new debug-logging strings. | Wayne Davison | 2004-02-04 | 1 | -6/+6 |
| | | |||||
| * | Output some debug info if verbose > 3. | Wayne Davison | 2004-02-04 | 1 | -3/+24 |
| | | |||||
| * | Added a little more compatibility code for non-standard systems. | Wayne Davison | 2004-02-03 | 1 | -12/+14 |
| | | |||||
| * | The static last_in value in match_gid() needed to default to -2 so | Wayne Davison | 2004-01-24 | 1 | -1/+1 |
| | | | | | | that we don't accidentally return a GID of 0 when we don't have the permissions to set it. | ||||
| * | Made the getgroups() code a little more portable. This will hopefully | Wayne Davison | 2004-01-22 | 1 | -3/+19 |
| | | | | | | make the chgrp test work on the NetBSD and OpenBSD systems where it is failing. | ||||
| * | Fixed a bug when a non-root user copies a GID=0 file with -g set | Wayne Davison | 2004-01-15 | 1 | -7/+5 |
| | | | | | and no permissions to set group 0. | ||||
| * | Create GID_NONE for use gid test readability. | J.W. Schultz | 2004-01-03 | 1 | -2/+2 |
| | | |||||
| * | Set the file's gid to -1 if we don't have permissions to set it. | Wayne Davison | 2004-01-02 | 1 | -7/+39 |
| | | |||||
| * | Merged in the security fixes from 2.5.7. | Wayne Davison | 2003-12-06 | 1 | -3/+3 |
| | | |||||
| * | When comparing -1 to a group id, cast -1 with gid_t because on some systems | David Dykstra | 1999-03-01 | 1 | -1/+1 |
| | | | | | | such as sunos4 gid_t is an unsigned short. This prevented the just-added non-mapped group test from working on sunos4. | ||||
| * | Prevent the -g option from preserving groups that a non-root receiver | David Dykstra | 1999-03-01 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | does not belong to, in these two ways: 1. If a group mapping doesn't exist for a group name, do not preserve it for a non-root receiver. This is especially evident with the sender is a daemon using chroot because then no mappings are available. 2. Before setting the group on a file make sure that it is in the list of groups returned by getgroups(). The same thing is done by chgrp on systems that support bsd-style chown/chgrp, and this enforces that it happens the same way on all systems. Overhead is very little, especially since most systems don't allow more then 16 groups per user. | ||||
| * | change to allow names or numbers to be used for uid and gid. | Andrew Tridgell | 1998-05-10 | 1 | -25/+6 |
| | | |||||
| * | fixed a string termination bug in the uidlist handling code. I've also | Andrew Tridgell | 1998-04-01 | 1 | -4/+4 |
| | | | | | | added a read_sbuf() routine that fixes this kind of bug generically to avoid similar problems in future. | ||||
| * | a large change to make rsync much more memory efficient. This is done | Andrew Tridgell | 1998-03-23 | 1 | -4/+4 |
| | | | | | | | | | | | | | in 3 ways: 1) the realloc is done on a list of pointers, not a list of structures 2) only the basename of the file is now kept in the file struct an a util function f_name() is now used to access the full name when required. 3) pointers to directory names are re-used hopefully I haven't broken anything. This will need lots of testing. | ||||
| * | *** empty log message *** | Andrew Tridgell | 1998-01-13 | 1 | -0/+310 |
