HomeSort by relevance Sort by last modified time
    Searched defs:acl (Results 1 - 25 of 32) sorted by null

1 2

  /onnv/onnv-gate/usr/src/cmd/fs.d/smbclnt/lsacl/
lsacl.c 35 #include <sys/acl.h>
60 struct acl_info *acl; local
96 * Get it again as a ZFS-style ACL (ACE_T)
98 error = smbfs_acl_get(fd, &acl, &uid, &gid);
113 acl_printacl(acl, 80, 0);
  /onnv/onnv-gate/usr/src/cmd/ntfsprogs/
sd.c 27 ACL *acl; local
50 acl = (ACL*)((char*)sd + le32_to_cpu(sd->dacl));
51 acl->revision = 2;
52 acl->alignment1 = 0;
53 acl->size = const_cpu_to_le16(0x34);
54 acl->ace_count = const_cpu_to_le16(2);
55 acl->alignment2 = const_cpu_to_le16(0);
57 * Now at offset 0x1c, just after the DACL's ACL, we have the firs
172 ACL *acl; local
402 ACL *acl; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libsec/common/
acl.y 39 acl_t *acl;
52 %type <acl> acl_entry
61 acl: acl_entry NL label
73 | acl_entry COMMA acl
94 "Cannot have POSIX draft ACL entries"
95 " with NFSv4/ZFS ACL entries.\n"));
129 "Cannot have NFSv4/ZFS ACL entries"
130 " with POSIX draft ACL entries.\n"));
181 "ACL specification.\n"));
229 "ACL specification.\n"))
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/syscall/
acl.c 52 #include <sys/acl.h>
54 #include <acl/acl_common.h>
64 * Get/Set ACL of a file.
67 acl(const char *fname, int cmd, int nentries, void *aclbufp) function
96 * Get/Set ACL of a file with facl system call.
122 * Common code for acl() and facl().
128 int aclbsize; /* size of acl list in bytes */
129 int dfaclbsize; /* size of default acl list in bytes */
165 * Minimum ACL size is three entries so might as well
187 /* Sort the acl & default acl lists *
    [all...]
  /onnv/onnv-gate/usr/src/lib/libsmbfs/smb/
acl_api.c 28 * ACL API for smbfs
37 #include <sys/acl.h>
201 * ZFS-style ACL (libsec acl, type=ACE_T)
208 acl_t *acl = NULL; local
240 * Convert the internal SD to a ZFS ACL.
244 acl = acl_alloc(ACE_T);
245 if (acl == NULL) {
250 error = smbfs_acl_sd2zfs(sd, acl, uidp, gidp);
256 *aclp = acl;
    [all...]
acl_conv.c 28 * ACL support for smbfs
41 #include <sys/acl.h>
255 * Access Control List (ACL)
262 ifree_acl(i_ntacl_t *acl)
268 if (acl == NULL)
271 acep = &acl->acl_acevec[0];
272 for (i = 0; i < acl->acl_acecount; i++) {
276 sz = I_ACL_SIZE(acl->acl_acecount);
277 FREESZ(acl, sz);
283 i_ntacl_t *acl = NULL local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/filesync/
acls.c 30 * the data structures required by the filesystem ACL system calls
48 #define acl bogus_acl macro
50 static int acl(const char *name, int opcode, int count, aclent_t *acls) function
61 * to read the ACL (if any) from a file into a fileinfo structure
68 * number of ACL entries
77 count = acl(name, GETACL, MAX_ACL_ENTRIES, acls);
160 * to write the ACL of a file
164 * fileinfo pointer (which contains an acl pointer)
200 rc = acl(name, SETACL, nacl, list);
214 * to map an acl into arguments for a setfacl comman
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/smbsrv/
smb_sd.c 117 * Read uid, gid and ACL from filesystem. The returned ACL from read
118 * routine is always in ZFS format. Convert the ZFS acl to a Win acl
155 * converts ZFS acl to Posix acl if required.
290 smb_acl_t *acl = NULL; local
328 acl = smb_acl_from_zfs(fs_sd->sd_zdacl, fs_sd->sd_uid,
330 if (acl == NULL) {
336 * Need to sort the ACL before send it to Window
    [all...]
smb_nt_transact_security.c 310 smb_encode_sacl(struct smb_xa *xa, smb_acl_t *acl)
315 if (acl == NULL)
319 (void) smb_mbc_encodef(&xa->rep_data_mb, "b.ww2.", acl->sl_revision,
320 acl->sl_bsize, acl->sl_acecnt);
322 for (i = 0, ace = acl->sl_aces; i < acl->sl_acecnt; i++, ace++) {
337 smb_encode_dacl(struct smb_xa *xa, smb_acl_t *acl)
341 if (acl == NULL)
345 (void) smb_mbc_encodef(&xa->rep_data_mb, "b.ww2.", acl->sl_revision
501 smb_acl_t *acl; local
    [all...]
smb_acl.c 26 #include <sys/acl.h>
27 #include <acl/acl_common.h>
80 * Default ACL:
112 smb_acl_t *acl; local
116 acl = kmem_zalloc(size, KM_SLEEP);
117 acl->sl_revision = revision;
118 acl->sl_bsize = bsize;
119 acl->sl_acecnt = acecnt;
120 acl->sl_aces = (smb_ace_t *)(acl + 1)
298 smb_acl_t *acl; local
537 acl_t *acl; local
564 acl_t *acl; local
    [all...]
smb_fsops.c 30 #include <acl/acl_common.h>
156 acl_t *acl, *dacl, *sacl; local
159 int aclbsize = 0; /* size of acl list in bytes */
181 acl = smb_fsacl_merge(dacl, sacl);
183 acl = dacl;
185 acl = sacl;
188 rc = smb_fsacl_to_vsa(acl, &vsecattr, &aclbsize);
191 acl_free(acl);
223 * group at create time along with the ACL. Since we cannot
251 * For filesystems that don't support ACL-on-create, tr
1869 acl_t *acl; local
1935 acl_t *acl, *dacl, *sacl; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/smbsrv/libmlsvc/common/
srvsvc_sd.c 48 * This method computes ACL on share path from a share name.
202 * This method converts an ACL from absolute (pointer) to
209 srvsvc_acl_set_relative(uint8_t *sdbuf, smb_acl_t *acl)
218 m_acl->revision = acl->sl_revision;
220 m_acl->size = acl->sl_bsize;
222 m_acl->ace_count = acl->sl_acecnt;
359 * This method converts an ACL from self relative (flat buffer) to
370 smb_acl_t *acl; local
379 acl = smb_acl_alloc(rev, sz, ace_cnt);
381 return (acl);
    [all...]
  /onnv/onnv-gate/usr/src/lib/smbsrv/libsmb/common/
