summaryrefslogtreecommitdiff
path: root/source3/smbd/posix_acls.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2018-05-18 11:50:44 -0700
committerJeremy Allison <jra@samba.org>2018-05-25 18:39:25 +0200
commite85a662eea4122bdc78ee2c6339623e9728d1b1b (patch)
tree0f989e65e147e408bf6847155bbe587060671cd5 /source3/smbd/posix_acls.c
parent109d94d15e9c3b6606551c62ec6ec97acb821e82 (diff)
downloadsamba-e85a662eea4122bdc78ee2c6339623e9728d1b1b.tar.gz
s3: smbd: Make map_acl_perms_to_permset() extern.
The vfs_fake_acl module will need it to implement chown/fchown. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd/posix_acls.c')
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index 426d96611d7..fb074772134 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -889,7 +889,7 @@ mode_t unix_perms_to_acl_perms(mode_t mode, int r_mask, int w_mask, int x_mask)
an SMB_ACL_PERMSET_T.
****************************************************************************/
-static int map_acl_perms_to_permset(mode_t mode, SMB_ACL_PERMSET_T *p_permset)
+int map_acl_perms_to_permset(mode_t mode, SMB_ACL_PERMSET_T *p_permset)
{
if (sys_acl_clear_perms(*p_permset) == -1)
return -1;