}
}
- if (ace->flags & SEC_ACE_FLAG_INHERIT_ONLY) {
- creator = &ace->trustee;
- ptrustee = &ace->trustee;
- }
-
/* The CREATOR sids are special when inherited */
if (dom_sid_equal(ptrustee, &global_sid_Creator_Owner)) {
creator = &global_sid_Creator_Owner;
}
}
- security_acl_map_generic(new_dacl, &file_generic_mapping);
-
*ppsd = make_sec_desc(ctx,
SECURITY_DESCRIPTOR_REVISION_1,
SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT|