Yifan Hong
8a05dd0472
Merge changes from topic 'libcutils_private_headers' am: 472808a570
am: 6c2d927c34
...
am: 2615527f08
Change-Id: I433589f4691d74f8fcd2a30ad34ab817e9b6a36d
2017-08-03 20:47:53 +00:00
Yifan Hong
2615527f08
Merge changes from topic 'libcutils_private_headers' am: 472808a570
...
am: 6c2d927c34
Change-Id: I0718ab31e074b716f9be50a25330ffa8bdaae47d
2017-08-03 20:41:40 +00:00
Yifan Hong
6c2d927c34
Merge changes from topic 'libcutils_private_headers'
...
am: 472808a570
Change-Id: Ia4963b1b2c50bdcc3d9ccc6a954a465cbf9b5de0
2017-08-03 20:34:31 +00:00
Yifan Hong
472808a570
Merge changes from topic 'libcutils_private_headers'
...
* changes:
Remove private headers from libcutils.vendor
Move android_filesystem_config.h => fs_config.h
2017-08-03 18:24:04 +00:00
George Burgess IV
c3bc295f11
Merge "cutils: update property_get to use diagnose_if." am: 5c655991f5
am: f5a677a7d3
...
am: 2bf647ae24
Change-Id: Ib4561d402548195772757b83dc0638c28682dd5a
2017-08-03 02:33:22 +00:00
Elliott Hughes
cb6e5d6ed2
Merge "Stop asking for old versions of C++ in system/core." am: e61e2fcf21
am: 0915192d8b
...
am: 514464f4ca
Change-Id: Ibbd6515b4a44105e7b965e7b36bc4c3648c7e713
2017-08-03 02:33:04 +00:00
George Burgess IV
2bf647ae24
Merge "cutils: update property_get to use diagnose_if." am: 5c655991f5
...
am: f5a677a7d3
Change-Id: I39671d3f090f605d2f9ba3636c342ab5ee46c6bc
2017-08-03 02:28:23 +00:00
Elliott Hughes
514464f4ca
Merge "Stop asking for old versions of C++ in system/core." am: e61e2fcf21
...
am: 0915192d8b
Change-Id: I4e41e4f243d68f73b67dc066d5b780ef5926b749
2017-08-03 02:28:04 +00:00
George Burgess IV
f5a677a7d3
Merge "cutils: update property_get to use diagnose_if."
...
am: 5c655991f5
Change-Id: I7dff3fb2ff288800d72d9c632617639fa7e6bf9e
2017-08-03 02:23:30 +00:00
Elliott Hughes
0915192d8b
Merge "Stop asking for old versions of C++ in system/core."
...
am: e61e2fcf21
Change-Id: I9c424e8bb99c7f03baefc794e4b095b8d29db3bb
2017-08-03 02:23:09 +00:00
Treehugger Robot
5c655991f5
Merge "cutils: update property_get to use diagnose_if."
2017-08-03 02:15:54 +00:00
Treehugger Robot
e61e2fcf21
Merge "Stop asking for old versions of C++ in system/core."
2017-08-03 02:14:45 +00:00
Elliott Hughes
df5ecefde4
Merge "Fix reference to out of scope local in adb_thread_setname." am: b31ca1a64f
am: 15d565bbca
...
am: b664dd38b9
Change-Id: Id2d91a34d11400cdb4b601da745d64209aeb3e71
2017-08-03 00:25:00 +00:00
Elliott Hughes
b664dd38b9
Merge "Fix reference to out of scope local in adb_thread_setname." am: b31ca1a64f
...
am: 15d565bbca
Change-Id: Ibb3694aa20648a1313b8e9de9a2f56628b863365
2017-08-03 00:19:33 +00:00
Elliott Hughes
15d565bbca
Merge "Fix reference to out of scope local in adb_thread_setname."
...
am: b31ca1a64f
Change-Id: Idc5b3208b7868a2636b7c335c48db57dd48e8b83
2017-08-03 00:15:37 +00:00
Josh Gao
fb3d04b440
Merge "Revert "base: work around thread safety analysis bug."" am: b5c90e9d6b
am: 9560524455
...
am: 9e4fb9a117
Change-Id: Id5e5cee1294ae947bc2b9d1ce8d210c595b068cd
2017-08-03 00:09:50 +00:00
Josh Gao
9e4fb9a117
Merge "Revert "base: work around thread safety analysis bug."" am: b5c90e9d6b
...
am: 9560524455
Change-Id: I37dc94c066c1527c10488e48c713c29b4e211cfb
2017-08-02 23:59:32 +00:00
Treehugger Robot
b31ca1a64f
Merge "Fix reference to out of scope local in adb_thread_setname."
2017-08-02 23:57:57 +00:00
Yifan Hong
b6807125df
Remove private headers from libcutils.vendor
...
Bug: 63135587
Test: m -j
Test: BOARD_VNDK_VERSION=current m -j
Test: mma -j
Test: BOARD_VNDK_VERSION=current mma -j
Change-Id: I9eecf23c4c311bd8336a5bfaaeb2afb3b51c6513
Merged-In: I9eecf23c4c311bd8336a5bfaaeb2afb3b51c6513
2017-08-02 16:40:36 -07:00
Josh Gao
9560524455
Merge "Revert "base: work around thread safety analysis bug.""
...
am: b5c90e9d6b
Change-Id: Ieda68e652c9784990dd7d03c4101b5a9ed18d98a
2017-08-02 23:32:58 +00:00
Yifan Hong
09c89672b6
Move android_filesystem_config.h => fs_config.h
...
The non AID_ things in android_filesystem_config.h are moved
to fs_config.h. For libcutils.vendor and libcutils_headers.vendor,
fs_config.h is not exported.
An empty system/core/include/private/fs_config.h is placed to
appease the dependency from certain modules (logd, etc.)
that includes system/core/include/private/android_filesystem_config.h
directly.
Test: m -j
Test: BOARD_VNDK_VERSION=current m -j
Bug: 63135587
Change-Id: I95dfb874a426941022b100c0ca26a0576b0f4aa3
Merged-In: I95dfb874a426941022b100c0ca26a0576b0f4aa3
2017-08-02 16:31:19 -07:00
Josh Gao
6db08e9e1f
Merge "base: work around thread safety analysis bug." am: f3c7f10abd
am: f727a3933e
...
am: 14c7e22a50
Change-Id: I8f9c6e581ad967280dd44cabdd0aa31866e1ace9
2017-08-02 23:30:27 +00:00
Elliott Hughes
78bc132d32
Merge "Make sure freeaddrinfo is always called on failure." am: f914029057
am: 9e1173aa40
...
am: 84cd98ceb0
Change-Id: I3d36bf694b20cf423cf1b3b5f647f7e907f20703
2017-08-02 23:28:54 +00:00
George Burgess IV
060bb6038b
Merge "libappfuse: use an explicit buffer size" am: ac8a484646
am: 7aa81fcdad
...
am: 864008e980
Change-Id: I72ee9e23ff25ca2d973bc18be0f4a256e80e2126
2017-08-02 23:27:56 +00:00
Josh Gao
14c7e22a50
Merge "base: work around thread safety analysis bug." am: f3c7f10abd
...
am: f727a3933e
Change-Id: Idec1b1d5e43745b6db43fa9f4ad0ad9c639b58e6
2017-08-02 23:25:26 +00:00
Elliott Hughes
84cd98ceb0
Merge "Make sure freeaddrinfo is always called on failure." am: f914029057
...
am: 9e1173aa40
Change-Id: Ib7936a9034467c38a58b5066472cdd5187a0e1b2
2017-08-02 23:22:36 +00:00
George Burgess IV
864008e980
Merge "libappfuse: use an explicit buffer size" am: ac8a484646
...
am: 7aa81fcdad
Change-Id: I5e7cc82070404346f462e2b44e6c6e6410a6cae9
2017-08-02 23:19:03 +00:00
Josh Gao
f727a3933e
Merge "base: work around thread safety analysis bug."
...
am: f3c7f10abd
Change-Id: Ied41fa3a6724c7835ce8636301e1e30c23e1d660
2017-08-02 23:16:29 +00:00
Elliott Hughes
9e1173aa40
Merge "Make sure freeaddrinfo is always called on failure."
...
am: f914029057
Change-Id: Iff3b186c35bca1f1c7292f5e5567d3ce11037239
2017-08-02 23:10:59 +00:00
Josh Gao
b5c90e9d6b
Merge "Revert "base: work around thread safety analysis bug.""
2017-08-02 23:10:42 +00:00
Josh Gao
c54e3dba8d
Revert "base: work around thread safety analysis bug."
...
This reverts commit e4509da961
.
Reason for revert: probably breaks checkbuild?
Change-Id: I04a6284dee82761c90fa355da0472855a228b849
2017-08-02 23:10:26 +00:00
George Burgess IV
7aa81fcdad
Merge "libappfuse: use an explicit buffer size"
...
am: ac8a484646
Change-Id: Iaddc175350cd1980c9ee446dcdec198318c960d3
2017-08-02 23:10:02 +00:00
Josh Gao
f3c7f10abd
Merge "base: work around thread safety analysis bug."
2017-08-02 23:09:07 +00:00
Treehugger Robot
f914029057
Merge "Make sure freeaddrinfo is always called on failure."
2017-08-02 23:00:23 +00:00
George Burgess IV
9bf11c1d05
cutils: update property_get to use diagnose_if.
...
This lets us redeclare property_get with diagnose_if tagged on it,
so we no longer need to deal with overloads.
Bug: 12231437
Test: m checkbuild on bullhead aosp-master.
Change-Id: Ic55dcfeaa314f83d3713aabac7852cb766330fc8
2017-08-02 15:59:19 -07:00
Treehugger Robot
ac8a484646
Merge "libappfuse: use an explicit buffer size"
2017-08-02 22:57:27 +00:00
Josh Gao
e4509da961
base: work around thread safety analysis bug.
...
Clang's assert_capability and assert_shared_capability annotations are
nonfunctional until https://reviews.llvm.org/rL309725 is relanded and
makes its way into our toolchain. Work around this by using the
equivalent assert_lock and assert_shared_lock.
Bug: http://b/64226736
Test: manual
Change-Id: I40711f162ea1d492f1e0b3eff88bf6ae6d995e2f
2017-08-02 14:44:58 -07:00
George Burgess IV
87533581be
libappfuse: use an explicit buffer size
...
This patch makes lookup_name use an explicit buffer size, rather than
"whatever the union happens to give me." I don't know if it's the
correct size, but having a 0-length array in this sort of configuration
seems fragile, and will be a compilation error when
https://android-review.googlesource.com/#/c/platform/bionic/+/449363/
goes in.
Bug: 12231437
Test: Builds with the mentioned patch applied to Bionic
Change-Id: I5793c906b7c2417e9a58aa907ef11c282027edb2
2017-08-02 14:11:25 -07:00
Elliott Hughes
972d078b3e
Stop asking for old versions of C++ in system/core.
...
Bug: http://b/32019064
Test: builds
Change-Id: I1befc647b581bd293f98010e816b6413caab5e6c
2017-08-02 14:06:28 -07:00
Steven Moreland
c6ecd7770e
Merge "Remove TODOs for std::string removal." am: ceb7814c86
am: 7170d5bf24
...
am: 3db7ef0168
Change-Id: I527fa18f23bea5464481227bb35ec493be7eb199
2017-08-02 20:59:47 +00:00
Steven Moreland
3db7ef0168
Merge "Remove TODOs for std::string removal." am: ceb7814c86
...
am: 7170d5bf24
Change-Id: Ibb86fe114ddd5b20bb343018f90775d90e66ad38
2017-08-02 20:54:46 +00:00
Steven Moreland
7170d5bf24
Merge "Remove TODOs for std::string removal."
...
am: ceb7814c86
Change-Id: Iab64291aec5edd44ebf8856fb2d24c6d0e779bed
2017-08-02 20:49:46 +00:00
Treehugger Robot
ceb7814c86
Merge "Remove TODOs for std::string removal."
2017-08-02 20:35:45 +00:00
Elliott Hughes
7462f1858c
Fix reference to out of scope local in adb_thread_setname.
...
Bug: https://android-review.googlesource.com/#/c/168725/5/adb/sysdeps.h@639
Test: boots, adbd thread names look sane
Signed-off-by: Ivan Maidanski <i.maidanski@samsung.com>
Change-Id: Ib3bdf53658f3903de8f0a5688f7d77745e677c77
2017-08-02 20:34:06 +00:00
Elliott Hughes
3ff453aaa0
Make sure freeaddrinfo is always called on failure.
...
Bug: https://android-review.googlesource.com/#/c/platform/system/core/+/268797/2/libcutils/socket_network_client_unix.c
Test: builds
Signed-off-by: Ivan Maidanski <i.maidanski@samsung.com>
Change-Id: I2d93c8359c3398769d408284f77d56e09713a7f3
2017-08-02 20:32:27 +00:00
Elliott Hughes
54f2e52ab5
Merge "Add comments to "public.libraries.*.txt"." am: e7b8fc22af
am: 601e5ac55b
...
am: 3cdb21a8c7
Change-Id: I049c98243b522b8c3fcb64d917ff64a1e6d576c0
2017-08-02 19:52:26 +00:00
Christopher Ferris
86ee45499d
Merge "Allow mips to build." am: 7009a3ccf7
am: 3b6bbb8178
...
am: fa700068f8
Change-Id: I9a3e85f2223d6b6e520056fb156b9158a277d41e
2017-08-02 19:52:08 +00:00
Elliott Hughes
3cdb21a8c7
Merge "Add comments to "public.libraries.*.txt"." am: e7b8fc22af
...
am: 601e5ac55b
Change-Id: I17f4d394ba671463d195a8a785a96c3b4502e1da
2017-08-02 19:48:46 +00:00
Christopher Ferris
fa700068f8
Merge "Allow mips to build." am: 7009a3ccf7
...
am: 3b6bbb8178
Change-Id: Ia29af9266e7bccb8865756ab974f7c591daca825
2017-08-02 19:47:44 +00:00
Elliott Hughes
601e5ac55b
Merge "Add comments to "public.libraries.*.txt"."
...
am: e7b8fc22af
Change-Id: I8519a128238758433d194f35f6090633aeb85f0a
2017-08-02 19:43:01 +00:00