diff options
| author | 2021-12-13 23:56:35 +0900 | |
|---|---|---|
| committer | 2021-12-15 09:11:15 +0900 | |
| commit | 038e852ce10b11f1dfd388f28243cdf5835f2c8f (patch) | |
| tree | 7a8517c6a57caa61544b8d9b134e88638ec5877a /apex/apex.go | |
| parent | 1b0893eeba2cdee3dcc573ec523ee0199684d6b1 (diff) | |
Add canned_fs_config to apex module type
The property is used to customize uid/gid/mode/capabilities of files in
an APEX.
Bug: 209971551
Test: m
Change-Id: I484e46ff819a5266c1e8046dae337e18ef3fefea
Diffstat (limited to 'apex/apex.go')
| -rw-r--r-- | apex/apex.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apex/apex.go b/apex/apex.go index 0a785f3d0..cedc3b3b9 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -98,6 +98,14 @@ type apexBundleProperties struct { // /system/sepolicy/apex/<module_name>_file_contexts. File_contexts *string `android:"path"` + // Path to the canned fs config file for customizing file's uid/gid/mod/capabilities. The + // format is /<path_or_glob> <uid> <gid> <mode> [capabilities=0x<cap>], where path_or_glob is a + // path or glob pattern for a file or set of files, uid/gid are numerial values of user ID + // and group ID, mode is octal value for the file mode, and cap is hexadecimal value for the + // capability. If this property is not set, or a file is missing in the file, default config + // is used. + Canned_fs_config *string `android:"path"` + ApexNativeDependencies Multilib apexMultilibProperties |