diff options
author | Andrew Chant <achant@google.com> | 2018-05-04 13:31:46 -0700 |
---|---|---|
committer | Andrew Chant <achant@google.com> | 2018-05-07 12:42:43 -0700 |
commit | 08b515dbce20bcec3e35a8b44c26e167421dfc02 (patch) | |
tree | 0cecc0c3c40cbfb5179146ad9ed933f16d9f95a6 /config.fs | |
parent | c69ed372553aaf33282f88f6d9773a0b63afab2e (diff) | |
download | bonito-08b515dbce20bcec3e35a8b44c26e167421dfc02.tar.gz |
use config.fs and add AID_PIXELSTATS_SYSTEM
config.fs is required to add new oem user IDs.
See: https://source.android.com/devices/tech/config/filesystem
Add AID_PIXELSTATS_SYSTEM via config.fs
This user ID is used for the pixelstats-system daemon.
Replace the old android_filesystem_config with config.fs.
Note the bluetooth_fw directory that is not covered in the new
config doesn't exist anyways, so the entry is moot.
Bug: 69978775
Test: Booted on crosshatch
blueline:/ # ps -A | grep pixel
pixelstats_system 769 1 16144 2676 binder_ioctl 0 S hardware.google.pixelstats@1.0-service
Change-Id: Ic2eca85868d80d3746b25effa88b128ada6ad80f
Diffstat (limited to 'config.fs')
-rw-r--r-- | config.fs | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/config.fs b/config.fs new file mode 100644 index 00000000..e662738e --- /dev/null +++ b/config.fs @@ -0,0 +1,51 @@ +# Copyright (C) 2018 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# This file is used to define the properties of the filesystem +# images generated by build tools (mkbootfs and mkyaffs2image) and +# by the device side of adb. + +[AID_PIXELSTATS_SYSTEM] +value: 2900 + +[vendor/bin/pm-service] +mode: 0755 +user: AID_SYSTEM +group: AID_SYSTEM +caps: NET_BIND_SERVICE + +[vendor/bin/cnss-daemon] +mode: 0755 +user: AID_SYSTEM +group: AID_SYSTEM +caps: NET_BIND_SERVICE + +[vendor/bin/imsdatadaemon] +mode: 0755 +user: AID_SYSTEM +group: AID_SYSTEM +caps: NET_BIND_SERVICE + +[vendor/bin/cnd] +mode: 0755 +user: AID_SYSTEM +group: AID_SYSTEM +caps: NET_BIND_SERVICE + +[vendor/bin/ims_rtp_daemon] +mode: 0755 +user: AID_SYSTEM +group: AID_RADIO +caps: NET_BIND_SERVICE |