diff options
author | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2009-09-14 19:44:41 +0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-09-16 07:52:05 -0700 |
commit | d70e17171912c190b258848edb1ae627fe59cde4 (patch) | |
tree | 91293861c1a4447a85f0c63dd65928cb706dee02 /libcli/security | |
parent | fec33db90ebd998f17ed2d539d67abb448e09af2 (diff) | |
download | samba-d70e17171912c190b258848edb1ae627fe59cde4.tar.gz samba-d70e17171912c190b258848edb1ae627fe59cde4.tar.bz2 samba-d70e17171912c190b258848edb1ae627fe59cde4.zip |
Owner and group defaulting.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli/security')
-rw-r--r-- | libcli/security/security_descriptor.c | 2 | ||||
-rw-r--r-- | libcli/security/security_descriptor.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libcli/security/security_descriptor.c b/libcli/security/security_descriptor.c index f18a326e99..dbe11604fd 100644 --- a/libcli/security/security_descriptor.c +++ b/libcli/security/security_descriptor.c @@ -50,7 +50,7 @@ struct security_descriptor *security_descriptor_initialise(TALLOC_CTX *mem_ctx) return sd; } -static struct security_acl *security_acl_dup(TALLOC_CTX *mem_ctx, +struct security_acl *security_acl_dup(TALLOC_CTX *mem_ctx, const struct security_acl *oacl) { struct security_acl *nacl; diff --git a/libcli/security/security_descriptor.h b/libcli/security/security_descriptor.h index c535f5d253..a377ef59ce 100644 --- a/libcli/security/security_descriptor.h +++ b/libcli/security/security_descriptor.h @@ -61,4 +61,7 @@ struct security_ace *security_ace_create(TALLOC_CTX *mem_ctx, uint32_t access_mask, uint8_t flags); +struct security_acl *security_acl_dup(TALLOC_CTX *mem_ctx, + const struct security_acl *oacl); + #endif /* __SECURITY_DESCRIPTOR_H__ */ |