/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclutils.h | 117 extern acl_t *yyacl; 127 extern int acl_addentries(acl_t *, acl_t *, int); 128 extern int acl_removeentries(acl_t *, acl_t *, int, int); 129 extern int acl_modifyentries(acl_t *, acl_t *, int); 130 extern void acl_printacl(acl_t *, int, int); 132 extern acl_t *acl_dup(acl_t *); [all...] |
H A D | aclutils.c | 99 cacl_get(acl_inp inp, int get_flag, int type, acl_t **aclp) 106 acl_t *acl_info; 225 acl_get(const char *path, int get_flag, acl_t **aclp) 234 facl_get(int fd, int get_flag, acl_t **aclp) 247 cacl_set(acl_inp *acl_inp, acl_t *aclp, int type) 300 acl_set(const char *path, acl_t *aclp) 310 facl_set(int fd, acl_t *aclp) 320 acl_cnt(acl_t *aclp) 326 acl_type(acl_t *aclp) 331 acl_t * [all...] |
H A D | acltext.c | 51 acl_t *yyacl; 55 extern acl_t *acl_alloc(enum acl_type); 176 aclent_printacl(acl_t *aclp) 791 acl_t *aclp; 880 ace_acltotext(acl_t *aceaclp, int flags) 969 acl_totext(acl_t *aclp, int flags) 989 acl_fromtext(const char *acltextp, acl_t **ret_aclp) 1020 acl_parse(const char *acltextp, acl_t **aclp) 1031 ace_compact_printacl(acl_t *aclp) 1073 ace_printacl(acl_t *acl [all...] |
H A D | aclcheck.c | 301 ace_aclcheck(acl_t *aclp, int isdir) 362 acl_check(acl_t *aclp, int flag)
|
H A D | acl.y | 30 extern acl_t *yyacl; 39 acl_t *acl;
|
/illumos-gate/usr/src/lib/libsmbfs/netsmb/ |
H A D | smbfs_acl.h | 46 * Allocates an acl_t via libsec. Free with: acl_free(3SEC) 49 int smbfs_acl_get(int fd, acl_t **, uid_t *, gid_t *); 55 * The acl_t must be of type ACE_T (from libsec). 58 int smbfs_acl_set(int fd, acl_t *, uid_t, gid_t); 100 int smbfs_acl_sd2zfs(struct i_ntsd *, acl_t *, uid_t *, gid_t *); 101 int smbfs_acl_zfs2sd(acl_t *, uid_t, gid_t, uint32_t, struct i_ntsd **);
|
/illumos-gate/usr/src/common/acl/ |
H A D | acl_common.h | 53 extern acl_t *acl_alloc(acl_type_t); 54 extern void acl_free(acl_t *aclp); 55 extern int acl_translate(acl_t *aclp, int target_flavor, boolean_t isdir,
|
H A D | acl_common.c | 265 acl_t * 268 acl_t *aclp; 270 if (cacl_malloc((void **)&aclp, sizeof (acl_t)) != 0) 293 * Free acl_t structure 296 acl_free(acl_t *aclp) 308 cacl_free(aclp, sizeof (acl_t)); 1504 acl_translate(acl_t *aclp, int target_flavor, boolean_t isdir, uid_t owner,
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_xattr_001_pos.ksh | 87 typeset acl_t=$3 94 if [[ $acl_t == *read_xattr* ]]; then 96 elif [[ $acl_t == *write_xattr* ]]; then 150 typeset flag acl_p acl_t parent 155 for acl_t in "${a_access[@]}"; do 156 log_must usr_exec chmod A+$flag:$acl_t $node 161 "$acl_t" "$g_usr" "$o_usr"
|
H A D | zfs_acl_chmod_delete_001_pos.ksh | 200 typeset flag acl_p acl_t parent 213 for acl_t in "${access_target[@]}"; do 214 [[ -n $acl_t ]] && \ 215 log_must usr_exec chmod A+$flag:$acl_t $node 220 "$acl_p" "$acl_t" "$g_usr" "$o_usr" 222 [[ -n $acl_t ]] && \
|
H A D | zfs_acl_chmod_xattr_002_pos.ksh | 83 typeset acl_t=$3 145 typeset flag acl_p acl_t parent 150 for acl_t in "${a_access[@]}"; do 151 log_must usr_exec chmod A+$flag:$acl_t $node 156 "$acl_t" "$owner" "$g_usr" "$o_usr"
|
H A D | zfs_acl_chmod_owner_001_pos.ksh | 270 typeset flag acl_t 273 for acl_t in $a_access; do 274 log_must su $user -c "chmod A+$flag:$acl_t $node" 278 check_chmod_results $user $node $flag $acl_t $g_usr \
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | acl.h | 54 typedef struct acl_info acl_t; typedef in typeref:struct:acl_info 295 extern void acl_free(acl_t *); 296 extern int acl_get(const char *, int, acl_t **); 297 extern int facl_get(int, int, acl_t **); 298 extern int acl_set(const char *, acl_t *acl); 299 extern int facl_set(int, acl_t *acl); 302 extern char *acl_totext(acl_t *, int); 303 extern int acl_fromtext(const char *, acl_t **); 304 extern int acl_check(acl_t *, int);
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.h | 129 int smbfs_acl_sd2zfs(struct i_ntsd *, acl_t *, uid_t *, gid_t *); 143 int smbfs_acl_zfs2sd(acl_t *, uid_t, gid_t, uint32_t, struct i_ntsd **);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_acl.c | 49 acl_t *acl_alloc(enum acl_type); 51 static idmap_stat smb_fsacl_getsids(smb_idmap_batch_t *, acl_t *); 52 static acl_t *smb_fsacl_null_empty(boolean_t); 239 smb_acl_from_zfs(acl_t *zacl) 300 smb_acl_to_zfs(smb_acl_t *acl, uint32_t flags, int which_acl, acl_t **fs_acl) 304 acl_t *zacl; 415 smb_fsacl_getsids(smb_idmap_batch_t *sib, acl_t *zacl) 479 static acl_t * 482 acl_t *zacl; 502 * FS ACL (acl_t) Function [all...] |
H A D | smb_sd.c | 156 acl_t *z_acl; 225 acl_t *z_acl;
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 89 * smb_fsacl_xxx functions work with acl_t which represents the Solaris native 93 static idmap_stat smb_fsacl_getsids(smb_idmap_batch_t *, acl_t *); 94 static acl_t *smb_fsacl_null_empty(boolean_t); 96 static int smb_fsacl_inheritable(acl_t *, int); 292 smb_acl_from_zfs(acl_t *zacl) 353 smb_acl_to_zfs(smb_acl_t *acl, uint32_t flags, int which_acl, acl_t **fs_acl) 356 acl_t *zacl; 472 smb_fsacl_getsids(smb_idmap_batch_t *sib, acl_t *zacl) 536 static acl_t * 539 acl_t *zac [all...] |
/illumos-gate/usr/src/cmd/fs.d/smbclnt/lsacl/ |
H A D | lsacl.c | 47 extern acl_t *acl_alloc(acl_type_t); 99 acl_t *acl;
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | ntifs.h | 580 acl_t *sd_zdacl; 581 acl_t *sd_zsacl; 596 smb_acl_t *smb_acl_from_zfs(acl_t *); 597 uint32_t smb_acl_to_zfs(smb_acl_t *, uint32_t, int, acl_t **); 601 void smb_fsacl_free(acl_t *); 602 acl_t *smb_fsacl_alloc(int, int);
|
H A D | smb_vops.h | 157 int smb_vop_acl_read(vnode_t *, acl_t **, int, acl_type_t, cred_t *); 158 int smb_vop_acl_write(vnode_t *, acl_t *, int, cred_t *);
|
H A D | smb_kproto.h | 875 acl_t *smb_fsacl_inherit(acl_t *, int, int, cred_t *); 876 acl_t *smb_fsacl_merge(acl_t *, acl_t *); 877 void smb_fsacl_split(acl_t *, acl_t **, acl_t **, int); 878 acl_t *smb_fsacl_from_vsa(vsecattr_t *, acl_type_t); 879 int smb_fsacl_to_vsa(acl_t *, vsecattr_ [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | acl_api.c | 63 acl_t *acl_alloc(enum acl_type); 64 void acl_free(acl_t *); 207 smbfs_acl_get(int fd, acl_t **aclp, uid_t *uidp, gid_t *gidp) 210 acl_t *acl = NULL; 275 smbfs_acl_set(int fd, acl_t *acl, uid_t uid, gid_t gid)
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/ |
H A D | chacl.c | 59 void chacl(char *, uint32_t, uid_t, gid_t, acl_t *); 77 acl_t *acl = NULL; 160 chacl(char *file, uint32_t selector, uid_t uid, gid_t gid, acl_t *acl)
|
/illumos-gate/usr/src/cmd/chmod/ |
H A D | chmod.c | 119 acl_t *acl_aclp; 590 acl_t *new_acl = NULL; 722 acl_t *aclp; 723 acl_t *set_aclp;
|
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 118 static acl_t *s1acl; 1473 acl_t *s1acl_save; 1639 acl_t *xacl = NULL; 1640 acl_t *attrdiracl = NULL;
|