Changeset 204 for branches/samba-3.2.x/source/smbd/posix_acls.c
- Timestamp:
- May 20, 2009, 6:46:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/smbd/posix_acls.c
r141 r204 3401 3401 } 3402 3402 3403 parent_sd->dacl->aces = new_ace; 3404 parent_sd->dacl->num_aces = i; 3405 3406 *pp_new_sd = parent_sd; 3403 /* This sucks. psd should be const and we should 3404 * be doing a deep-copy here. We're getting away 3405 * with is as we know parent_sd is talloced off 3406 * talloc_tos() as well as psd. JRA. */ 3407 3408 psd->dacl->aces = new_ace; 3409 psd->dacl->num_aces = i; 3410 psd->type &= ~(SE_DESC_DACL_AUTO_INHERITED| 3411 SE_DESC_DACL_AUTO_INHERIT_REQ); 3412 3413 *pp_new_sd = psd; 3407 3414 return status; 3408 3415 }
Note:
See TracChangeset
for help on using the changeset viewer.