Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix usermap/groupmap parsing of MIN-MAX IDs. | Wayne Davison | 2014-04-30 | 1 | -2/+5 |
| | |||||
* | Bump the year to 2014. | Wayne Davison | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | Update copyright year. | Wayne Davison | 2013-01-19 | 1 | -1/+1 |
| | |||||
* | Fix two unused-variable compiler warnings. | Wayne Davison | 2011-09-22 | 1 | -2/+1 |
| | |||||
* | Use a union for idlist's name/max_id value. Fixes bug 8137. | Wayne Davison | 2011-05-16 | 1 | -25/+37 |
| | |||||
* | Some uid/gid fixes for (id_t)-1 and other large ID values. | Wayne Davison | 2011-02-22 | 1 | -15/+32 |
| | | | | | | | | | The code now avoids any special internal meaning for uid/gid -1, which allows it to be mapped to a better value (use 4294967295 instead of -1 as the ID to map). Replaced atol() with something than can return a value > 0x7FFFFFFF and that will error-out if the value overflows. If chown() is called with a uid or gid of -1, complain that the ID is not settable and signal a transfer error. Fixes bug 6936. | ||||
* | Avoid a compiler warnings about a signed/unsigned mismatch. | Wayne Davison | 2009-12-13 | 1 | -1/+1 |
| | |||||
* | Moved a few group-related functions with some minor tweaks; | Wayne Davison | 2009-10-20 | 1 | -5/+61 |
| | |||||
* | Define and use "our_gid" variable. | Wayne Davison | 2009-09-02 | 1 | -10/+4 |
| | |||||
* | Enhance name_to_{u,g}id() to optionally parse numbers and rename | Wayne Davison | 2009-05-07 | 1 | -12/+5 |
| | | | | to {user,group}_to_*(). Based on a patch by Matt McCutchen. | ||||
* | Fixed recv_add_uid() to properly differentiate users and groups. | Matt McCutchen | 2009-01-13 | 1 | -3/+3 |
| | |||||
* | Update the copyright year. | Wayne Davison | 2009-01-03 | 1 | -1/+1 |
| | |||||
* | Adding the --usermap/--groupmap/--chown options. | Wayne Davison | 2008-11-15 | 1 | -50/+146 |
| | |||||
* | Added the --info=FLAGS an --debug=FLAGS options, which allows | Wayne Davison | 2008-07-13 | 1 | -5/+4 |
| | | | | fine-grained output control (in addition to the coarse -v). | ||||
* | Include 2008 in the copyright years. | Wayne Davison | 2008-03-01 | 1 | -1/+1 |
| | |||||
* | Make a few more char pointers const. | Wayne Davison | 2008-02-19 | 1 | -4/+4 |
| | |||||
* | Some daemon security improvements, including the new parameters | Wayne Davison | 2008-02-15 | 1 | -2/+10 |
| | | | | "charset" and "numeric ids". | ||||
* | Made some user-/group-name pointers "const". | Wayne Davison | 2007-12-29 | 1 | -6/+6 |
| | |||||
* | Tweaking the license text a bit more. | Wayne Davison | 2007-07-10 | 1 | -2/+3 |
| | |||||
* | Changed "count" to "used" in struct file_list since there can | Wayne Davison | 2007-07-07 | 1 | -2/+2 |
| | | | | | be empty items that make the count inaccurate (and the name somewhat deceiving). | ||||
* | Switching to GPL 3. | Wayne Davison | 2007-07-07 | 1 | -3/+2 |
| | |||||
* | Fixed a thinko in the calling of recv_add_gid(). | Wayne Davison | 2007-05-21 | 1 | -1/+1 |
| | |||||
* | The match_gid() function needed to affect the *flags_ptr value | Wayne Davison | 2007-05-21 | 1 | -13/+12 |
| | | | | when re-using the last-found match. | ||||
* | Moved GID_NONE define from rsync.h to uidlist.c. | Wayne Davison | 2007-05-20 | 1 | -9/+8 |
| | |||||
* | - Changed id & id2 from int to id_t in the struct iflist. | Wayne Davison | 2007-05-20 | 1 | -37/+52 |
| | | | | | | | | - Added a uint16 flags var to struct iflist. - We now mark a group with FLAG_SKIP_GROUP if the receiving user can't set a group rather than turning it into GID_NONE. This allows us to keep the real group ID mapping, which is needed by the ACL code. | ||||
* | Changed the *_abbbrevint() functions to *_varint(). | Wayne Davison | 2007-04-20 | 1 | -6/+6 |
| | |||||
* | Got rid of ACL's uid/gid iterators in favor of a single function | Wayne Davison | 2007-04-18 | 1 | -9/+3 |
| | | | | that converts the uids & gids in a loop. | ||||
* | Use the abbrevint30 routines in a few more places. | Wayne Davison | 2007-03-11 | 1 | -6/+7 |
| | |||||
* | The ACL support has arrived! This version has a brand new protocol | Wayne Davison | 2007-03-11 | 1 | -4/+15 |
| | | | | | that makes it incompatible with all prior versions. A patch will be provided to allow talking with older (patched) rsync versions. | ||||
* | Further modifications to the copyright comment section. | Wayne Davison | 2007-02-04 | 1 | -4/+3 |
| | |||||
* | Assign the owner and group using F_OWNER() and F_GROUP(). | Wayne Davison | 2006-12-28 | 1 | -2/+2 |
| | |||||
* | - Made match_uid(), match_gid(), recv_user_name(), and recv_group_name() | Wayne Davison | 2006-12-28 | 1 | -12/+16 |
| | | | | | public functions. - Made add_uid() and add_gid() return the name or NULL. | ||||
* | Neaten up use of uid_t/gid_t variable types. | Wayne Davison | 2006-12-28 | 1 | -33/+38 |
| | |||||
* | - 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). |