mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
libcli/security: Remove unused dup_sec_desc_buf()
This has been unused since before
762e7e1dff
in 2003.
Found by callcatcher
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
93db0aac0d
commit
3e197d4370
@ -384,18 +384,6 @@ struct sec_desc_buf *make_sec_desc_buf(TALLOC_CTX *ctx, size_t len, struct secur
|
||||
return dst;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
Duplicates a struct sec_desc_buf structure.
|
||||
********************************************************************/
|
||||
|
||||
struct sec_desc_buf *dup_sec_desc_buf(TALLOC_CTX *ctx, struct sec_desc_buf *src)
|
||||
{
|
||||
if(src == NULL)
|
||||
return NULL;
|
||||
|
||||
return make_sec_desc_buf( ctx, src->sd_size, src->sd);
|
||||
}
|
||||
|
||||
/*
|
||||
* Determine if an struct security_ace is inheritable
|
||||
*/
|
||||
|
@ -84,11 +84,6 @@ struct security_descriptor *make_standard_sec_desc(TALLOC_CTX *ctx, const struct
|
||||
********************************************************************/
|
||||
struct sec_desc_buf *make_sec_desc_buf(TALLOC_CTX *ctx, size_t len, struct security_descriptor *sec_desc);
|
||||
|
||||
/*******************************************************************
|
||||
Duplicates a struct sec_desc_buf structure.
|
||||
********************************************************************/
|
||||
struct sec_desc_buf *dup_sec_desc_buf(TALLOC_CTX *ctx, struct sec_desc_buf *src);
|
||||
|
||||
bool sd_has_inheritable_components(const struct security_descriptor *parent_ctr, bool container);
|
||||
NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
|
||||
struct security_descriptor **ppsd,
|
||||
|
Loading…
Reference in New Issue
Block a user