• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/securityd-55199.3/src/

Lines Matching defs:user

42 // <uid|S> decimal userid of owning user, or 'S' for system entries. Followed by null byte.
47 DbKey(char type, const CssmData &key, bool perUser = false, uid_t user = 0);
50 DbKey::DbKey(char type, const CssmData &key, bool perUser, uid_t user)
57 headerLength = 1 + sprintf(header, "%c%d", type, user);
141 bool CodeSignatures::find(Identity &id, uid_t user)
146 DbKey userKey('H', id.getHash(), true, user);
150 IFDUMPING("equiv", id.debugDump("found/user"));
168 void CodeSignatures::makeLink(Identity &id, const string &ident, bool forUser, uid_t user)
170 DbKey key('H', id.getHash(), forUser, user);
183 uid_t user = Server::process().uid();
184 if (forSystem && user) // only root user can establish forSystem links
186 if (!forSystem) // in fact, for now we don't allow per-user calls at all
199 makeLink(oldCode, name, !forSystem, user);
202 makeLink(newCode, name, !forSystem, user);
209 uid_t user = Server::process().uid();
210 if (forSystem && user) // only root user can remove forSystem links
212 DbKey key('H', hash, !forSystem, user);
366 secdebug("codesign", "does not withstand strict scrutiny; ask the user");
370 secdebug("codesign", "user declined equivalence: cancel the access");
415 uid_t user = process.uid();
418 find(aclIdentity, user);
419 find(clientIdentity, user);
449 find(aclIdentity, user);
450 find(clientIdentity, user);
462 // ask the user
467 secdebug("codesign", "user declined equivalence: cancel the access");
474 // user wants us to go ahead and establish trust (if possible)
477 makeLink(clientIdentity, aclIdentity.trustedName(), true, user);
486 makeLink(aclIdentity, clientIdentity.trustedName(), true, user);
495 makeLink(clientIdentity, ident, true, user);
496 makeLink(aclIdentity, ident, true, user);