Searched refs:acl (Results 1 - 25 of 200) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libc/common/sys/
H A Dacl.s30 .file "acl.s"
32 /* C library -- acl */
33 /* int acl(const char *path, int cmd, int cnt, struct aclent *buf) */
37 SYSCALL_RVAL1(acl)
39 SET_SIZE(acl)
/illumos-gate/usr/src/lib/libsec/
H A Dinc.flg29 find_files "s.*" usr/src/common/acl
H A DMakefile.com29 YFLAGS = -d -v -b acl
32 GENERATED_SRCS = acl.tab.o acl_lex.o
35 CLEANFILES += acl_lex.c acl.tab.c acl.tab.h
46 CPPFLAGS += -I$(SRCDIR) -I. -I../../../common/acl
54 CLOBBERFILES += acl.output
60 $(OBJS_SHARED:%.o=$(SRC)/common/acl/%.c)
70 pics/%.o: ../../../common/acl/%.c
74 acl.tab.c acl
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_acl.c62 smb_acl_t *acl; local
66 if ((acl = malloc(size)) == NULL)
69 acl->sl_revision = revision;
70 acl->sl_bsize = bsize;
71 acl->sl_acecnt = acecnt;
72 acl->sl_aces = (smb_ace_t *)(acl + 1);
74 list_create(&acl->sl_sorted, sizeof (smb_ace_t),
76 return (acl);
80 smb_acl_free(smb_acl_t *acl) argument
106 smb_acl_len(smb_acl_t *acl) argument
113 smb_acl_isvalid(smb_acl_t *acl, int which_acl) argument
166 smb_acl_sort(smb_acl_t *acl) argument
243 smb_acl_t *acl; local
300 smb_acl_to_zfs(smb_acl_t *acl, uint32_t flags, int which_acl, acl_t **fs_acl) argument
507 acl_t *acl; local
519 smb_fsacl_free(acl_t *acl) argument
[all...]
H A Dsmb_sd.c151 * Get ZFS acl from the share path via acl_get() method.
188 * Reads ZFS acl from filesystem using acl_get() method. Convert the ZFS acl to
218 * Apply ZFS acl to the share path via acl_set() method.
248 * ZFS acl and applies the acl to the share path via acl_set() method.
372 smb_acl_t *acl = NULL; local
410 acl = smb_acl_from_zfs(fs_sd->sd_zdacl);
411 if (acl == NULL) {
421 smb_acl_sort(acl);
449 smb_sd_set_dacl(smb_sd_t *sd, smb_acl_t *acl, boolean_t present, int flags) argument
467 smb_sd_set_sacl(smb_sd_t *sd, smb_acl_t *acl, boolean_t present, int flags) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_srv.c50 #include <sys/acl.h>
92 bzero((caddr_t)&resp->resok.acl, sizeof (resp->resok.acl));
94 resp->resok.acl.vsa_mask = args->mask;
96 error = VOP_GETSECATTR(vp, &resp->resok.acl, 0, cr, NULL);
101 * aclent_t type acls, fabricate an acl. This is
114 error = fs_fab_acl(vp, &resp->resok.acl, 0, cr, NULL);
134 if (resp->resok.acl.vsa_aclcnt > 0 &&
135 resp->resok.acl.vsa_aclentp != NULL) {
136 kmem_free((caddr_t)resp->resok.acl
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dacl_print.c37 #include <sys/acl.h>
92 fprint_ntacl(FILE *fp, i_ntacl_t *acl) argument
96 if (acl == NULL) {
102 acl->acl_revision, acl->acl_acecount);
103 for (i = 0; i < acl->acl_acecount; i++)
104 fprint_ntace(fp, acl->acl_acevec[i]);
H A Dacl_api.c37 #include <sys/acl.h>
203 * ZFS-style ACL (libsec acl, type=ACE_T)
210 acl_t *acl = NULL; local
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);
275 smbfs_acl_set(int fd, acl_t *acl, uid_t uid, gid_t gid) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/lsacl/
H A Dlsacl.c35 #include <sys/acl.h>
99 acl_t *acl; local
135 acl = acl_alloc(ACE_T);
136 error = smbfs_acl_sd2zfs(sd, acl, &uid, &gid);
156 acl_printacl(acl, 80, 1);
159 acl_free(acl);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/
H A DMakefile21 TESTDIR = $(ROOTOPTPKG)/tests/functional/acl
23 PROGS = acl.cfg \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/cifs/
H A Dcleanup.ksh33 . $STF_SUITE/tests/functional/acl/acl_common.kshlib
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dcleanup.ksh33 . $STF_SUITE/tests/functional/acl/acl_common.kshlib
H A Dzfs_acl_chmod_aclmode_001_pos.ksh34 . $STF_SUITE/tests/functional/acl/acl_common.kshlib
197 # $2 acl to be translated
199 function translate_acl # isdir acl
202 typeset acl=$2
206 who=${acl%%:*}
208 acltemp=${acl#*:}
211 action=${acl##*:}
212 acl=$prefix:$(cal_bits $isdir 7 7 $acl 0):$action
214 echo "$acl"
[all...]
H A Dzfs_acl_aclmode_restricted_001_neg.ksh35 . $STF_SUITE/tests/functional/acl/acl.cfg
36 . $STF_SUITE/tests/functional/acl/acl_common.kshlib
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/trivial/
H A Dcleanup.ksh33 . $STF_SUITE/tests/functional/acl/acl_common.kshlib
H A Dzfs_acl_aclmode_restricted_001_pos.ksh33 . $STF_SUITE/tests/functional/acl/acl.cfg
34 . $STF_SUITE/tests/functional/acl/acl_common.kshlib
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_acl.c29 #include <sys/acl.h>
30 #include <acl/acl_common.h>
110 smb_acl_t *acl; local
114 acl = kmem_zalloc(size, KM_SLEEP);
115 acl->sl_revision = revision;
116 acl->sl_bsize = bsize;
117 acl->sl_acecnt = acecnt;
118 acl->sl_aces = (smb_ace_t *)(acl + 1);
120 list_create(&acl
126 smb_acl_free(smb_acl_t *acl) argument
153 smb_acl_len(smb_acl_t *acl) argument
159 smb_acl_isvalid(smb_acl_t *acl, int which_acl) argument
219 smb_acl_sort(smb_acl_t *acl) argument
296 smb_acl_t *acl; local
353 smb_acl_to_zfs(smb_acl_t *acl, uint32_t flags, int which_acl, acl_t **fs_acl) argument
564 acl_t *acl; local
574 smb_fsacl_free(acl_t *acl) argument
591 acl_t *acl; local
[all...]
H A Dsmb_nt_transact_security.c309 smb_encode_sacl(mbuf_chain_t *mbc, smb_acl_t *acl) argument
314 if (acl == NULL)
318 (void) smb_mbc_encodef(mbc, "b.ww2.", acl->sl_revision,
319 acl->sl_bsize, acl->sl_acecnt);
321 for (i = 0, ace = acl->sl_aces; i < acl->sl_acecnt; i++, ace++) {
336 smb_encode_dacl(mbuf_chain_t *mbc, smb_acl_t *acl) argument
340 if (acl == NULL)
344 (void) smb_mbc_encodef(mbc, "b.ww2.", acl
501 smb_acl_t *acl; local
[all...]
H A Dsmb_sd.c120 * routine is always in ZFS format. Convert the ZFS acl to a Win acl
154 * converts ZFS acl to Posix acl if required.
287 smb_acl_t *acl = NULL; local
325 acl = smb_acl_from_zfs(fs_sd->sd_zdacl);
326 if (acl == NULL) {
336 smb_acl_sort(acl);
337 smb_sd_set_dacl(sd, acl, B_TRUE,
347 acl
364 smb_sd_set_dacl(smb_sd_t *sd, smb_acl_t *acl, boolean_t present, int flags) argument
382 smb_sd_set_sacl(smb_sd_t *sd, smb_acl_t *acl, boolean_t present, int flags) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/
H A Dchacl.c44 #include <sys/acl.h>
77 acl_t *acl = NULL; local
126 error = acl_parse(acl_arg + 2, &acl);
132 if (acl->acl_type != ACE_T) {
142 if (acl)
152 chacl(argv[optind], selector, uid, gid, acl);
155 acl_free(acl);
160 chacl(char *file, uint32_t selector, uid_t uid, gid_t gid, acl_t *acl) argument
197 error = smbfs_acl_zfs2sd(acl, uid, gid, selector, &sd);
217 acl_printacl(acl, 8
[all...]
/illumos-gate/usr/src/lib/libsec/common/
H A Dllib-lsec39 #include <sys/acl.h>
/illumos-gate/usr/src/cmd/gss/etc/
H A Dkdc.conf33 acl_file = /etc/krb5/kadm5.acl
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_acl.h31 #include <sys/acl.h>
73 * full acl
190 ufs_ic_acl_t *acl; \
191 for (acl = (P); acl; acl = acl->acl_ic_next) { \
193 (B)->acl_perm = acl->acl_ic_perm; \
194 (B)->acl_who = acl->acl_ic_who; \
/illumos-gate/usr/src/head/rpcsvc/
H A Dnfs_acl.x103 secattr acl;
119 secattr acl;
220 secattr acl;
240 secattr acl;
299 secattr acl;
319 secattr acl;
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c35 #include <acl/acl_common.h>
1273 ace_list_t *normacl = NULL, *dfacl = NULL, *acl; local
1329 /* see if this should be a regular or default acl */
1342 acl = dfacl;
1344 acl = normacl;
1348 if (acl->state > ace_user_obj) {
1352 acl->state = ace_user_obj;
1353 acl->seen |= USER_OBJ;
1354 vals = &acl->user_obj;
1355 vals->aent_type = USER_OBJ | acl
1638 acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count) argument
[all...]

Completed in 111 milliseconds

12345678