Commit graph

45613 commits

Author SHA1 Message Date
Vic Yang
4d3eae0a05 Merge "libvndksupport: Add android_is_in_vendor_process()"
am: 4f5625d9c7

Change-Id: I7f4b70a270db8146f3d3814a3cbda814ee454999
2019-02-14 10:12:18 -08:00
Bowgo Tsai
5ac79a8a78 Merge "Skip enabling dm-verity for live GSI when needed"
am: 941cb7606c

Change-Id: Id59737a315540e80c628cfe3a42093e8e2646732
2019-02-14 10:11:31 -08:00
Vic Yang
4f5625d9c7 Merge "libvndksupport: Add android_is_in_vendor_process()" 2019-02-14 18:03:19 +00:00
Treehugger Robot
941cb7606c Merge "Skip enabling dm-verity for live GSI when needed" 2019-02-14 17:55:56 +00:00
Martin Stjernholm
12a4cef6e8 Merge "Use new static target for libdexfile_support."
am: 612a6d6ba3

Change-Id: Iaca2a1c769598e1512f29b693b039b2446197f5b
2019-02-14 06:43:22 -08:00
Treehugger Robot
612a6d6ba3 Merge "Use new static target for libdexfile_support." 2019-02-14 14:36:32 +00:00
Suren Baghdasaryan
4976d62a06 Merge "Suppress error log when timerslack_ns write fails for already dead process"
am: f5b7361cf4

Change-Id: I148847402b7cbc925e64a5412f45950fdda85f2d
2019-02-13 21:50:42 -08:00
Suren Baghdasaryan
f5b7361cf4 Merge "Suppress error log when timerslack_ns write fails for already dead process" 2019-02-14 05:44:34 +00:00
Jooyung Han
354e176021 Merge "Mark libs as double_loadable"
am: 4ecbe76354

Change-Id: Ibd1c9a8bd0fbf70958801782f3cb9c30119b8454
2019-02-13 20:24:09 -08:00
Jiyong Park
169fafd1af Merge "Update OWNERS for libnativebridge"
am: 6332b7a368

Change-Id: I0a716955a3696f7d0f801f013146684b09545d64
2019-02-13 20:23:25 -08:00
Suren Baghdasaryan
2bc522878d Suppress error log when timerslack_ns write fails for already dead process
lmkd uses set_sched_priority to expedite killing of its victims and this
sometimes results in timerslack_ns writes for an process which is already
dead. These messages are detrimental during troubleshooting and do not
indicate a real problem, therefore need to be suppressed.

Bug: 124324891
Test: lmkd_unit_test

Change-Id: I5bc071b47d386c279dd9a56eee51dba7797f4520
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-14 03:51:17 +00:00
Treehugger Robot
4ecbe76354 Merge "Mark libs as double_loadable" 2019-02-14 02:10:05 +00:00
Treehugger Robot
6332b7a368 Merge "Update OWNERS for libnativebridge" 2019-02-14 01:42:28 +00:00
Jiyong Park
f472ffff49 Merge "Add TEST_MAPPING for system/core/rootdir/etc"
am: ebadad5c56

Change-Id: I1ffd33039ffd4048f4b82cd30354096217377602
2019-02-13 16:33:48 -08:00
Treehugger Robot
ebadad5c56 Merge "Add TEST_MAPPING for system/core/rootdir/etc" 2019-02-14 00:11:36 +00:00
Martin Stjernholm
542a73be66 Merge "Add compat symlinks into the Runtime APEX for the ART binaries."
am: 48c6d139b3

Change-Id: I96b382d1005dc3ccad016f194329cb83231144e9
2019-02-13 15:14:50 -08:00
Treehugger Robot
48c6d139b3 Merge "Add compat symlinks into the Runtime APEX for the ART binaries." 2019-02-13 23:08:01 +00:00
Erick Reyes
a84a94c977 Merge "libmeminfo: change dmabuf_dump from soc_specific to product_specific"
am: ac4c2d8947

Change-Id: Ibc52e0830da31d29dea41d18f63aa0d6a327131d
2019-02-13 15:06:49 -08:00
Treehugger Robot
ac4c2d8947 Merge "libmeminfo: change dmabuf_dump from soc_specific to product_specific" 2019-02-13 22:39:49 +00:00
Tom Cherry
65abab346e Merge "liblog: simplify socket_local_client() and always use CLOEXEC"
am: 111e38e5bc

