diff options
-rw-r--r-- | source3/include/smb_acls.h | 1 | ||||
-rw-r--r-- | source3/lib/sysacls.c | 5 | ||||
-rw-r--r-- | source3/smbd/posix_acls.c | 2 | ||||
-rw-r--r-- | source3/smbd/trans2.c | 2 |
4 files changed, 0 insertions, 10 deletions
diff --git a/source3/include/smb_acls.h b/source3/include/smb_acls.h index d4830bcaa9..750bbc666a 100644 --- a/source3/include/smb_acls.h +++ b/source3/include/smb_acls.h @@ -50,7 +50,6 @@ int sys_acl_set_tag_type(SMB_ACL_ENTRY_T entry_d, SMB_ACL_TAG_T tag_type); int sys_acl_set_qualifier(SMB_ACL_ENTRY_T entry_d, void *qual_p); int sys_acl_set_permset(SMB_ACL_ENTRY_T entry_d, SMB_ACL_PERMSET_T permset_d); int sys_acl_free_text(char *text); -int sys_acl_free_qualifier(void *qual, SMB_ACL_TAG_T tagtype); int sys_acl_valid(SMB_ACL_T acl_d); SMB_ACL_T sys_acl_get_file(struct vfs_handle_struct *handle, const char *path_p, SMB_ACL_TYPE_T type); diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c index 3f4aeaed99..31966c6077 100644 --- a/source3/lib/sysacls.c +++ b/source3/lib/sysacls.c @@ -354,11 +354,6 @@ int sys_acl_free_text(char *text) return 0; } -int sys_acl_free_qualifier(void *qual, SMB_ACL_TAG_T tagtype) -{ - return 0; -} - int sys_acl_valid(SMB_ACL_T acl_d) { errno = EINVAL; diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 4efcb33a13..c45003defd 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -2667,7 +2667,6 @@ static canon_ace *canonicalise_acl(struct connection_struct *conn, unix_ug.type = ID_TYPE_UID; unix_ug.id = *puid; owner_type = UID_ACE; - sys_acl_free_qualifier((void *)puid,tagtype); break; } case SMB_ACL_GROUP_OBJ: @@ -2688,7 +2687,6 @@ static canon_ace *canonicalise_acl(struct connection_struct *conn, unix_ug.type = ID_TYPE_GID; unix_ug.id = *pgid; owner_type = GID_ACE; - sys_acl_free_qualifier((void *)pgid,tagtype); break; } case SMB_ACL_MASK: diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 679e3fa828..b30478cb25 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3899,7 +3899,6 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_ return False; } own_grp = (unsigned int)*puid; - sys_acl_free_qualifier((void*)puid,tagtype); SCVAL(pdata,0,SMB_POSIX_ACL_USER); SIVAL(pdata,2,own_grp); SIVAL(pdata,6,0); @@ -3919,7 +3918,6 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_ return False; } own_grp = (unsigned int)*pgid; - sys_acl_free_qualifier((void *)pgid,tagtype); SCVAL(pdata,0,SMB_POSIX_ACL_GROUP); SIVAL(pdata,2,own_grp); SIVAL(pdata,6,0); |