| Index: content/common/sandbox_linux/bpf_renderer_policy_linux.cc
|
| diff --git a/content/common/sandbox_linux/bpf_renderer_policy_linux.cc b/content/common/sandbox_linux/bpf_renderer_policy_linux.cc
|
| index b6a960ceef31fa377ebf9fdaeddc985a8ad1284a..67c1301d604d86113c5ba2e865fdea7f72d5eb58 100644
|
| --- a/content/common/sandbox_linux/bpf_renderer_policy_linux.cc
|
| +++ b/content/common/sandbox_linux/bpf_renderer_policy_linux.cc
|
| @@ -88,7 +88,8 @@ ResultExpr RendererProcessPolicy::EvaluateSyscall(int sysno) const {
|
| case __NR_sched_setscheduler:
|
| return sandbox::RestrictSchedTarget(GetPolicyPid(), sysno);
|
| case __NR_prlimit64:
|
| - return Error(EPERM); // See crbug.com/160157.
|
| + // See crbug.com/662450.
|
| + return sandbox::RestrictPrlimitToGetrlimit(GetPolicyPid());
|
| default:
|
| // Default on the content baseline policy.
|
| return SandboxBPFBasePolicy::EvaluateSyscall(sysno);
|
|
|