Lines Matching refs:owner
52 SecPointer<ACL> owner = new ACL(*this);
53 owner->setAuthorization(CSSM_ACL_AUTHORIZATION_CHANGE_ACL);
54 addOwner(owner);
89 // owner "entry"
90 SecPointer<ACL> owner = new ACL(*this, descriptor, ACL::defaultSelector);
91 owner->setAuthorization(CSSM_ACL_AUTHORIZATION_CHANGE_ACL);
92 addOwner(owner);
128 AutoAclOwnerPrototype owner;
129 source.getOwner(owner);
132 compile(*owner, acls.count(), acls.entries());
139 Access::Access(const CSSM_ACL_OWNER_PROTOTYPE &owner,
142 compile(owner, aclCount, acls);
204 assert(mAcls[ownerHandle]); // have owner
206 // apply all non-owner ACLs first
211 // finally, apply owner
234 // Yield new (copied) CSSM level owner and acls values, presumably
243 unsigned long count = mAcls.size() - 1; // one will be owner, others are acls
244 AclOwnerPrototype owner;
250 acl->copyAclOwner(owner, alloc);
260 ownerResult = new(alloc) AclOwnerPrototype(owner);
307 // Add the owner ACL to the resident set. The ACL must have been
309 // Since an Access must have exactly one owner ACL, this call
316 assert(mAcls.find(ownerHandle) == mAcls.end()); // no owner yet
322 // Compile a set of ACL entries and owner into internal form.
324 void Access::compile(const CSSM_ACL_OWNER_PROTOTYPE &owner,
328 // add owner acl
329 mAcls[ownerHandle] = new ACL(*this, AclOwnerPrototype::overlay(owner));