android_system_core/libcutils
Jeff Sharkey 53d37ba23f 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
2017-11-13 16:49:26 -07:00
..
arch-arm
arch-arm64
arch-mips
arch-x86
arch-x86_64
include Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
include_vndk/cutils
tests Better, consistent definition of AID_SHARED_GID. 2017-11-13 16:49:26 -07:00
Android.bp Better, consistent definition of AID_SHARED_GID. 2017-11-13 16:49:26 -07:00
MODULE_LICENSE_APACHE2
NOTICE
android_get_control_env.h
android_get_control_file.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
android_reboot.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
ashmem-dev.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
ashmem-host.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
canned_fs_config.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
config_utils.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
fs.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
fs_config.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
hashmap.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
iosched_policy.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
klog.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
load_file.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
multiuser.cpp Better, consistent definition of AID_SHARED_GID. 2017-11-13 16:49:26 -07:00
native_handle.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
open_memstream.c
partition_utils.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
properties.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
qtaguid.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
record_stream.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
sched_policy.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_inaddr_any_server_unix.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_inaddr_any_server_windows.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_local_client_unix.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_local_server_unix.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_local_unix.h
socket_network_client_unix.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_network_client_windows.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
sockets.cpp
sockets_unix.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
sockets_windows.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
str_parms.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
strdup8to16.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
strdup16to8.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
strlcpy.c
threads.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
trace-container.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
trace-dev.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
trace-dev.inc
trace-host.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
uevent.cpp libcutils: Make uevent_kernel_* namespace-aware 2017-11-03 13:02:46 -07:00