summaryrefslogtreecommitdiff
path: root/libutils/Unicode_test.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-06-08 15:14:42 -0700
committerNick Kralevich <nnk@google.com>2014-06-08 15:14:42 -0700
commitc3df8d756291b5258c21335e1266efb941fd7d0a (patch)
treee054504d6b554f4abbcce509c91f645faed2453a /libutils/Unicode_test.cpp
parent3013615077bbf1ccedaef59181f5e96062ad479a (diff)
Make su 04750
Currently, /system/xbin/su is world executable. Prior to SELinux enforcement, anyone (including third party apps) could run su. The su code itself checks to see if the calling UID is root or shell. Rather than relying on enforcement within the su binary, modify the binary so it has group=shell, and remove world-execute permission. This helps avoid some annoying SELinux denial messages as third party apps call su on userdebug/eng builds. Change-Id: I61c9231bb7e201d14ee3a5b6fe81b3fa7b12599f
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions