Skip to content

Instantly share code, notes, and snippets.

@FrannyZhao
Created April 22, 2019 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrannyZhao/ad76e05740fd1fe11500c67ba3bf7ef2 to your computer and use it in GitHub Desktop.
Save FrannyZhao/ad76e05740fd1fe11500c67ba3bf7ef2 to your computer and use it in GitHub Desktop.
zhaofengyi@moosgod-MS-7B10:~/mtkz300/system/core$ git diff
diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp
index cc96ff8..8f44691 100644
--- a/libcutils/fs_config.cpp
+++ b/libcutils/fs_config.cpp
@@ -166,7 +166,7 @@ static const struct fs_path_config android_files[] = {
// the following two files are INTENTIONALLY set-uid, but they
// are NOT included on user builds.
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procmem" },
- { 04750, AID_ROOT, AID_SHELL, 0, "system/xbin/su" },
+ { 06755, AID_ROOT, AID_SHELL, 0, "system/xbin/su" },
// the following files have enhanced capabilities and ARE included
// in user builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment