summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorQuang Luong <qal@google.com>2017-07-17 18:03:13 -0700
committerQuang Luong <qal@google.com>2017-07-18 18:18:31 +0000
commitdd6a85ccd54dec45bb555a68923a6facb308ecc5 (patch)
treed419dd1f719a4d7a31ecda8bb144ba71648dbb1d /libcutils/socket_local_server_unix.cpp
parent3f4cea940d8672b02b900841add416b122a32c7f (diff)
uml: init: add USER_MODE_LINUX cflag, USER_MODE_LINUX case in init.cpp
Modified Android.mk to define cflag "USER_MODE_LINUX" if TARGET_USER_MODE_LINUX := true in BoardCofig.mk. Modified set_mmap_rnd_bits_action to return 0 if "USER_MODE_LINUX" is defined. This is needed since uml does not support the mmap_rnd_bits sysctl, and init would otherwise crash without this check. Test: manual Bug: 32523022 Change-Id: I409ef64a1fa253bfb3f9fb59d0267be159819bb8 Signed-off-by: Quang Luong <qal@google.com>
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions