Commit 5cf7b07f authored by shrikant's avatar shrikant Committed by Commit bot

Adding lowbox condition to IsTokenCacheable function.

Problem discovered during PPAPI out of process tests, where it launches multiple processes with different delegates.

BUG=455496
R=rvargas,cpu,jschuh

Review URL: https://codereview.chromium.org/977193002

Cr-Commit-Position: refs/heads/master@{#319194}
parent 910d6e73
......@@ -88,8 +88,8 @@ bool IsTokenCacheable(const sandbox::PolicyBase* policy) {
const sandbox::AppContainerAttributes* app_container =
policy->GetAppContainer();
// We cannot cache tokens with an app container.
if (app_container)
// We cannot cache tokens with an app container or lowbox.
if (app_container || policy->GetLowBoxSid())
return false;
return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment