diff -r 947415ec7603 -r a7062f7f0b79 rtsecuritymanager/rtsecuritymanagerclient/src/rtsecmgrclient.cpp --- a/rtsecuritymanager/rtsecuritymanagerclient/src/rtsecmgrclient.cpp Fri Jul 03 15:51:30 2009 +0100 +++ b/rtsecuritymanager/rtsecuritymanagerclient/src/rtsecmgrclient.cpp Thu Sep 10 12:58:32 2009 +0300 @@ -637,6 +637,20 @@ } // +//Updates the blanket permission data of the script +// +TInt RSecMgrSubSession::UpdatePermGrant(TExecutableID aScriptID, + RProviderArray aAllowedProviders, RProviderArray aDeniedProviders) const + { + CRTPermGrantMessage* msg = CRTPermGrantMessage::NewL(aAllowedProviders , aDeniedProviders , aScriptID); + HBufC8* buffer = msg->PackMessageL(); + TIpcArgs args(buffer); + TInt ret = SendReceive (EUpdatePermanentGrantProvider, args); + delete buffer; + delete msg; + return ret; + } +// // Close the subsession. // void RSecMgrSubSession::Close()