seccomp: allow setpriority on arm/aarch64 for gpu

It is called by Mesa's u_trace.

BUG=b:243028790
TEST=enable renderstage tracing with perfetto

Change-Id: Id0e43e0e08b60a48b5d6bf6f887510152d9ba133
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3863855
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Chia-I Wu <olv@google.com>
Tested-by: Chia-I Wu <olv@google.com>
This commit is contained in:
Chia-I Wu 2022-08-30 16:21:49 -07:00 committed by crosvm LUCI
parent 209151ebea
commit 39ad7ce5d6
2 changed files with 6 additions and 0 deletions

View file

@ -89,6 +89,9 @@ sched_setscheduler: 1
sched_setaffinity: 1
kcmp: 1
# Rules for Mesa's u_trace thread
setpriority: 1
# Rules for Vulkan loader / layers
faccessat: 1
faccessat2: 1

View file

@ -102,6 +102,9 @@ sched_setscheduler: 1
sched_setaffinity: 1
kcmp: 1
# Rules for Mesa's u_trace thread
setpriority: 1
# Rules for Vulkan loader / layers
access: 1
getgid32: 1