[SCM] Samba Shared Repository - branch master updated

Ralph Böhme slow at samba.org
Wed May 9 17:19:02 UTC 2018


The branch, master has been updated
       via  bc2beed libcli: remove unused se_create_child_secdesc_buf()
      from  4b793d9 Fix Jean François name to be UTF-8

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit bc2beedfa2fbb473ad9b5c292f7b28f4cfe72a54
Author: Ralph Boehme <slow at samba.org>
Date:   Wed May 9 10:14:37 2018 +0200

    libcli: remove unused se_create_child_secdesc_buf()
    
    Commit e2c9ad93cb914186b89e2055f1bed3cceee1f768 removed the last caller
    of this.
    
    Signed-off-by: Ralph Boehme <slow at samba.org>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Wed May  9 19:18:44 CEST 2018 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 libcli/security/secdesc.c | 28 ----------------------------
 libcli/security/secdesc.h |  4 ----
 2 files changed, 32 deletions(-)


Changeset truncated at 500 lines:

diff --git a/libcli/security/secdesc.c b/libcli/security/secdesc.c
index 6e20e90..8cf4434 100644
--- a/libcli/security/secdesc.c
+++ b/libcli/security/secdesc.c
@@ -636,31 +636,3 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
 	}
 	return NT_STATUS_OK;
 }
-
-NTSTATUS se_create_child_secdesc_buf(TALLOC_CTX *ctx,
-					struct sec_desc_buf **ppsdb,
-					const struct security_descriptor *parent_ctr,
-					bool container)
-{
-	NTSTATUS status;
-	size_t size = 0;
-	struct security_descriptor *sd = NULL;
-
-	*ppsdb = NULL;
-	status = se_create_child_secdesc(ctx,
-					&sd,
-					&size,
-					parent_ctr,
-					parent_ctr->owner_sid,
-					parent_ctr->group_sid,
-					container);
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	*ppsdb = make_sec_desc_buf(ctx, size, sd);
-	if (!*ppsdb) {
-		return NT_STATUS_NO_MEMORY;
-	}
-	return NT_STATUS_OK;
-}
diff --git a/libcli/security/secdesc.h b/libcli/security/secdesc.h
index 34d9d77..dd8cf4e 100644
--- a/libcli/security/secdesc.h
+++ b/libcli/security/secdesc.h
@@ -97,9 +97,5 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
 					const struct dom_sid *owner_sid,
 					const struct dom_sid *group_sid,
 					bool container);
-NTSTATUS se_create_child_secdesc_buf(TALLOC_CTX *ctx,
-					struct sec_desc_buf **ppsdb,
-					const struct security_descriptor *parent_ctr,
-					bool container);
 
 #endif /* _SECDESC_H_ */


-- 
Samba Shared Repository



More information about the samba-cvs mailing list