• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/modules/

Lines Matching refs:psd

22 static NTSTATUS create_acl_blob(const struct security_descriptor *psd,
46 static NTSTATUS hash_sd_sha256(struct security_descriptor *psd,
54 status = create_acl_blob(psd, &blob, XATTR_SD_HASH_TYPE_SHA256, hash);
127 static NTSTATUS create_acl_blob(const struct security_descriptor *psd,
142 xacl.info.sd_hs3->sd = CONST_DISCARD(struct security_descriptor *, psd);
167 struct security_descriptor *psd)
170 int num_aces = (psd->dacl ? psd->dacl->num_aces : 0);
203 memcpy(new_ace_list, psd->dacl->aces,
234 psd->dacl->aces = new_ace_list;
235 psd->dacl->num_aces += 3;
255 struct security_descriptor *psd = NULL;
294 psd = pdesc_next;
298 status = parse_acl_blob(&blob, &psd,
303 psd = pdesc_next;
319 TALLOC_FREE(psd);
320 psd = pdesc_next;
330 TALLOC_FREE(psd);
331 psd = pdesc_next;
344 TALLOC_FREE(psd);
345 psd = pdesc_next;
349 if (psd != pdesc_next) {
383 &psd);
389 !sd_has_inheritable_components(psd,
394 psd);
400 psd->type &= ~SEC_DESC_DACL_PROTECTED;
405 psd->owner_sid = NULL;
408 psd->group_sid = NULL;
411 psd->dacl = NULL;
414 psd->sacl = NULL;
418 *ppdesc = psd;
423 NDR_PRINT_DEBUG(security_descriptor, psd);
443 struct security_descriptor *psd = NULL;
459 &psd,
479 psd);
597 struct security_descriptor *psd = NULL;
610 psd = (struct security_descriptor *)talloc_move(handle->conn,
613 if (!psd) {
618 SMB_VFS_HANDLE_SET_DATA(handle, psd, free_sd_common,
647 struct security_descriptor *psd = NULL;
662 psd = (struct security_descriptor *)talloc_move(handle->conn,
665 if (!psd) {
668 SMB_VFS_HANDLE_SET_DATA(handle, psd, free_sd_common,
707 struct security_descriptor *psd = NULL;
720 &psd);
726 psd->revision = orig_psd->revision;
728 psd->type = orig_psd->type | SEC_DESC_SELF_RELATIVE;
731 psd->owner_sid = orig_psd->owner_sid;
734 psd->group_sid = orig_psd->group_sid;
737 psd->dacl = orig_psd->dacl;
738 psd->type |= SEC_DESC_DACL_PRESENT;
741 psd->sacl = orig_psd->sacl;
742 psd->type |= SEC_DESC_SACL_PRESENT;
745 status = SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, security_info_sent, psd);
769 CONST_DISCARD(struct security_descriptor *,psd));
771 create_acl_blob(psd, &blob, XATTR_SD_HASH_TYPE_SHA256, hash);