HomeSort by relevance Sort by last modified time
    Searched defs:aclcnt (Results 1 - 13 of 13) sorted by null

  /onnv/onnv-gate/usr/src/cmd/getfacl/
getfacl.c 75 int aclcnt; local
113 if ((aclcnt = acl(filep, GETACLCNT, 0, NULL)) < 0) {
125 if (aclcnt < MIN_ACL_ENTRIES) {
128 aclcnt, filep);
132 if ((aclp = (aclent_t *)malloc(sizeof (aclent_t) * aclcnt))
140 if (acl(filep, GETACL, aclcnt, aclp) < 0) {
147 savecnt = aclcnt;
148 for (tp = aclp; aclcnt--; tp++) {
158 aclcnt = savecnt;
159 for (tp = aclp; aclcnt--; tp++)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/setfacl/
setfacl.c 72 int aclcnt; /* used by -m -d */ local
162 aclcnt = get_acl_info(filep, &aclp);
163 if (aclcnt == -1)
165 if (mod_entries(aclp, aclcnt, work_mp,
195 int aclcnt; local
197 if ((aclcnt = acl(filep, GETACLCNT, 0, NULL)) < 0) {
211 if (aclcnt < MIN_ACL_ENTRIES) {
214 aclcnt, filep);
218 if ((*aclpp = (aclent_t *)malloc(sizeof (aclent_t) * aclcnt)) == NULL) {
222 if (acl(filep, GETACL, aclcnt, *aclpp) < 0)
278 int aclcnt = 0; local
348 int aclcnt = 0; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libsec/common/
aclutils.c 64 int aclcnt; local
76 aclcnt = acl(filename, cntcmd, 0, NULL);
77 if (aclcnt > 0) {
79 acep = malloc(sizeof (ace_t) * aclcnt);
83 aclcnt, acep) < 0) {
88 val = ace_trivial(acep, aclcnt);
91 } else if (aclcnt > MIN_ACL_ENTRIES)
396 int aclcnt; local
420 aclcnt = 4;
421 error = acl(file, SETACL, aclcnt, min_acl)
    [all...]
acltext.c 187 int aclcnt; local
195 aclcnt = aclp->acl_cnt;
196 for (tp = aclp->acl_aclp; tp && aclcnt--; tp++) {
200 aclcnt = aclp->acl_cnt;
201 for (tp = aclp->acl_aclp; aclcnt--; tp++) {
738 aclent_acltotext(aclent_t *aclp, int aclcnt, int flags)
749 dstr->d_bufsize = aclcnt * ACL_ENTRY_SIZE;
757 for (i = 0; i < aclcnt; i++, aclp++) {
775 if (i < aclcnt - 1)
790 acltotext(aclent_t *aclp, int aclcnt)
891 int aclcnt = aceaclp->acl_cnt; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/nfs/
nfs_acl.h 61 int aclcnt; member in struct:secattr
  /onnv/onnv-gate/usr/src/cmd/chmod/
chmod.c 680 int aclcnt, n; local
690 if ((aclcnt = acl(name, GETACLCNT, 0, NULL)) <= MIN_ACL_ENTRIES)
692 if ((aclp = (aclent_t *)malloc((sizeof (aclent_t)) * aclcnt))
698 if (acl(name, GETACL, aclcnt, aclp) < 0) {
704 for (tp = aclp, n = aclcnt; n--; tp++) {
713 if (acl(name, SETACL, aclcnt, aclp)
    [all...]
  /onnv/onnv-gate/usr/src/ucbcmd/ls/
ls.c 324 int aclcnt; local
425 if ((aclcnt = acl(file, GETACLCNT, 0, NULL)) >
444 (sizeof (aclent_t)) * aclcnt)) == NULL) {
449 if (acl(file, GETACL, aclcnt, aclp) < 0) {
466 for (tp = aclp; aclcnt--; tp++) {
  /onnv/onnv-gate/usr/src/uts/common/fs/nfs/
nfs_srv.c 2841 int aclcnt; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/
rcp.c 1841 int aclcnt; local
1970 int aclcnt; \/* acl entry count *\/ local
    [all...]
  /onnv/onnv-gate/usr/src/common/acl/
acl_common.c 215 ace_trivial_common(void *acep, int aclcnt,
216 uint64_t (*walk)(void *, uint64_t, int aclcnt,
230 while (cookie = walk(acep, cookie, aclcnt, &flags, &type, &mask)) {
291 ace_walk(void *datap, uint64_t cookie, int aclcnt, uint16_t *flags,
296 if (cookie >= aclcnt)
307 ace_trivial(ace_t *acep, int aclcnt)
309 return (ace_trivial_common(acep, aclcnt, ace_walk));
832 convert_aent_to_ace(aclent_t *aclentp, int aclcnt, int isdir,
846 ksort((caddr_t)aclentp, aclcnt, sizeof (aclent_t), cmp2acls);
848 for (i = 0, aclp = aclentp; i < aclcnt; aclp++, i++)
1626 int aclcnt, dfaclcnt; local
1666 int aclcnt; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/
zfs_acl.c 519 zfs_ace_walk(void *datap, uint64_t cookie, int aclcnt,
545 void *datap, zfs_ace_t *z_acl, int aclcnt, size_t *size,
555 for (i = 0; i != aclcnt; i++) {
664 zfs_oldace_t *z_acl, int aclcnt, size_t *size)
669 for (i = 0; i != aclcnt; i++, aceptr++) {
2058 int aclcnt = vsecp->vsa_aclcnt; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ls/
ls.c 1747 int aclcnt; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cpio/
cpio.c 4469 int aclcnt; local
    [all...]

Completed in 600 milliseconds