diff options
author | osm0sis <osm0sis@outlook.com> | 2016-11-22 08:49:52 +0300 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2016-11-22 19:43:12 +0300 |
commit | 007e89fa3f6bc2a467922f0a8814fabd71db2c43 (patch) | |
tree | 6a0abbf058aee086543c541b49a5879c6b6fddfd | |
parent | 1aa3c17642317a6b94fc44b40be80b9a3dd1eb06 (diff) |
private: update SuperSU special ramdisk dir/file rules in fs config
- add .sufrp factory reset protection rules
- add preliminary slot-based system rules (ie. rooted Pixel support)
-rw-r--r-- | private/android_filesystem_config.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/private/android_filesystem_config.h b/private/android_filesystem_config.h index e7d95f70..9a1f2111 100644 --- a/private/android_filesystem_config.h +++ b/private/android_filesystem_config.h @@ -313,8 +313,11 @@ struct fs_path_config { */ static const struct fs_path_config android_dirs[] = { - /* SuperSU ramdisk special directory */ + /* SuperSU ramdisk special directories */ { 00000, AID_ROOT, AID_ROOT, 0, ".subackup" }, + { 00000, AID_ROOT, AID_ROOT, 0, ".sufrp" }, + { 00000, AID_ROOT, AID_ROOT, 0, "boot/.subackup" }, + { 00000, AID_ROOT, AID_ROOT, 0, "boot/.sufrp" }, { 00770, AID_SYSTEM, AID_CACHE, 0, "cache" }, { 00500, AID_ROOT, AID_ROOT, 0, "config" }, @@ -365,7 +368,13 @@ static const struct fs_path_config android_files[] = { { 00640, AID_ROOT, AID_ROOT, 0, ".subackup/0001_fstab.*" }, { 00750, AID_ROOT, AID_ROOT, 0, ".subackup/0002_init*" }, { 00750, AID_ROOT, AID_ROOT, 0, ".subackup/0003_init*" }, + { 00755, AID_ROOT, AID_ROOT, 0, ".sufrp/frp_install" }, { 00700, AID_ROOT, AID_ROOT, 0, "sbin/launch_daemonsu.sh" }, + { 00640, AID_ROOT, AID_ROOT, 0, "boot/.subackup/0001_fstab.*" }, + { 00750, AID_ROOT, AID_ROOT, 0, "boot/.subackup/0002_init*" }, + { 00750, AID_ROOT, AID_ROOT, 0, "boot/.subackup/0003_init*" }, + { 00755, AID_ROOT, AID_ROOT, 0, "boot/.sufrp/frp_install" }, + { 00700, AID_ROOT, AID_ROOT, 0, "boot/sbin/launch_daemonsu.sh" }, { 00440, AID_ROOT, AID_SHELL, 0, "system/etc/init.goldfish.rc" }, { 00550, AID_ROOT, AID_SHELL, 0, "system/etc/init.goldfish.sh" }, |