Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
google
GitHub Repository: google/crosvm
Path: blob/main/jail/seccomp/riscv64/battery.policy
5394 views
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

@include /usr/share/policy/crosvm/common_device.policy

# Syscalls used by power_monitor's powerd implementation.
clock_getres: 1
connect: 1
geteuid: 1
getrandom: 1
getresgid: 1
getresuid: 1
getsockname: 1
prctl: arg0 == PR_SET_NAME
socket: arg0 == AF_UNIX