George Burgess IV
a712e2164a
Merge "Add a NOLINT for the memory leak we added" am: 10f62351eb
am: 4e3ae2cbfa
...
am: ad4025b35b
Change-Id: I1d4831bc70b8874e66583f4a130b3a711c24b019
2018-03-01 22:19:41 +00:00
George Burgess IV
ad4025b35b
Merge "Add a NOLINT for the memory leak we added" am: 10f62351eb
...
am: 4e3ae2cbfa
Change-Id: I32d7a736428f38c68ccf90947841732eaae4c224
2018-03-01 22:15:07 +00:00
George Burgess IV
4e3ae2cbfa
Merge "Add a NOLINT for the memory leak we added"
...
am: 10f62351eb
Change-Id: I67067e5611b14a6a7a818adb503a07f8a9e2dcef
2018-03-01 22:10:28 +00:00
Treehugger Robot
10f62351eb
Merge "Add a NOLINT for the memory leak we added"
2018-03-01 22:00:02 +00:00
George Burgess IV
657db00e3d
Add a NOLINT for the memory leak we added
...
Added by I7255d45335fa009dc9e5de99dff67af52bd70e06
Bug: None
Test: Ran the analyzer. Complaint is gone.
Change-Id: Id9b8debd8b9690210f5a8e19154ee3a5095b8fbd
2018-03-01 18:59:50 +00:00
Tom Cherry
29717e60b4
Merge "Don't build host_init_verifier on Android either" am: 45ee43b1ac
am: 274e082328
...
am: 9b973fe995
Change-Id: Ie20d27796eec124c4cf374ee67095c48afe35d45
2018-03-01 06:07:17 +00:00
Tom Cherry
9b973fe995
Merge "Don't build host_init_verifier on Android either" am: 45ee43b1ac
...
am: 274e082328
Change-Id: I8dd577d3e889dc3412e991497cdbece4300b5860
2018-03-01 06:02:01 +00:00
Tom Cherry
274e082328
Merge "Don't build host_init_verifier on Android either"
...
am: 45ee43b1ac
Change-Id: I9e065aeecff7aac555cae8817fea231c86cd3a1b
2018-03-01 05:52:36 +00:00
Tom Cherry
45ee43b1ac
Merge "Don't build host_init_verifier on Android either"
2018-03-01 05:46:39 +00:00
Tom Cherry
547f7318c2
Don't build host_init_verifier on Android either
...
Also fixes another mac build issue...
Test: linux builds still work...
Change-Id: I549891c7e38729bd5fbe79f79b7345dabd9b4b28
2018-02-28 21:43:59 -08:00
Tom Cherry
dd48eb7efe
Merge "Don't build host_init_verifier for darwin" am: 28d364792f
am: 237f1bfb68
...
am: 30f64de771
Change-Id: I99fa596cd7988cd6885c333428f766f98ef8f913
2018-03-01 01:47:47 +00:00
Tom Cherry
30f64de771
Merge "Don't build host_init_verifier for darwin" am: 28d364792f
...
am: 237f1bfb68
Change-Id: I69af47b6bcfd48a23933adfd290c9a921eb88202
2018-03-01 01:43:43 +00:00
Tom Cherry
237f1bfb68
Merge "Don't build host_init_verifier for darwin"
...
am: 28d364792f
Change-Id: Iefe249657adcf9b1d1a871650b65525dac678510
2018-03-01 01:38:07 +00:00
Tom Cherry
28d364792f
Merge "Don't build host_init_verifier for darwin"
2018-03-01 01:25:32 +00:00
Tom Cherry
96ff0fed82
Don't build host_init_verifier for darwin
...
And therefore fix the mac build break.
Test: none
Change-Id: Ice28780abc62fc3e46119497d23bcbc124354159
2018-02-28 17:21:14 -08:00
Tom Cherry
451f83d476
Merge "init: add host side parser for init" am: 49fd480ede
am: 7b649a5b50
...
am: 3597339226
Change-Id: Iaa6dd9c658a21017b2e4b61f6aab4e2572137ce2
2018-03-01 00:25:54 +00:00
Tom Cherry
3597339226
Merge "init: add host side parser for init" am: 49fd480ede
...
am: 7b649a5b50
Change-Id: If4bf32e9cda90fb1e389ed3ce26313d7aa9775d4
2018-03-01 00:20:51 +00:00
Tom Cherry
7b649a5b50
Merge "init: add host side parser for init"
...
am: 49fd480ede
Change-Id: Idf901f1b3094f5ff3f3a3886f1dc72157282ee17
2018-03-01 00:16:28 +00:00
Tom Cherry
49fd480ede
Merge "init: add host side parser for init"
2018-03-01 00:04:49 +00:00
Josh Gao
0e459e1d47
Merge "adb: add a way to make the server intentionally leak." am: 1ac7150590
am: 9ba182e3bb
...
am: 399c3591f2
Change-Id: Ifa340ad4f3ce53786391722a7d4f8b97816dfd20
2018-02-28 23:16:34 +00:00
Josh Gao
399c3591f2
Merge "adb: add a way to make the server intentionally leak." am: 1ac7150590
...
am: 9ba182e3bb
Change-Id: I2f27b341ebceccefbc055c8b98dd14526767baff
2018-02-28 23:12:25 +00:00
Josh Gao
9ba182e3bb
Merge "adb: add a way to make the server intentionally leak."
...
am: 1ac7150590
Change-Id: I4765b5726985555c5c7b325da2b779c7f1687dc0
2018-02-28 23:07:50 +00:00
Treehugger Robot
1ac7150590
Merge "adb: add a way to make the server intentionally leak."
2018-02-28 22:56:30 +00:00
Josh Gao
e2176118f4
adb: add a way to make the server intentionally leak.
...
Add a way to test LeakSanitizer with the server by adding an
environment variable that intentionally leaks.
Test: ASAN_OPTIONS=detect_leaks=1:leak_check_at_exit=1 ADB_LEAK=1 adb server nodaemon
Change-Id: I7255d45335fa009dc9e5de99dff67af52bd70e06
2018-02-28 14:16:14 -08:00
Mark Salyzyn
61421baf96
lmkd: move sundry pieces to statslog.h
...
Pragma once is not part of the standard, and is actually a gnu
C++ addition. Android coding standard requires the #ifndef header
wrappers. Moved things that belong in statslog.h from the lmkd files.
SideEffects: None
Test: lmkd_unit_tests
Bug: 33808187
Bug: 72838192
Change-Id: I9686b1a0791ee2b723d05b91905eda0bb64a1156
2018-02-28 19:36:12 +00:00
Colin Cross
a112e1c402
Merge "Make memunreachable_binder_test suitable for VTS" am: c8a22bc1af
am: ab9ca8beb5
...
am: ca18f082aa
Change-Id: Ie5d3533221128a0693b17e5345bbfd0f4fde96af
2018-02-28 19:32:35 +00:00
Colin Cross
ca18f082aa
Merge "Make memunreachable_binder_test suitable for VTS" am: c8a22bc1af
...
am: ab9ca8beb5
Change-Id: I2c604c33974656144df772afdb7219ed39e1529a
2018-02-28 19:24:59 +00:00
Colin Cross
ab9ca8beb5
Merge "Make memunreachable_binder_test suitable for VTS"
...
am: c8a22bc1af
Change-Id: Ia56784ec3ec783a5d0ff610104a944a3ba18e461
2018-02-28 19:19:16 +00:00
Colin Cross
c8a22bc1af
Merge "Make memunreachable_binder_test suitable for VTS"
2018-02-28 19:11:42 +00:00
Tom Cherry
de6bd50d42
init: add host side parser for init
...
Create a host side parser for init such that init rc files can be
verified for syntax correctness before being used on the device.
Bug: 36970783
Test: run the parser on init files on host
Change-Id: I7e8772e278ebaff727057308596ebacf28b6fdda
2018-02-28 10:45:45 -08:00
Luis Hector Chavez
b14ce54176
Merge "Change the remount command to be more container-friendly" am: d24c8484c8
am: 677288c80a
...
am: d12cf88945
Change-Id: Ie9986fe8723ed34ecc787deb72bd75c89f1e8554
2018-02-28 17:12:31 +00:00
Luis Hector Chavez
d12cf88945
Merge "Change the remount command to be more container-friendly" am: d24c8484c8
...
am: 677288c80a
Change-Id: I96fdf4c334626649ca0e7437a0d9296758a9b062
2018-02-28 17:06:23 +00:00
Luis Hector Chavez
677288c80a
Merge "Change the remount command to be more container-friendly"
...
am: d24c8484c8
Change-Id: I878aa9f99481ba1cc2b358d163e6a396ef7c39a9
2018-02-28 17:00:15 +00:00
Treehugger Robot
d24c8484c8
Merge "Change the remount command to be more container-friendly"
2018-02-28 16:48:37 +00:00
Tom Cherry
38a82229ee
Merge "libprocessgroup: remove legacy C string handling and build for host" am: 304dacae8a
am: 1748e6f9a0
...
am: d712ff1241
Change-Id: I74cd5c2e6ffe81a9bb985cb5dbc0d743891e936b
2018-02-28 16:43:05 +00:00
Tom Cherry
d712ff1241
Merge "libprocessgroup: remove legacy C string handling and build for host" am: 304dacae8a
...
am: 1748e6f9a0
Change-Id: I5eb14b25bca784abcf0aa405ada55b79c554f8bd
2018-02-28 16:36:47 +00:00
Tom Cherry
1748e6f9a0
Merge "libprocessgroup: remove legacy C string handling and build for host"
...
am: 304dacae8a
Change-Id: Ib977b81965bbf6f9186606a267ef96f9e140e15c
2018-02-28 16:30:30 +00:00
Tom Cherry
304dacae8a
Merge "libprocessgroup: remove legacy C string handling and build for host"
2018-02-28 16:22:09 +00:00
Dan Willemsen
b3253a35f1
Merge "Mark crash_dump.policy as not supported on mips" am: c0d4786989
am: 3cfc767032
...
am: a06e3b8a5c
Change-Id: If8d151bd8bae6adc875a13851d5a8aa559499ff9
2018-02-28 03:31:31 +00:00
Dan Willemsen
a06e3b8a5c
Merge "Mark crash_dump.policy as not supported on mips" am: c0d4786989
...
am: 3cfc767032
Change-Id: I84a405ce5522ab54b390866deff73441ef29d006
2018-02-28 03:26:15 +00:00
Dan Willemsen
3cfc767032
Merge "Mark crash_dump.policy as not supported on mips"
...
am: c0d4786989
Change-Id: I93451539cbfc92e50cbef697983d5d38eb3923bf
2018-02-28 03:21:53 +00:00
Treehugger Robot
c0d4786989
Merge "Mark crash_dump.policy as not supported on mips"
2018-02-28 03:07:21 +00:00
Colin Cross
51e6c252c4
Make memunreachable_binder_test suitable for VTS
...
Link statically against libmemunreachable to avoid runtime
dependency on libmemunreachable.so.
Provide a better error when run as non-root.
Rename the test to MemunreachableBinderTest.
Add comments explaining the test sequence.
Bug: 28275695
Test: memunreachable_binder_test
Change-Id: Iddfba636205b7ca3ad31a6ba2c4e85abadd32d0d
2018-02-27 18:29:18 -08:00
Josh Gao
a085c9f826
Merge changes I0783be05,Id8178913 am: 09d5e258ef
am: 2c1b3e9761
...
am: d8b711e16b
Change-Id: Ifa679ee1857fddf693f9e9b994bb4d9dff3f6c8a
2018-02-28 02:07:21 +00:00
Josh Gao
d8b711e16b
Merge changes I0783be05,Id8178913 am: 09d5e258ef
...
am: 2c1b3e9761
Change-Id: I764488803977604f85000cbf12ecf25f2c60c695
2018-02-28 01:52:39 +00:00
Josh Gao
2c1b3e9761
Merge changes I0783be05,Id8178913
...
am: 09d5e258ef
Change-Id: I611aab78988a959d3660c09fd5854e4f657e40b4
2018-02-28 01:41:42 +00:00
Josh Gao
09d5e258ef
Merge changes I0783be05,Id8178913
...
* changes:
adb: allow reentrant calls to fdevent_run_on_main_thread.
adb: stop using quick_exit.
2018-02-28 00:14:58 +00:00
Dan Willemsen
e2b6cd28f2
Mark crash_dump.policy as not supported on mips
...
The recent change to detect missing source files broke reading makefiles
for mips, since this didn't specify a source file.
Bug: 73904572
Test: lunch aosp_mips-eng; m nothing
Test: lunch aosp_arm-eng; m crash_dump.policy
Test: lunch aosp_arm64-eng; m crash_dump.policy
Test: lunch aosp_x86-eng; m crash_dump.policy
Test: lunch aosp_x86_64-eng; m crash_dump.policy
Change-Id: I28864b5af59267f1ab83084128f2c59b04039374
2018-02-27 15:35:11 -08:00
Josh Gao
e39ccd3cbd
adb: allow reentrant calls to fdevent_run_on_main_thread.
...
Previously, reentrant calls to fdevent_run_on_main_thread would
deadlock.
Test: adb_test on host
Change-Id: I0783be0558dcaf61ddbe76d13ac6917fc2de0be0
2018-02-27 14:50:07 -08:00
Josh Gao
d51c6df1ef
adb: stop using quick_exit.
...
We don't actually need to use quick_exit to avoid calling static
destructors, since we have -Wexit-time-destructors to guarantee we
don't actually have any, and this precludes the use of asan's exit time
leak checking, so switch back to atexit/exit.
Test: ASAN_OPTIONS=detect_leaks=1:leak_check_at_exit=1 adb server nodaemon with a manually inserted leak
Change-Id: Id8178913f64cb02c820c5073351369a9e4d8c74d
2018-02-27 14:50:07 -08:00