summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Sharkey2017-11-09 18:41:09 -0600
committerJeff Sharkey2017-11-13 17:49:26 -0600
commit53d37ba23f4805dc81849595d18160eac7e75439 (patch)
tree27f1931a2b01c254f52fbc01733eb59f393494c1 /libcutils/Android.bp
parent21d3840eb39291bbc59f0dc5a33fc58b152994fe (diff)
downloadplatform-system-core-53d37ba23f4805dc81849595d18160eac7e75439.tar.gz
platform-system-core-53d37ba23f4805dc81849595d18160eac7e75439.tar.xz
platform-system-core-53d37ba23f4805dc81849595d18160eac7e75439.zip
Better, consistent definition of AID_SHARED_GID.
AID_SHARED_GID is a GID shared by a specific app across all users on the same device. Bring the UserHandle and multiuser.c implementations into agreement, and copy/paste the unit tests that verify that both behave identically. This fixes a regression where multiuser_get_shared_gid() was applying per-user isolation when it shouldn't have. Test: adb shell /data/nativetest64/libcutils_test/libcutils_test64 Bug: 34151068, 64548938 Change-Id: I491dd79d23a214425a68865d1d0f8269916aad4c
Diffstat (limited to 'libcutils/Android.bp')
-rw-r--r--libcutils/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/Android.bp b/libcutils/Android.bp
index d7413d16c..9cba109a4 100644
--- a/libcutils/Android.bp
+++ b/libcutils/Android.bp
@@ -20,7 +20,7 @@
20libcutils_nonwindows_sources = [ 20libcutils_nonwindows_sources = [
21 "android_get_control_file.cpp", 21 "android_get_control_file.cpp",
22 "fs.cpp", 22 "fs.cpp",
23 "multiuser.c", 23 "multiuser.cpp",
24 "socket_inaddr_any_server_unix.cpp", 24 "socket_inaddr_any_server_unix.cpp",
25 "socket_local_client_unix.cpp", 25 "socket_local_client_unix.cpp",
26 "socket_local_server_unix.cpp", 26 "socket_local_server_unix.cpp",