]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_apple_cspdl/lib/SSDatabase.cpp
Security-58286.1.32.tar.gz
[apple/security.git] / OSX / libsecurity_apple_cspdl / lib / SSDatabase.cpp
index 6e0c93fcbb69adf6eb7f5e3bae4bb5fcdc50d23e..2b748e62d13526dd8085a665bd93e37610985367 100644 (file)
@@ -261,7 +261,7 @@ SSDatabaseImpl::ssCreate(const DLDbIdentifier &dlDbIdentifier)
                mSSDbHandle = mClientSession.createDb(dlDbIdentifier, cred, owner, dbParameters);
                CssmDataContainer dbb(allocator());
                mClientSession.encodeDb(mSSDbHandle, dbb, allocator());
-        secnotice("integrity", "opening %s", name());
+        secinfo("integrity", "opening %s", name());
                Db::Impl::insert(DBBlobRelationID, NULL, &dbb);
                if (autoCommit)
                {
@@ -292,7 +292,7 @@ SSDatabaseImpl::ssCreateWithBlob(const DLDbIdentifier &dlDbIdentifier, const CSS
        {
                bool autoCommit;
                commonCreate(dlDbIdentifier, autoCommit);
-        secnotice("integrity", "opening %s", name());
+        secinfo("integrity", "opening %s", name());
                Db::Impl::insert(DBBlobRelationID, NULL, &blob);
                if (autoCommit)
                {
@@ -384,9 +384,9 @@ SSDatabaseImpl::recodeDbToVersion(uint32 newBlobVersion) {
     try
     {
         if(isLocked()) {
-            secnotice("integrity", "is currently locked");
+            secinfo("integrity", "is currently locked");
         } else {
-            secnotice("integrity", "is already unlocked");
+            secinfo("integrity", "is already unlocked");
         }
 
         CssmDataContainer dbb(allocator());
@@ -398,15 +398,15 @@ SSDatabaseImpl::recodeDbToVersion(uint32 newBlobVersion) {
         dbb.clear();
 
         // Create a newDbHandle using the master secrets from the dbBlob we are recoding to.
-        secnotice("integrity", "recoding db with handle %d", mSSDbHandle);
+        secinfo("integrity", "recoding db with handle %d", mSSDbHandle);
         SecurityServer::DbHandle clonedDbHandle = mClientSession.recodeDbToVersion(newBlobVersion, mSSDbHandle);
-        secnotice("integrity", "received db with handle %d", clonedDbHandle);
+        secinfo("integrity", "received db with handle %d", clonedDbHandle);
 
         // @@@ If the dbb changed since we fetched it we should abort or
         // retry the operation here.
 
         uint32 newBlobVersion = recodeHelper(clonedDbHandle, dbBlobId);
-        secnotice("integrity", "committing transaction %d", clonedDbHandle);
+        secinfo("integrity", "committing transaction %d", clonedDbHandle);
 
         // Commit the transaction to the db
         transaction.commit();
@@ -519,7 +519,7 @@ uint32 SSDatabaseImpl::recodeHelper(SecurityServer::DbHandle clonedDbHandle, Css
     // Commit the new blob to securityd, reencode the db blob, release the
     // cloned db handle and commit the new blob to the db.
     CssmDataContainer dbb(allocator());
-    secnotice("integrity", "committing %d", clonedDbHandle);
+    secinfo("integrity", "committing %d", clonedDbHandle);
     mClientSession.commitDbForSync(mSSDbHandle, clonedDbHandle,
             dbb, allocator());
     dbBlobId->modify(DBBlobRelationID, NULL, &dbb,