seccomp: add arm policy for Goldfish battery

BUG=b:214124318
TEST=no seccomp violations on kukui-arc-r

Change-Id: Ida0450cb0f9eb82109c6129345f98e4afb210d30
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3725614
Reviewed-by: Masami Hiramatsu <mhiramat@google.com>
Reviewed-by: Kazuhiro Inaba <kinaba@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Kazuhiro Inaba <kinaba@chromium.org>
This commit is contained in:
Yiwei Zhang 2022-06-27 05:46:38 +00:00 committed by Chromeos LUCI
parent 2d2eec381b
commit 64af01caed

View file

@ -3,4 +3,9 @@
# found in the LICENSE file.
@include /usr/share/policy/crosvm/common_device.policy
connect: 1
geteuid32: 1
getsockname: 1
prctl: arg0 == PR_SET_NAME
send: 1
socket: arg0 == AF_UNIX