/titanic_41/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 *); 133 extern int acl_type(acl_t *); 134 extern int acl_cnt(acl_t *); 135 extern int acl_flags(acl_t *); 136 extern void *acl_data(acl_t *); [all …]
|
H A D | aclutils.c | 99 cacl_get(acl_inp inp, int get_flag, int type, acl_t **aclp) in cacl_get() 106 acl_t *acl_info; in cacl_get() 225 acl_get(const char *path, int get_flag, acl_t **aclp) in acl_get() 234 facl_get(int fd, int get_flag, acl_t **aclp) in facl_get() 247 cacl_set(acl_inp *acl_inp, acl_t *aclp, int type) in cacl_set() 300 acl_set(const char *path, acl_t *aclp) in acl_set() 310 facl_set(int fd, acl_t *aclp) in facl_set() 320 acl_cnt(acl_t *aclp) in acl_cnt() 326 acl_type(acl_t *aclp) in acl_type() 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) in aclent_printacl() 791 acl_t *aclp; in aclfromtext() 880 ace_acltotext(acl_t *aceaclp, int flags) in ace_acltotext() 969 acl_totext(acl_t *aclp, int flags) in acl_totext() 989 acl_fromtext(const char *acltextp, acl_t **ret_aclp) in acl_fromtext() 1020 acl_parse(const char *acltextp, acl_t **aclp) in acl_parse() 1031 ace_compact_printacl(acl_t *aclp) in ace_compact_printacl() 1073 ace_printacl(acl_t *aclp, int cols, int compact) in ace_printacl() [all …]
|
H A D | aclcheck.c | 301 ace_aclcheck(acl_t *aclp, int isdir) in ace_aclcheck() 362 acl_check(acl_t *aclp, int flag) in acl_check()
|
H A D | acl.y | 30 extern acl_t *yyacl; 39 acl_t *acl;
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | acl.h | 54 typedef struct acl_info acl_t; typedef 276 extern void acl_free(acl_t *); 277 extern int acl_get(const char *, int, acl_t **); 278 extern int facl_get(int, int, acl_t **); 279 extern int acl_set(const char *, acl_t *acl); 280 extern int facl_set(int, acl_t *acl); 283 extern char *acl_totext(acl_t *, int); 284 extern int acl_fromtext(const char *, acl_t **); 285 extern int acl_check(acl_t *, int);
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 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) in smb_acl_from_zfs() 353 smb_acl_to_zfs(smb_acl_t *acl, uint32_t flags, int which_acl, acl_t **fs_acl) in smb_acl_to_zfs() 356 acl_t *zacl; in smb_acl_to_zfs() 472 smb_fsacl_getsids(smb_idmap_batch_t *sib, acl_t *zacl) in smb_fsacl_getsids() 536 static acl_t * 539 acl_t *zacl; in smb_fsacl_null_empty() 561 acl_t * [all …]
|
/titanic_41/usr/src/lib/libsmbfs/netsmb/ |
H A D | smbfs_acl.h | 49 int smbfs_acl_get(int fd, acl_t **, uid_t *, gid_t *); 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 **);
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_xattr_001_pos.ksh | 83 typeset acl_t=$3 90 if [[ $acl_t == *read_xattr* ]]; then 92 elif [[ $acl_t == *write_xattr* ]]; then 146 typeset flag acl_p acl_t parent 151 for acl_t in "${a_access[@]}"; do 152 log_must usr_exec $CHMOD A+$flag:$acl_t $node 157 "$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 | 79 typeset acl_t=$3 141 typeset flag acl_p acl_t parent 146 for acl_t in "${a_access[@]}"; do 147 log_must usr_exec $CHMOD A+$flag:$acl_t $node 152 "$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 \
|
/titanic_41/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) in smb_acl_from_zfs() 300 smb_acl_to_zfs(smb_acl_t *acl, uint32_t flags, int which_acl, acl_t **fs_acl) in smb_acl_to_zfs() 304 acl_t *zacl; in smb_acl_to_zfs() 415 smb_fsacl_getsids(smb_idmap_batch_t *sib, acl_t *zacl) in smb_fsacl_getsids() 479 static acl_t * 482 acl_t *zacl; in smb_fsacl_null_empty() 504 acl_t * [all …]
|
H A D | smb_sd.c | 156 acl_t *z_acl; in smb_sd_read_acl() 225 acl_t *z_acl; in smb_sd_write_acl()
|
/titanic_41/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_kproto.h | 802 acl_t *smb_fsacl_inherit(acl_t *, int, int, cred_t *); 803 acl_t *smb_fsacl_merge(acl_t *, acl_t *); 804 void smb_fsacl_split(acl_t *, acl_t **, acl_t **, int); 805 acl_t *smb_fsacl_from_vsa(vsecattr_t *, acl_type_t); 806 int smb_fsacl_to_vsa(acl_t *, vsecattr_t *, int *);
|
H A D | smb_vops.h | 156 int smb_vop_acl_read(vnode_t *, acl_t **, int, acl_type_t, cred_t *); 157 int smb_vop_acl_write(vnode_t *, acl_t *, int, cred_t *);
|
/titanic_41/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; in acl_alloc() 270 if (cacl_malloc((void **)&aclp, sizeof (acl_t)) != 0) in acl_alloc() 296 acl_free(acl_t *aclp) in acl_free() 308 cacl_free(aclp, sizeof (acl_t)); in acl_free() 1504 acl_translate(acl_t *aclp, int target_flavor, boolean_t isdir, uid_t owner, in acl_translate()
|
/titanic_41/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) in smbfs_acl_get() 210 acl_t *acl = NULL; in smbfs_acl_get() 275 smbfs_acl_set(int fd, acl_t *acl, uid_t uid, gid_t gid) in smbfs_acl_set()
|
/titanic_41/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; in main() 160 chacl(char *file, uint32_t selector, uid_t uid, gid_t gid, acl_t *acl) in chacl()
|
/titanic_41/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 **);
|
/titanic_41/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; in lsacl()
|
/titanic_41/usr/src/cmd/chmod/ |
H A D | chmod.c | 119 acl_t *acl_aclp; 590 acl_t *new_acl = NULL; in parse_acl_args() 722 acl_t *aclp; in doacl() 723 acl_t *set_aclp; in doacl()
|
/titanic_41/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;
|