summaryrefslogtreecommitdiffstats
path: root/source/smbd/posix_acls.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-05-02 12:54:53 -0700
committerJeremy Allison <jra@samba.org>2008-05-02 12:54:53 -0700
commitb739c7f1cdb2b19a380b06681b00dcf490d788a9 (patch)
tree1ef3761347ae8e1c9dcdb952320be0d121a0e345 /source/smbd/posix_acls.c
parentac1eac9b0d07b7b3d341c06ef1a8fd8f3c05a618 (diff)
downloadsamba-b739c7f1cdb2b19a380b06681b00dcf490d788a9.tar.gz
samba-b739c7f1cdb2b19a380b06681b00dcf490d788a9.tar.xz
samba-b739c7f1cdb2b19a380b06681b00dcf490d788a9.zip
Rename inherit_access_acl() -> inherit_access_posix_acl() to make use clear.
Jeremy.
Diffstat (limited to 'source/smbd/posix_acls.c')
-rw-r--r--source/smbd/posix_acls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c
index 61ee5b4352e..732199e0e9e 100644
--- a/source/smbd/posix_acls.c
+++ b/source/smbd/posix_acls.c
@@ -3783,7 +3783,7 @@ static int chmod_acl_internals( connection_struct *conn, SMB_ACL_T posix_acl, mo
resulting ACL on TO. Note that name is in UNIX character set.
****************************************************************************/
-static int copy_access_acl(connection_struct *conn, const char *from, const char *to, mode_t mode)
+static int copy_access_posix_acl(connection_struct *conn, const char *from, const char *to, mode_t mode)
{
SMB_ACL_T posix_acl = NULL;
int ret = -1;
@@ -3810,7 +3810,7 @@ static int copy_access_acl(connection_struct *conn, const char *from, const char
int chmod_acl(connection_struct *conn, const char *name, mode_t mode)
{
- return copy_access_acl(conn, name, name, mode);
+ return copy_access_posix_acl(conn, name, name, mode);
}
/****************************************************************************
@@ -3838,13 +3838,13 @@ static bool directory_has_default_posix_acl(connection_struct *conn, const char
inherit this Access ACL to file name.
****************************************************************************/
-int inherit_access_acl(connection_struct *conn, const char *inherit_from_dir,
+int inherit_access_posix_acl(connection_struct *conn, const char *inherit_from_dir,
const char *name, mode_t mode)
{
if (directory_has_default_posix_acl(conn, inherit_from_dir))
return 0;
- return copy_access_acl(conn, inherit_from_dir, name, mode);
+ return copy_access_posix_acl(conn, inherit_from_dir, name, mode);
}
/****************************************************************************