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

项目中使用了开源的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

学习是最好的投资!

Antworte allen(0)
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!