Bug 1789782 - Port bug 1788233: Remove PermissionsService from process Windows sandboxing code. r=#thunderbird-reviewers,darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D156775 --HG-- extra : histedit_source : e71d727279c2528cbded75b580487909aefc7ce0
This commit is contained in:
Родитель
1dba72f962
Коммит
d0dc89804f
|
@ -209,14 +209,11 @@ static int do_main(int argc, char* argv[], char* envp[]) {
|
|||
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
|
||||
sandbox::BrokerServices* brokerServices =
|
||||
sandboxing::GetInitializedBrokerServices();
|
||||
sandboxing::PermissionsService* permissionsService =
|
||||
sandboxing::GetPermissionsService();
|
||||
if (!brokerServices) {
|
||||
Output("Couldn't initialize the broker services.\n");
|
||||
return 255;
|
||||
}
|
||||
config.sandboxBrokerServices = brokerServices;
|
||||
config.sandboxPermissionsService = permissionsService;
|
||||
#endif
|
||||
|
||||
#ifdef LIBFUZZER
|
||||
|
|
Загрузка…
Ссылка в новой задаче