blob: 8ea3742fbf07c79b093dac8c9e4ded3fef2779c7 [file] [log] [blame]
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Create the runtime directory for removable media and MyFiles. Set its ugid
# to 655360:656360, which corresponds to root:system on the Android side.
d= /run/arcvm/media 0755 655360 656360
# Create the directory for mojo proxy.
d= /run/arcvm/mojo 0770 crosvm crosvm
# Create the directory for android-data bind mount.
d= /run/arcvm/android-data 0770 crosvm 655360
d= /run/arcvm/android-data/mount 0770 crosvm 655360
# Create the directory mounted as /var/run/arc/testharness.
# ugid 656360:656360 maps to system:system on the Android side.
d= /run/arcvm/testharness 0770 656360 656360
# Create the directory for user home bind mount.
d= /run/arcvm/userhome 0755 crosvm crosvm
# Create directories for APK Cache. APK cache is located at
# /var/run/arc/apkcache on guest side.
# ugid 656360:656360 maps to system:system on the Android side.
# /mnt/stateful_partition/unencrypted/apkcache is the directory where
# the cached files are stored. The location of this directory is
# inherited from ARC P, where it is created in arc_setup:
# http://cs/chromeos_public/src/platform2/arc/setup/arc_setup.cc?l=1523&rcl=d968662f948f87ebb4b3f353cd78c6674f0c9a3d
# /run/arcvm/apkcache is the bind mount point of the
# /mnt/stateful_partition/unencrypted/apkcache
d= /mnt/stateful_partition/unencrypted/apkcache 700 656360 656360
d= /run/arcvm/apkcache 700 656360 656360
# Set the mode for ARCVM CGroup CFS throttling to user+group writeable
# with user as root and group as crosvm.
z= /sys/fs/cgroup/cpu/vms/arc/cpu.cfs_period_us 0664 root crosvm
z= /sys/fs/cgroup/cpu/vms/arc/cpu.cfs_quota_us 0664 root crosvm