Lines Matching defs:acl
37 #include <sys/acl.h>
203 * ZFS-style ACL (libsec acl, type=ACE_T)
210 acl_t *acl = NULL;
246 acl = acl_alloc(ACE_T);
247 if (acl == NULL) {
252 error = smbfs_acl_sd2zfs(sd, acl, uidp, gidp);
258 *aclp = acl;
259 acl = NULL;
263 if (acl)
264 acl_free(acl);
271 * ZFS-style ACL (libsec acl, type=ACE_T)
275 smbfs_acl_set(int fd, acl_t *acl, uid_t uid, gid_t gid)
282 if (acl && acl->acl_type != ACE_T)
290 if (acl)
317 error = smbfs_acl_zfs2sd(acl, uid, gid, selector, &sd);