smb_sd.c 153 * Get ZFS acl from the share path via acl_get() method.
187 * Reads ZFS acl from filesystem using acl_get() method. Convert the ZFS acl to
233 * Apply ZFS acl to the share path via acl_set() method.
267 * ZFS acl and applies the acl to the share path via acl_set() method.
391 smb_acl_t *acl = NULL; local
429 acl = smb_acl_from_zfs(fs_sd->sd_zdacl, fs_sd->sd_uid,
431 if (acl == NULL) {
437 * Need to sort the ACL before send it to Window
    [all...]
smb_acl.c 71 smb_acl_t *acl; local
75 if ((acl = malloc(size)) == NULL)
78 acl->sl_revision = revision;
79 acl->sl_bsize = bsize;
80 acl->sl_acecnt = acecnt;
81 acl->sl_aces = (smb_ace_t *)(acl + 1);
83 list_create(&acl->sl_sorted, sizeof (smb_ace_t),
85 return (acl);
89 smb_acl_free(smb_acl_t *acl)
252 smb_acl_t *acl; local
491 acl_t *acl; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/ufs/
ufs.c 346 mdb_warn("acl walk needs an inode address\n");
383 ufs_ic_acl_t acl; local
397 if (mdb_vread(&acl, sizeof (acl), addr) == -1) {
398 mdb_warn("failed to read acl at %p", addr);
402 wsp->walk_addr = (uintptr_t)acl.acl_ic_next;
404 return (wsp->walk_callback(addr, &acl, acl_map[i].am_tag));
439 if (mdb_pwalk("acl", (mdb_walk_cb_t)acl_cb, NULL, addr) == -1) {
647 { "acl", ":", "given an inode, display its in core acl's", acl_dcmd }
    [all...]
  /onnv/onnv-gate/usr/src/lib/librsm/common/
rsmgen.c 979 rsmapi_access_entry_t acl[1]; local
1008 acl[0].ae_node = rsm_local_nodeid;
1010 acl[0].ae_permission = 0;
1012 acl[0].ae_permission = RSM_PERM_RDWR;
1014 e = rsm_memseg_export_publish(memseg, &segid, acl, 1);
  /onnv/onnv-gate/usr/src/lib/libntfs/common/libntfs/
dir.c 1101 ACL *acl; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/ufs/
ufs_acl.c 39 #include <sys/acl.h>
67 si_t **si_cachea; /* The 'by acl' cache chains */
76 * Search the acl cache for an identical sp and, if found, attach
77 * the cache'd acl to ip. If the acl is new (not in the cache),
79 * decrement the reference count of any prior acl list attached
83 * ip - Ptr to inode to receive the acl list
84 * sp - Ptr to in-core acl structure to attach to the inode.
281 /* Now put the new acl stuff in the cache */
299 * Change the mode bits to follow the acl lis
638 ufs_ic_acl_t *acl; local
1517 ufs_ic_acl_t *acl; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/nfs/
nfs_acl.h 87 vsecattr_t acl; member in struct:GETACL2resok
101 vsecattr_t acl; member in struct:SETACL2args
191 vsecattr_t acl; member in struct:GETACL3resok
211 vsecattr_t acl; member in struct:SETACL3args
  /onnv/onnv-gate/usr/src/cmd/iscsi/iscsitgtd/
util.c 72 * | check_access -- see if the requesting initiator is in the ACL
81 tgt_node_t *acl; local
128 * If there's no ACL for this target everyone has access.
130 if ((acl = tgt_node_next(targ, XML_ELEMENT_ACLLIST, NULL)) == NULL)
156 if ((acl != NULL) && (inode == NULL))
159 while ((tgt_initiator = tgt_node_next(acl, XML_ELEMENT_INIT,
176 * simple ACL list is used. This can be spoofed easily
    [all...]
  /onnv/onnv-gate/usr/src/ucbcmd/ls/
ls.c 42 #include <sys/acl.h>
58 char acl; /* acl access flag */ member in struct:afile
424 /* ACL: check acl entries count */
425 if ((aclcnt = acl(file, GETACLCNT, 0, NULL)) >
428 /* this file has a non-trivial acl */
430 fp->acl = '+';
436 * the CLASS_OBJ (acl mask) value. Determine
449 if (acl(file, GETACL, aclcnt, aclp) < 0)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/nfs/
nfs4_acl.c 44 #include <sys/acl.h>
136 * What we will send the server upon setting an ACL on our client
144 * What we will accept upon getting an ACL on our client
155 * What we will produce as an ACL on a newly created file
163 * What we will accept upon setting an ACL on our server
766 * Convert a POSIX draft ACL (in a vsecattr_t) to an NFSv4 ACL, following
767 * the semantics of the IETF draft, draft-ietf-nfsv4-acl-mapping-01.txt.
1135 /* ACL enforcement */
1355 ace4_list_t *normacl = NULL, *dfacl = NULL, *acl; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/sys/
acl.h 37 typedef struct acl { struct
38 int a_type; /* the type of ACL entry */
185 /* cmd args to acl(2) for aclent_t */
195 /* minimal acl entries from GETACLCNT */
200 /* acl check errors */
222 * controls whether a trivial acl should be returned.
232 #define ACL_COMPACT_FMT 0x2 /* build ACL in ls -V format */
251 #define EACL_COUNT_ERROR 12 /* invalid acl count */
253 #define EACL_INVALID_SLOT 13 /* invalid acl slot */
258 #define EACL_INVALID_STR 17 /* invalid acl string *
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/smbsrv/
smbsrv.c 1791 smb_acl_t acl; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/intel/io/intel_nb5000/
intel_nb5000.c 2154 nb_logout_t *acl = (nb_logout_t *)data; local
    [all...]

Completed in 1259 milliseconds

1 2