"git@repo.buzztime.com:halo/system_core.git" did not exist on "86cddf40741024961839dbbcfa005e908314e681"
Do not call libcutils property_set in init through libfs_mgr
Sami Tolvanen authored
Both init and libcutils define a property_set function. The init
version sets the property directly while libcutils simply calls
__system_property_set, which sends a message to init to set the
property.

Since libfs_mgr is statically linked to libcutils, any calls to
property_set end up sending a message to init and waiting for a
response. When libfs_mgr is further statically linked to init,
this leads to init sending a message to itself when property_set
is called in fs_mgr.

Because send_prop_msg in bionic only waits for a response for
250ms, this does not cause a deadlock. However, using libcutils
to set a property in the init process is hardly a good idea.

This change removes the property_set call from fs_mgr_verity.c.
If this property is required later, it should be set elsewhere.

Change-Id: I6a28cccb1ccce960841af20a4b20c32d424b5524
86cddf40
Name Last commit Last update
adb check if uid=0 before attempting remount
adf Add missing includes.
cpio cpio: Turn on -Werror
debuggerd liblog: introduce ANDROID_LOG_* flags
fastboot Support "fastboot reboot bootloader".
fs_mgr Do not call libcutils property_set in init through libfs_mgr
gpttool gpttool: turn on -Werror
healthd Remove obsolete BUILD_TINY_ANDROID check from healthd makefile
include private: Add event payload structures to android_logger.h
init Merge "Add init support for dm-verity logging mode"
libbacktrace Move map data into backtrace data proper.
libcutils More SOCK_CLOEXEC
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror"
libion Add missing <malloc.h> and <string.h> includes.
liblog liblog: logprint use <endian.h>
libmemtrack Add missing <malloc.h> and <string.h> includes.
libmincrypt Disable clang optimization that has segmentation fault.
libnativebridge Track renaming of initUnchangeableSystemProperty.
libnetutils More SOCK_CLOEXEC
libpixelflinger Remove obsolete BUILD_TINY_ANDROID.
libprocessgroup Fix missing #includes in system/core.
libsparse Cleanup libsparse Android.mk
libsuspend Libsuspend: Remove unused variable
libsync Add missing <malloc.h> and <string.h> includes.
libsysutils Add missing <malloc.h> and <string.h> includes.
libusbhost
libutils
libziparchive
libzipfile
lmkd
logcat
logd
logwrapper
mkbootimg
netcfg
reboot
rootdir
run-as
sdcard
toolbox
.gitignore
Android.mk
CleanSpec.mk
MODULE_LICENSE_APACHE2
NOTICE