commit | d60a38b02e9d44365399d1f97719f32cf4587a5c | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Fri May 24 11:37:23 2024 -0700 |
committer | Inseob Kim <inseob@google.com> | Tue May 28 00:30:31 2024 +0000 |
tree | fe4dc939243e6b67c48f74a843de4849a7142ef9 | |
parent | 42598a96baead53681c5178981ac5650e66dbde9 [diff] [blame] |
microdroid: Add rules for /sys/kernel/mm/pgsize_migration/enabled The dynamic linker needs to read this node to determine how it should load ELF files. See page_size_migration_supported() [1] Allow the node to be enabled/disabled by init. [1] https://cs.android.com/android/platform/superproject/main/+/3d5e32517bbf56e9c69e3133a1b849b97cd6aa1d:bionic/linker/linker_phdr.cpp;l=709-721 Bug: 342520142 Bug: 330117029 Bug: 327600007 Bug: 330767927 Bug: 328266487 Bug: 329803029 Test: no avc deined in logcat Change-Id: I91381e36943ea0387ff245e924ddab53a4928a05 Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
diff --git a/microdroid/system/private/file.te b/microdroid/system/private/file.te index e250c35..82a5564 100644 --- a/microdroid/system/private/file.te +++ b/microdroid/system/private/file.te
@@ -30,3 +30,7 @@ # /data/misc/perfetto-configs for perfetto configs type perfetto_configs_data_file, file_type, data_file_type, core_data_file_type; + + +# Type for /sys/kernel/mm/pgsize_migration/enabled +type sysfs_pgsize_migration, fs_type, sysfs_type;