diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-29 13:27:14 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-10-29 13:27:14 -0700 |
commit | 7c53ffea28a5752bf28c23b4741ceba77ff1fe1f (patch) | |
tree | f0e44ed0be4ea25f40c45d8a394c43faa17f3a40 /source3/include/proto.h | |
parent | d1f980444d22e41659af0d3681f81162b914aa61 (diff) | |
download | samba-7c53ffea28a5752bf28c23b4741ceba77ff1fe1f.tar.gz samba-7c53ffea28a5752bf28c23b4741ceba77ff1fe1f.tar.bz2 samba-7c53ffea28a5752bf28c23b4741ceba77ff1fe1f.zip |
Allow a new file to inherit the Windows ACL from its parent.
Now to do the same for directories.
Jeremy.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index e4a445bcd0..b227a30f00 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -758,8 +758,17 @@ SEC_DESC_BUF *dup_sec_desc_buf(TALLOC_CTX *ctx, SEC_DESC_BUF *src); NTSTATUS sec_desc_add_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, uint32 mask, size_t *sd_size); NTSTATUS sec_desc_mod_sid(SEC_DESC *sd, DOM_SID *sid, uint32 mask); NTSTATUS sec_desc_del_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, size_t *sd_size); -SEC_DESC_BUF *se_create_child_secdesc(TALLOC_CTX *ctx, SEC_DESC *parent_ctr, - bool child_container); +NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx, + SEC_DESC **ppsd, + size_t *psize, + const SEC_DESC *parent_ctr, + const DOM_SID *owner_sid, + const DOM_SID *group_sid, + bool container); +NTSTATUS se_create_child_secdesc_buf(TALLOC_CTX *ctx, + SEC_DESC_BUF **ppsdb, + const SEC_DESC *parent_ctr, + bool container); /* The following definitions come from lib/select.c */ |