Change-Id: If1187a7b5dc686f07226b9e2dd39829cb91f7e18
2019-02-13 08:46:26 -08:00
Tom Cherry
111e38e5bc Merge "liblog: simplify socket_local_client() and always use CLOEXEC" 2019-02-13 16:34:55 +00:00
Martin Stjernholm
7f77dbfe64 Add compat symlinks into the Runtime APEX for the ART binaries.
This is a precaution in case there are dependencies on the binaries in the
old location. b/124106384 tracks eliminating them (if any).

Test: Flash and check symlinks are there with adb shell ls -l system/bin
Test: adb shell system/bin/<binary>
Bug: 113373927
Bug: 124106384
Change-Id: Ib4102fe55117611f68184102e68a10ea47de0065
2019-02-13 15:10:11 +00:00
Bowgo Tsai
fffe43974d Skip enabling dm-verity for live GSI when needed
Currently the dm-verity for live GSI is always enabled, even if the
disable bit in the top-level /vbmeta is set. We should skip setting up
dm-verity on live system.img when adb disable-verity is ever set.

Bug: 124291583
Test: adb disable-verity, then boot live GSI
Test: fastboot flash --disable-verification vbmeta vbmeta.img,
      then boot live GSI

Change-Id: Id52d20d0b2e56dfa7de8f866dcc989b82a96c879
2019-02-13 22:12:09 +08:00
Martin Stjernholm
1ab2ba789f Merge "Introduce a separate linker config section for native tests."
am: 18de135031

Change-Id: I875b6ec6c21f0879786b5d619447908a2248771c
2019-02-13 02:42:42 -08:00
Martin Stjernholm
18de135031 Merge "Introduce a separate linker config section for native tests." 2019-02-13 10:32:29 +00:00
Jiyong Park
22855f7365 Update OWNERS for libnativebridge
Add ART peoples as owners of libnativebridge

Test: N/A
Change-Id: I45b81fb6bb4771828581972d11f0f5eda590c99a
2019-02-13 19:20:59 +09:00
Jiyong Park
8011f03eb2 Add TEST_MAPPING for system/core/rootdir/etc
bionic-unit-tests runs when one of the linker config files is changed.

Test: N/A
Change-Id: I8af1a9728dab4492fe34a3b4daab9c5f9973d84f
2019-02-13 16:40:47 +09:00
Pirama Arumuga Nainar
4834824a37 Merge "Make inlines static"
am: 68c5ce22fb

Change-Id: I08c066b7c49015b07aa46cff884a97d9dd2f675d
2019-02-12 22:42:21 -08:00
Pirama Arumuga Nainar
68c5ce22fb Merge "Make inlines static" 2019-02-13 06:30:11 +00:00
Vic Yang
a117f25b4e libvndksupport: Add android_is_in_vendor_process()
In preparation for cleaning up conditionally compiled VNDK libraries,
we need a function that determines if the current process is running in
the system process or the vendor process.

Bug: 119423884
Test: Add a dummy VNDK library that prints different string in system
      vs vendor process.  Use the library in different processs and
      check the output.

Change-Id: Ic00927d8eadd2a21fcba9cb64cc93eaadd5bdd2d
2019-02-12 20:28:38 -08:00
Bowgo Tsai
0e9c7e3d0c Merge "libfs_avb: adding two public APIs"
am: c7b5c4fa6b

Change-Id: I7bafcef07ff2550240374f8894fa048815013b27
2019-02-12 19:32:26 -08:00
Logan Chien
321b1a6345 Merge "Fix APEX run-time ld.config.txt for ASAN targets"
am: 8540f50887

Change-Id: Ib5be28663773cbee7cd87bbe44f071c3c6c80bf3
2019-02-12 19:31:29 -08:00
Jiyong Park
074f836c74 Merge "shim libraries for libnativeloader and libnativebridge"
am: 4b6b7b6715

Change-Id: I43204ec63b34e7a2f52472946300176ea495e2c7
2019-02-12 19:15:52 -08:00
Justin Yun
c8631a3e1f Merge "Change search order for vendor processes in vndk_lite."
am: 47e8300412

