am e8b2e618: am 08c370cc: change /fstab.* perms back to 0644, to unbreak incremental OTAs
* commit 'e8b2e6185c46e51ad90091cf26ccdf8e2fac4138':
change /fstab.* perms back to 0644, to unbreak incremental OTAs
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 68928eb..5b556d6 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -138,7 +138,7 @@
#define android_id_count \
(sizeof(android_ids) / sizeof(android_ids[0]))
-
+
struct fs_path_config {
unsigned mode;
unsigned uid;
@@ -225,7 +225,7 @@
{ 00750, AID_ROOT, AID_SHELL, "init*" },
{ 00750, AID_ROOT, AID_SHELL, "charger*" },
{ 00750, AID_ROOT, AID_SHELL, "sbin/fs_mgr" },
- { 00640, AID_ROOT, AID_SHELL, "fstab.*" },
+ { 00644, AID_ROOT, AID_SHELL, "fstab.*" },
{ 00644, AID_ROOT, AID_ROOT, 0 },
};
@@ -234,7 +234,7 @@
{
struct fs_path_config *pc;
int plen;
-
+
pc = dir ? android_dirs : android_files;
plen = strlen(path);
for(; pc->prefix; pc++){
@@ -254,9 +254,9 @@
*uid = pc->uid;
*gid = pc->gid;
*mode = (*mode & (~07777)) | pc->mode;
-
+
#if 0
- fprintf(stderr,"< '%s' '%s' %d %d %o >\n",
+ fprintf(stderr,"< '%s' '%s' %d %d %o >\n",
path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode);
#endif
}