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

Lines Matching refs:aces

93     ace_t    *aces = NULL;
99 EC_NEG1_LOG(ace_count = get_nfsv4_acl(path, &aces));
107 who = aces[i].a_who;
108 flags = aces[i].a_flags;
109 type = aces[i].a_type;
110 rights = aces[i].a_access_mask;
165 if (aces) free(aces);
175 static int map_aces_solaris_to_darwin(const ace_t *aces,
191 if (aces->a_flags & (ACE_OWNER | ACE_GROUP | ACE_EVERYONE)) {
193 aces++;
197 if ( ! (aces->a_flags & ACE_IDENTIFIER_GROUP) ) { /* user ace */
198 LOG(log_debug, logtype_afpd, "uid: %d", aces->a_who);
199 EC_NULL_LOG(pwd = getpwuid(aces->a_who));
200 LOG(log_debug, logtype_afpd, "uid: %d -> name: %s", aces->a_who, pwd->pw_name);
205 LOG(log_debug, logtype_afpd, "gid: %d", aces->a_who);
206 EC_NULL_LOG(grp = getgrgid(aces->a_who));
207 LOG(log_debug, logtype_afpd, "gid: %d -> name: %s", aces->a_who, grp->gr_name);
214 if (aces->a_type == ACE_ACCESS_ALLOWED_ACE_TYPE)
216 else if (aces->a_type == ACE_ACCESS_DENIED_ACE_TYPE)
219 aces++;
223 if (aces->a_flags & nfsv4_to_darwin_flags[i].from)
231 if (aces->a_access_mask & nfsv4_to_darwin_rights[i].from)
237 aces++;
485 * @param aclp (rw) destination acl where new aces will be added
486 * @param acl (r) source acl where aces will be copied from
673 /* if it not a "inherit only" ace, it must be added as access aces too */
781 * Reads from 'aces' buffer, writes to 'rbuf' buffer.
842 ace_t *aces = NULL;
855 EC_NEG1(ace_count = get_nfsv4_acl(name, &aces));
856 EC_NEG1(mapped_aces = map_acl(SOLARIS_2_DARWIN, aces, (darwin_ace_t *)rbuf, ace_count));
895 if (aces) free(aces);
1065 /* adds the clients aces */
1514 ace_t *aces = NULL;
1515 if (get_nfsv4_acl(vol->v_path, &aces) == -1)
1525 if (aces) free(aces);