Change-Id: Idae3845ee8cfa1f2c9bb00ab85c273af0f7a67b3
2019-02-12 19:15:07 -08:00
Treehugger Robot
c7b5c4fa6b Merge "libfs_avb: adding two public APIs" 2019-02-13 03:07:37 +00:00
Logan Chien
8540f50887 Merge "Fix APEX run-time ld.config.txt for ASAN targets" 2019-02-13 02:24:08 +00:00
Treehugger Robot
4b6b7b6715 Merge "shim libraries for libnativeloader and libnativebridge" 2019-02-13 02:17:35 +00:00
Treehugger Robot
47e8300412 Merge "Change search order for vendor processes in vndk_lite." 2019-02-13 01:57:08 +00:00
Justin Yun
023ff46e18 Change search order for vendor processes in vndk_lite.
Originally, vndk_lite does not include system/lib/vndk-* directory but
searching the required files in system/lib instead. However, in GSI,
they are using the vndk libs which has symbols than core variants.
To avoid this problem, allow the vendor processes in vndk_lite devices
to search system/lib prior to vndk libs.

Bug: 124063441
Test: Check boot for vndk_lite devices.
Change-Id: I89a72e9d43d6fb05f4b6d87bbd4500f8febfe970
2019-02-13 01:56:28 +00:00
Dongwon Kang
1fd25add88 Merge "Exclude libvndksupport from APEXes."
am: 0b4f2532a7

Change-Id: I61e449d41c1829d1e0ed996eadeee6096461480d
2019-02-12 17:02:30 -08:00
Dongwon Kang
0b4f2532a7 Merge "Exclude libvndksupport from APEXes." 2019-02-13 00:40:53 +00:00
Martin Stjernholm
e31cfb609d Use new static target for libdexfile_support.
This is necessary since the dynamic one is now using dlopen(), which isn't
available in static builds.

Test: m
Test: mmma system/core/{libunwindstack,libbacktrace}, run host gtests (cannot get atest to work)
Bug: 123403798
Bug: 123186083
Change-Id: I06a9cdfe7e7cc01427ffd54b66c8ebab88782260
2019-02-12 22:03:48 +00:00
Tom Cherry
05de1ba38e liblog: simplify socket_local_client() and always use CLOEXEC
socket_local_client() was copied from libcutils, but we only need a
small subset of its functionality.  We instead create our own version
with just the needed parts.

Importantly, use CLOEXEC in this new function and other places where
it was missing previously.

Test: logging works, liblog-unit-tests
Change-Id: Ifb929227af67bafa13e391eab92358d9f6fe6450
2019-02-12 12:53:19 -08:00
Martin Stjernholm
bcb5ba75a5 Introduce a separate linker config section for native tests.
There are tests that require access to both system and vendor libraries,
like what the linker sets up when there is no matching config section.

Test: atest cameraservice_test libsurfaceflinger_unittest perfprofd_test \
  inputflinger_tests (no new failures, but 3 old ones)
Test: Internal test can load libandroid.so
Bug: 124127405
Bug: 123700170

Change-Id: I4f5cb2e09bdf1ae510259198c08c252b41249d94
2019-02-12 18:45:37 +00:00
Tom Cherry
99331422e0 Merge "Refactor fs_mgr_update_verity_state()"
am: 5272f9b017

Change-Id: I23151b9a2c7bf28e4f62dfdbf5049d0100241cf1
2019-02-12 09:30:02 -08:00
Tom Cherry
5272f9b017 Merge "Refactor fs_mgr_update_verity_state()" 2019-02-12 17:22:09 +00:00
Steven Laver
919a931f1e Merge "Allow properties to be derived from partition-specific properties during init"
am: 944e6f1d17

Change-Id: I20fc0657ecb8d2dc383e1349bb01580d806138b7
2019-02-12 08:52:35 -08:00
Steven Laver
944e6f1d17 Merge "Allow properties to be derived from partition-specific properties during init" 2019-02-12 16:44:57 +00:00
Junyu Lai
151677dc51 Merge "Refactor OWNERS files for Android Core Networking"
am: 1d7966bd46

Change-Id: I6b29d05038e53895b8cd60fa08af2eaf388ec342
2019-02-12 08:35:00 -08:00
Junyu Lai
1d7966bd46 Merge "Refactor OWNERS files for Android Core Networking" 2019-02-12 16:20:27 +00:00