Lines Matching defs:entry
62 void Acl::CompareInsertEntry(const AclXattrEntry &entry)
64 if (entries_.count(entry)) {
65 auto it = entries_.find(entry);
68 bool isNecessary = (entry.tag_ == ACL_TAG::USER_OBJ ||
69 entry.tag_ == ACL_TAG::GROUP_OBJ ||
70 entry.tag_ == ACL_TAG::OTHER);
71 if (isNecessary || entry.perm_.IsReadable() || entry.perm_.IsWritable() || entry.perm_.IsExecutable()) {
72 entries_.insert(entry);
76 int Acl::InsertEntry(const AclXattrEntry &entry)
81 CompareInsertEntry(entry); // must before ReCalcMaskPerm()
85 * In either case there's no or already one ACL_MASK entry in the set,