• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/

Lines Matching refs:aces

98     ace_t    *aces = NULL;
104 EC_NEG1_LOG(ace_count = get_nfsv4_acl(path, &aces));
112 who = aces[i].a_who;
113 flags = aces[i].a_flags;
114 type = aces[i].a_type;
115 rights = aces[i].a_access_mask;
170 if (aces) free(aces);
180 static int map_aces_solaris_to_darwin(const ace_t *aces,
196 if (aces->a_flags & (ACE_OWNER | ACE_GROUP | ACE_EVERYONE)) {
198 aces++;
202 if ( ! (aces->a_flags & ACE_IDENTIFIER_GROUP) ) { /* user ace */
203 LOG(log_debug, logtype_afpd, "uid: %d", aces->a_who);
204 EC_NULL_LOG(pwd = getpwuid(aces->a_who));
205 LOG(log_debug, logtype_afpd, "uid: %d -> name: %s", aces->a_who, pwd->pw_name);
210 LOG(log_debug, logtype_afpd, "gid: %d", aces->a_who);
211 EC_NULL_LOG(grp = getgrgid(aces->a_who));
212 LOG(log_debug, logtype_afpd, "gid: %d -> name: %s", aces->a_who, grp->gr_name);
219 if (aces->a_type == ACE_ACCESS_ALLOWED_ACE_TYPE)
221 else if (aces->a_type == ACE_ACCESS_DENIED_ACE_TYPE)
224 aces++;
228 if (aces->a_flags & nfsv4_to_darwin_flags[i].from)
236 if (aces->a_access_mask & nfsv4_to_darwin_rights[i].from)
242 aces++;
629 * @param aclp (rw) destination acl where new aces will be added
630 * @param acl (r) source acl where aces will be copied from
822 /* if it not a "inherit only" ace, it must be added as access aces too */
930 * Reads from 'aces' buffer, writes to 'rbuf' buffer.
991 ace_t *aces = NULL;
1004 EC_NEG1(ace_count = get_nfsv4_acl(name, &aces));
1005 EC_NEG1(mapped_aces = map_acl(SOLARIS_2_DARWIN, aces, (darwin_ace_t *)rbuf, ace_count));
1044 if (aces) free(aces);
1294 /* adds the clients aces */
1766 ace_t *aces = NULL;
1768 if (get_nfsv4_acl(vol->v_path, &aces) == -1)
1779 if (aces) free(aces);