Commit df10d0db authored by David Tseng's avatar David Tseng Committed by Commit Bot

Revert "Give tts service sysinfo syscall perms"

This reverts commit 176b96aa.

Reason for revert: <INSERT REASONING HERE>
Tts .so works with this in a non-default config; error in config during testing. Follow up with the right perms for default build.

Original change's description:
> Give tts service sysinfo syscall perms
>
> As of
> https://chromium-review.googlesource.com/c/chromium/src/+/2510736
>
> the tts service, which runs a prebuilt containing tensorFlow, now asks for
> sysinfo.
>
> R=​mpdenton@chromium.org
>
> Test: patch the above change and makes sure the tts works.
> Change-Id: If578d0bb6617390a5919ac33b4b04970a33da317
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514759
> Reviewed-by: Matthew Denton <mpdenton@chromium.org>
> Commit-Queue: David Tseng <dtseng@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#823347}

TBR=dtseng@chromium.org,mpdenton@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I17009ffe0468e096c522fe18700c19735b5572d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2519713Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823989}
parent bd986761
......@@ -26,8 +26,6 @@ TtsProcessPolicy::~TtsProcessPolicy() {}
ResultExpr TtsProcessPolicy::EvaluateSyscall(int sysno) const {
switch (sysno) {
case __NR_sysinfo:
return Allow();
case __NR_sched_setscheduler:
return RestrictSchedTarget(GetPolicyPid(), sysno);
default:
......
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