platform_system_core/libcutils
Bowgo Tsai 9fc8dcf517 Moving /odm/build.prop to /odm/etc/buid.prop
In device root directory, we have the following symlinks:
  - /odm/app -> /vendor/odm/app
  - /odm/bin -> /vendor/odm/bin
  - /odm/etc -> /vendor/odm/etc
  ...

This allows the Generic System Image (GSI) to be used on both devices:
  1) Has a physical odm partition, where those symlink will be hidden
     when /odm is used as the mount point
  2) Has no physical odm partition and fallback to /vendor/odm/.

We can't just have the symlink /odm -> /vendor/odm, because the former
devices won't have /vendor/odm directory, which leads to mount failure
when the mount point /odm is resolved to /vendor/odm.

The existing /vendor/odm/build.prop won't be loaded in the latter
devices, because there is no symlink
    - /odm/build.prop -> /vendor/odm/build.prop.

Note that init blocks reading through direct symlinks (O_NOFOLLOW) so
the above symlink won't work either. This CL moves the odm build.prop
to /odm/etc/build.prop for init to load it (symlinks in earlier
components of the path will still be followed by O_NOFOLLOW).

Bug: 132128501
Test: boot a device and checks /odm/etc/build.prop is loaded
Change-Id: I0733c277baa67c549bb45599abb70aba13fbdbcf
Merged-In: I0733c277baa67c549bb45599abb70aba13fbdbcf
2019-05-22 06:03:34 +00:00
..
arch-arm
arch-arm64
arch-mips
arch-x86
arch-x86_64
include cutils: add ashmem_init 2019-04-04 17:30:25 -07:00
include_vndk/cutils libcutils: remove unused open_memstream. 2018-07-11 14:28:21 -07:00
Android.bp Enable native_bridge_support for libcutils 2019-05-16 14:17:00 +02:00
android_get_control_env.h Clean up some mess by only building Android-specific code for the device. 2019-03-21 14:59:45 -07:00
android_get_control_file.cpp libcutils: android_get_control_file uses realpath. 2019-03-21 16:00:00 -07:00
android_get_control_file_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
android_get_control_socket_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
android_reboot.cpp libcutils: android_reboot command should be unsigned. 2019-04-02 09:19:46 -07:00
ashmem-dev.cpp cutils: add ashmem_init 2019-04-04 17:30:25 -07:00
ashmem-host.cpp cutils: add ashmem_init 2019-04-04 17:30:25 -07:00
ashmem_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
canned_fs_config.cpp Remove more bogus <stdbool.h> #includes from C++. 2018-05-08 13:00:06 -07:00
config_utils.cpp
fs.cpp
fs_config.cpp Moving /odm/build.prop to /odm/etc/buid.prop 2019-05-22 06:03:34 +00:00
fs_config_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
hashmap.cpp cutils: move hashmap to <pthread.h>. 2018-07-13 10:54:49 -07:00
iosched_policy.cpp
klog.cpp
load_file.cpp
memset_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
MODULE_LICENSE_APACHE2
multiuser.cpp
multiuser_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
native_handle.cpp Export maximum number of fds/ints in a native_handle. 2019-01-16 08:55:14 -08:00
NOTICE
OWNERS libcutils: add OWNERS. 2018-06-12 13:58:30 -07:00
partition_utils.cpp Start using new C++ Fstab class widely 2018-12-12 17:08:09 +00:00
properties.cpp
properties_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
qtaguid.cpp
record_stream.cpp
sched_policy_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
socket_inaddr_any_server_unix.cpp
socket_inaddr_any_server_windows.cpp
socket_local_client_unix.cpp
socket_local_server_unix.cpp
socket_local_unix.h
socket_network_client_unix.cpp
socket_network_client_windows.cpp
sockets.cpp
sockets_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
sockets_unix.cpp Clean up some mess by only building Android-specific code for the device. 2019-03-21 14:59:45 -07:00
sockets_windows.cpp
str_parms.cpp libcutils: remove some unused API. 2018-07-11 14:27:32 -07:00
str_parms_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
strdup8to16.cpp
strdup16to8.cpp
strlcpy.c
threads.cpp
trace-container.cpp
trace-dev.cpp
trace-dev.inc __android_log_is_debuggable() shouldn't be an apex symbol 2019-02-20 12:52:02 -08:00
trace-dev_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
trace-host.cpp
uevent.cpp Increase netlink uevent rcvbuf size to 16M 2018-12-03 18:39:24 +00:00