Created
January 30, 2014 12:32
-
-
Save sakuramilk/8707505 to your computer and use it in GitHub Desktop.
Disabled set android permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c4a142271742c813a9c053844c9d14fd1486b648 Mon Sep 17 00:00:00 2001 | |
From: sakuramilk <[email protected]> | |
Date: Thu, 30 Jan 2014 21:31:43 +0900 | |
Subject: [PATCH] Disabled set android permissions | |
--- | |
bin/ext4_utils/make_ext4fs.c | 2 ++ | |
1 file changed, 2 insertions(+) | |
diff --git a/bin/ext4_utils/make_ext4fs.c b/bin/ext4_utils/make_ext4fs.c | |
index b6dfe8c..e3c9156 100644 | |
--- a/bin/ext4_utils/make_ext4fs.c | |
+++ b/bin/ext4_utils/make_ext4fs.c | |
@@ -146,6 +146,7 @@ static u32 build_directory_structure(const char *full_path, const char *dir_path | |
dentries[i].gid = stat.st_gid; | |
if (fs_config_func != NULL) { | |
#ifdef ANDROID | |
+#if 0 | |
unsigned int mode = 0; | |
unsigned int uid = 0; | |
unsigned int gid = 0; | |
@@ -154,6 +155,7 @@ static u32 build_directory_structure(const char *full_path, const char *dir_path | |
dentries[i].mode = mode; | |
dentries[i].uid = uid; | |
dentries[i].gid = gid; | |
+#endif | |
#else | |
error("can't set android permissions - built without android support"); | |
#endif | |
-- | |
1.7.9.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment