diff options
author | Gordon Ross <Gordon.Ross@Sun.COM> | 2009-12-16 15:03:38 -0500 |
---|---|---|
committer | Gordon Ross <Gordon.Ross@Sun.COM> | 2009-12-16 15:03:38 -0500 |
commit | 02d09e03eb27f3a2dc299de704e45dae5173f43f (patch) | |
tree | d01a29c58a8a455627b355abb83addad11802bd6 /usr/src/lib/libsmbfs/netsmb/smbfs_acl.h | |
parent | aab2fe4104e428e5213f84aee65b9905ec97cf9a (diff) | |
download | illumos-joyent-02d09e03eb27f3a2dc299de704e45dae5173f43f.tar.gz |
6650611 Attribute cache logic needs improvement
6876185 common I/F for net message build/parse in kernel vs user code
6891728 syslog shows: smbfs_close: error 9 closing /dirname
6906037 smbfs_mount() doesn't ASSERT the return value of smbfs_make_node()
6607536 the size of a dir on smbfs is not correct
6648146 smbfs should implement reclaim from node cache
--HG--
rename : usr/src/lib/libsmbfs/smb/acl_conv.c => usr/src/common/smbclnt/smbfs_ntacl.c
rename : usr/src/lib/libsmbfs/smb/acl_nt.h => usr/src/common/smbclnt/smbfs_ntacl.h
Diffstat (limited to 'usr/src/lib/libsmbfs/netsmb/smbfs_acl.h')
-rw-r--r-- | usr/src/lib/libsmbfs/netsmb/smbfs_acl.h | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/usr/src/lib/libsmbfs/netsmb/smbfs_acl.h b/usr/src/lib/libsmbfs/netsmb/smbfs_acl.h index d1da5bda22..b8cf6a8036 100644 --- a/usr/src/lib/libsmbfs/netsmb/smbfs_acl.h +++ b/usr/src/lib/libsmbfs/netsmb/smbfs_acl.h @@ -61,37 +61,26 @@ int smbfs_acl_set(int fd, acl_t *, uid_t, gid_t); /* * Slightly lower-level functions, allowing access to * the raw Windows Security Descriptor (SD) + * + * The struct i_ntsid is opaque in this I/F. + * Real decl. in: common/smbclnt/smbfs_ntacl.h */ -typedef struct i_ntsd i_ntsd_t; +struct i_ntsd; /* * Get an "internal form" SD from the FD (opened in smbfs). * Allocates a hierarchy in isdp. Caller must free it via * smbfs_acl_free_isd() */ -int smbfs_acl_getsd(int fd, uint32_t, i_ntsd_t **); +int smbfs_acl_getsd(int fd, uint32_t, struct i_ntsd **); /* * Set an "internal form" SD onto the FD (opened in smbfs). */ -int smbfs_acl_setsd(int fd, uint32_t, i_ntsd_t *); - -/* - * Convert an internal SD to a ZFS-style ACL. - * Get uid/gid too if pointers != NULL. - */ -int smbfs_acl_sd2zfs(i_ntsd_t *, acl_t *, uid_t *, gid_t *); - -/* - * Convert an internal SD to a ZFS-style ACL. - * Include owner/group too if uid/gid != -1. - */ -int smbfs_acl_zfs2sd(acl_t *, uid_t, gid_t, i_ntsd_t **); - -void smbfs_acl_free_sd(i_ntsd_t *); +int smbfs_acl_setsd(int fd, uint32_t, struct i_ntsd *); struct __FILE; -void smbfs_acl_print_sd(struct __FILE *, i_ntsd_t *); +void smbfs_acl_print_sd(struct __FILE *, struct i_ntsd *); #ifdef __cplusplus } |