X-Git-Url: https://git.saurik.com/apple/securityd.git/blobdiff_plain/ba39f75c6e9968804642b48cacd141ae417d913e..4cd1cad0dea00daa03e1b54fdf2797a02373ad5b:/src/database.cpp?ds=inline diff --git a/src/database.cpp b/src/database.cpp index cb49a92..25a7d41 100644 --- a/src/database.cpp +++ b/src/database.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2001 Apple Computer, Inc. All Rights Reserved. + * Copyright (c) 2000-2007 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -67,7 +67,7 @@ Process& Database::process() const { return referent(); } - + // // Send a keychain-related notification event about this database @@ -87,6 +87,7 @@ void DbCommon::notify(NotificationEvent event, const DLDbIdentifier &ident) free (data.data()); } + // // Default behaviors // @@ -100,6 +101,11 @@ void DbCommon::lockProcessing() // nothing } +bool DbCommon::belongsToSystem() const +{ + return false; +} + void Database::releaseKey(Key &key) { @@ -186,7 +192,7 @@ SecurityServerAcl &Database::acl() CssmError::throwMe(CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED); } -bool Database::isLocked() const +bool Database::isLocked() { secdebug("database", "%p calling unimplemented isLocked", this); CssmError::throwMe(CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED); @@ -207,11 +213,6 @@ AclKind Database::aclKind() const return dbAcl; } -GenericHandle Database::aclHandle() const -{ - return HandleObject::handle(); -} - // // Remote validation is not, by default, supported