summaryrefslogtreecommitdiffstats
path: root/source/lib/sysacls.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-01-11 23:41:33 +0000
committerJeremy Allison <jra@samba.org>2001-01-11 23:41:33 +0000
commit523c91935621ec2d200a79385046694806f7c837 (patch)
tree1bb52181129ea3b3b95c1da00317e8cd3f94f01d /source/lib/sysacls.c
parente2193c3a360562dd66a16c8f23f8cf3eed20b8cf (diff)
downloadsamba-523c91935621ec2d200a79385046694806f7c837.tar.gz
samba-523c91935621ec2d200a79385046694806f7c837.tar.xz
samba-523c91935621ec2d200a79385046694806f7c837.zip
Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.
Ensure HAVE_NO_ACLS is set in configure if ACL support not selected. Jeremy
Diffstat (limited to 'source/lib/sysacls.c')
-rw-r--r--source/lib/sysacls.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/lib/sysacls.c b/source/lib/sysacls.c
index 84989de4177..f665c780cf3 100644
--- a/source/lib/sysacls.c
+++ b/source/lib/sysacls.c
@@ -46,7 +46,7 @@ extern int DEBUGLEVEL;
int sys_acl_set_permset( SMB_ACL_ENTRY_T entry, SMB_ACL_PERMSET_T permset)
int sys_acl_valid( SMB_ACL_T theacl )
int sys_acl_set_file( char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
- int sys_acl_set_fd( int fd, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
+ int sys_acl_set_fd( int fd, SMB_ACL_T theacl)
This next one is not POSIX complient - but we *have* to have it !
More POSIX braindamage.
@@ -147,7 +147,7 @@ int sys_acl_set_permset( SMB_ACL_ENTRY_T entry, SMB_ACL_PERMSET_T permset)
int sys_acl_valid( SMB_ACL_T theacl )
{
- return acl_valid(thacl);
+ return acl_valid(theacl);
}
int sys_acl_set_file( char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
@@ -155,9 +155,9 @@ int sys_acl_set_file( char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
return acl_set_file(name, acltype, theacl);
}
-int sys_acl_set_fd( int fd, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
+int sys_acl_set_fd( int fd, SMB_ACL_T theacl)
{
- return acl_set_fd(fd, acltype, theacl);
+ return acl_set_fd(fd, theacl);
}
int sys_acl_free_text(char *text)
@@ -266,7 +266,7 @@ int sys_acl_set_file( char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
return -1;
}
-int sys_acl_set_fd( int fd, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
+int sys_acl_set_fd( int fd, SMB_ACL_T theacl)
{
return -1;
}