c++ - 项目中使用了chromium中的sandboxed,但是win8 64位下sandboxed失效
PHPz
PHPz 2017-04-17 11:05:03
0
0
600

项目中使用了开源的sandboxed,但是在win8 64位下sandboxed失效,问题代码如下:

sandboxed::TargetPolicy *policy = createDefaultPolicy(strUserDataPath,strApps);


tstring strNewCmdLine = strCmdLine + _T(" --cache-path=\"") + strUserDataPath + _T("\"");
sandboxed::TargetProcess *process =
sandboxed::Broker::instance()->spawnTarget(strNewCmdLine.c_str(), policy);
policy->Release();

process->client()->waitForConnection();

其中,spawnTarget(strNewCmdLine.c_str(), policy)返回值为0

问题一:如何让sandboxed在win8 64位下正常使用? 问题二:查询sandboxed官网,发现其在2010年后就再没有版本更新,那么chromium中的sandbox是用的哪里的开源代码呢?

sandboxed官网 chromium的sandbox设计文档

PHPz
PHPz

学习是最好的投资!

répondre à tous(0)
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!