Given an empty rsync_acl, fake up the permission bits. */
| 156 | |
| 157 | /* Given an empty rsync_acl, fake up the permission bits. */ |
| 158 | static void rsync_acl_fake_perms(rsync_acl *racl, mode_t mode) |
| 159 | { |
| 160 | racl->user_obj = (mode >> 6) & 7; |
| 161 | racl->group_obj = (mode >> 3) & 7; |
| 162 | racl->other_obj = mode & 7; |
| 163 | } |
| 164 | |
| 165 | /* === Rsync ACL functions === */ |
| 166 |
no outgoing calls
no test coverage detected