OSDN Git Service
Pavel Labath [Tue, 11 Jul 2017 08:24:18 +0000 (08:24 +0000)]
Merge "sys_ptrace_test: Better detect missing HW support" am:
fbefc86310 am:
8431285728
am:
7a8750cb87
Change-Id: I100ce23d5a373398e1ed233e0bc7bf071a1a0c24
Pavel Labath [Tue, 11 Jul 2017 08:20:47 +0000 (08:20 +0000)]
Merge "sys_ptrace_test: Better detect missing HW support" am:
fbefc86310
am:
8431285728
Change-Id: I49bd38960285f5522fcaa4c29ee5dc9da405b5b3
Pavel Labath [Tue, 11 Jul 2017 08:17:17 +0000 (08:17 +0000)]
Merge "sys_ptrace_test: Better detect missing HW support"
am:
fbefc86310
Change-Id: Idd43ea10d7e91353e33ff9efe0531eed64bd1a31
Treehugger Robot [Tue, 11 Jul 2017 08:10:41 +0000 (08:10 +0000)]
Merge "sys_ptrace_test: Better detect missing HW support"
Victor Khimenko [Mon, 10 Jul 2017 23:00:13 +0000 (23:00 +0000)]
Merge "Move environ valiable into it's own file" am:
73d17e7720 am:
ea426865a8
am:
2b5964ff0e
Change-Id: Ia860b0ce04ceb1ea457ad129f3a44a6c53f98f30
Victor Khimenko [Mon, 10 Jul 2017 22:53:44 +0000 (22:53 +0000)]
Merge "Move environ valiable into it's own file" am:
73d17e7720
am:
ea426865a8
Change-Id: I2196f236f7e4509316b41d42d75782f8ea7b1be1
Victor Khimenko [Mon, 10 Jul 2017 22:46:44 +0000 (22:46 +0000)]
Merge "Move environ valiable into it's own file"
am:
73d17e7720
Change-Id: I9b9533f7e3a70aa5b1e917953b51cc73d7881f32
Victor Khimenko [Mon, 10 Jul 2017 22:33:54 +0000 (22:33 +0000)]
Merge "Move environ valiable into it's own file"
Elliott Hughes [Mon, 10 Jul 2017 20:59:34 +0000 (20:59 +0000)]
Merge "Make inline tcsetattr definition match constants." am:
e76ff925df am:
0969d4609c
am:
21e4ac5c67
Change-Id: I8776360eee245de61fb624641220f8dabe131dc9
Elliott Hughes [Mon, 10 Jul 2017 20:55:04 +0000 (20:55 +0000)]
Merge "Make inline tcsetattr definition match constants." am:
e76ff925df
am:
0969d4609c
Change-Id: Iba2c172cc6add7025ef16f6607bed7e7adfcc2c9
Elliott Hughes [Mon, 10 Jul 2017 20:50:34 +0000 (20:50 +0000)]
Merge "Make inline tcsetattr definition match constants."
am:
e76ff925df
Change-Id: Ia6a48c54ac793c510ff2ab5559b920dd84ff02b9
Elliott Hughes [Mon, 10 Jul 2017 20:40:53 +0000 (20:40 +0000)]
Merge "Make inline tcsetattr definition match constants."
Elliott Hughes [Mon, 10 Jul 2017 20:34:03 +0000 (20:34 +0000)]
Merge "Undo recent _FILE_OFFSET_BITS=64 changes." am:
6aaa227f74 am:
25965c44f3
am:
56605aa725
Change-Id: Ifc8438e33fa2983146a17d1d67c4f841c6d10ff9
Elliott Hughes [Mon, 10 Jul 2017 20:30:02 +0000 (20:30 +0000)]
Merge "Undo recent _FILE_OFFSET_BITS=64 changes." am:
6aaa227f74
am:
25965c44f3
Change-Id: I91fc5506fba32fc2261914fbab61101ec6de234c
Elliott Hughes [Mon, 10 Jul 2017 20:26:33 +0000 (20:26 +0000)]
Merge "Undo recent _FILE_OFFSET_BITS=64 changes."
am:
6aaa227f74
Change-Id: I5f0cb54e6fa4067b33f8f76a3102263ef7ad5181
Elliott Hughes [Mon, 10 Jul 2017 20:22:01 +0000 (20:22 +0000)]
Merge "Fix ffs on x86 for old API levels." am:
c2828b87ec am:
3127168bba
am:
d93127bf90
Change-Id: I5144b29ecfdbcb75f30bfffbc261db260f3ea221
Treehugger Robot [Mon, 10 Jul 2017 20:20:53 +0000 (20:20 +0000)]
Merge "Undo recent _FILE_OFFSET_BITS=64 changes."
Elliott Hughes [Mon, 10 Jul 2017 20:17:32 +0000 (20:17 +0000)]
Merge "Fix ffs on x86 for old API levels." am:
c2828b87ec
am:
3127168bba
Change-Id: I91c03ebff777d2552621b4e0e43e27085ab62080
Elliott Hughes [Mon, 10 Jul 2017 20:13:32 +0000 (20:13 +0000)]
Merge "Fix ffs on x86 for old API levels."
am:
c2828b87ec
Change-Id: I9cb1cfc44be390d4675795359986bba0ed4a02c9
Treehugger Robot [Mon, 10 Jul 2017 20:07:01 +0000 (20:07 +0000)]
Merge "Fix ffs on x86 for old API levels."
Elliott Hughes [Wed, 5 Jul 2017 22:23:50 +0000 (15:23 -0700)]
Undo recent _FILE_OFFSET_BITS=64 changes.
We had several bugs filed saying "if I set _FILE_OFFSET_BITS=64 when
targeting an API < L, various functions are missing". Instead of
saying "yes, they are", we quietly just modified the header files to
expose the non-64-bit variants. This makes no sense. We can't just say
"oh, yeah, we don't have a version of this function that agrees with
your calling code about how large off_t is, but here's a version that
doesn't: I'm sure it'll be fine".
_FILE_OFFSET_BITS=64 on Android LP32 has always been a game of chance,
but that game should be "are all the functions my code needs available
at compile time?", not "will my code actually work at run time?".
Bug: https://github.com/android-ndk/ndk/issues/449
Bug: https://github.com/android-ndk/ndk/issues/442
Bug: https://github.com/android-ndk/ndk/issues/333
Bug: https://github.com/android-ndk/ndk/issues/332
Bug: https://github.com/android-ndk/ndk/issues/324
Test: builds
Change-Id: Ib095251d3e21e77ed50cc3575388107fecec4ecd
Victor Khimenko [Mon, 10 Jul 2017 19:15:37 +0000 (21:15 +0200)]
Move environ valiable into it's own file
Test: build statically the example program below
char** environ;
int main() {
}
Change-Id: I3f01652da1d5063d92ba7cbff7fb09bd0a89325c
Pavel Labath [Fri, 7 Jul 2017 10:42:34 +0000 (11:42 +0100)]
sys_ptrace_test: Better detect missing HW support
If the hardware debug support is missing from the CPU, the kernel can
end up in the state where it reports that it supports N(>0) watchpoints,
but the "maximum supported watchpoint size" is zero.
This is not a really sensible API, but it is what we have. I'm going to
speak to folks upstream about whether we can have it report something
more sensible, but that will take a while (if ever).
So, for the time being, detect this situation and treat it as if no
hardware watchtpoints/breakpoints are supported.
Test: bionic-unit-tests --gtest_filter="sys_ptrace.*"
Change-Id: Id6a013c9bec8d8b450b4a36c28431f6b7fd15879
Bug:
63116544
Ivan Lozano [Fri, 7 Jul 2017 20:17:19 +0000 (20:17 +0000)]
Merge "Disable integer_overflow sanitizer in libm." am:
ddefae7ba9 am:
cd52d02c53
am:
65437ac030
Change-Id: Id77be87ad611adbe8a4289d80acf2ca359aa9618
Ivan Lozano [Fri, 7 Jul 2017 20:14:52 +0000 (20:14 +0000)]
Merge "Disable integer_overflow sanitizer in libm." am:
ddefae7ba9
am:
cd52d02c53
Change-Id: I54ceea13489baa2ab9e2163f46bc3e73dd5a0cf3
Ivan Lozano [Fri, 7 Jul 2017 20:12:49 +0000 (20:12 +0000)]
Merge "Disable integer_overflow sanitizer in libm."
am:
ddefae7ba9
Change-Id: Ib2a6529ba4390d62d6b0c103da8bd43bb3a8ce92
Ivan Lozano [Fri, 7 Jul 2017 20:07:20 +0000 (20:07 +0000)]
Merge "Disable integer_overflow sanitizer in libm."
Android Build Merger (Role) [Thu, 6 Jul 2017 22:42:55 +0000 (22:42 +0000)]
Merge "Merge "Support building binutils out of the box for x86/x86-64." am:
6c716a155d am:
8f5078a1fb am:
e4e3ad5f81" into oc-dr1-dev-plus-aosp
Elliott Hughes [Thu, 6 Jul 2017 22:42:46 +0000 (22:42 +0000)]
Merge "Support building binutils out of the box for x86/x86-64." am:
6c716a155d am:
8f5078a1fb
am:
e4e3ad5f81
Change-Id: Iad3966fd18229e6875d1ae904008590d205679ee
Android Build Merger (Role) [Thu, 6 Jul 2017 22:42:40 +0000 (22:42 +0000)]
Merge "Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp am:
bb7ee40d4f" into oc-dr1-dev-plus-aosp
Android Build Merger (Role) [Thu, 6 Jul 2017 22:42:39 +0000 (22:42 +0000)]
Merge "Merge "Support building binutils out of the box for x86/x86-64." am:
6c716a155d am:
8f5078a1fb am:
e4e3ad5f81" into oc-dr1-dev-plus-aosp
Elliott Hughes [Thu, 6 Jul 2017 22:42:32 +0000 (22:42 +0000)]
Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp
am:
bb7ee40d4f
Change-Id: Ibeaf78b0418eaaf59a06e9f94eda5a92ed24712c
Elliott Hughes [Thu, 6 Jul 2017 22:42:32 +0000 (22:42 +0000)]
Merge "Support building binutils out of the box for x86/x86-64." am:
6c716a155d am:
8f5078a1fb
am:
e4e3ad5f81
Change-Id: I742abf7744e067c08ef80910be903e01251b8425
Android Build Merger (Role) [Thu, 6 Jul 2017 22:42:27 +0000 (22:42 +0000)]
Merge "Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp am:
bb7ee40d4f" into oc-dr1-dev-plus-aosp
Android Build Merger (Role) [Thu, 6 Jul 2017 22:42:25 +0000 (22:42 +0000)]
Merge "Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp am:
7d2d6d7834" into oc-dr1-dev-plus-aosp
Elliott Hughes [Thu, 6 Jul 2017 22:42:20 +0000 (22:42 +0000)]
Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp
am:
bb7ee40d4f
Change-Id: I15dc0c8d43f13e21d2c1785d2bcac4b6079a8439
Elliott Hughes [Thu, 6 Jul 2017 22:42:18 +0000 (22:42 +0000)]
Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp
am:
7d2d6d7834
Change-Id: Id586817b7516e2c2fe645dfd5f18947a412e6665
Android Build Merger (Role) [Thu, 6 Jul 2017 22:42:12 +0000 (22:42 +0000)]
Merge "Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp am:
7d2d6d7834" into oc-dr1-dev-plus-aosp
Android Build Merger (Role) [Thu, 6 Jul 2017 22:42:09 +0000 (22:42 +0000)]
Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a am:
e716af709d" into oc-dev-plus-aosp am:
58be397044" into oc-dr1-dev-plus-aosp
Elliott Hughes [Thu, 6 Jul 2017 22:42:04 +0000 (22:42 +0000)]
Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp
am:
7d2d6d7834
Change-Id: Ifcabca6f2a5e328a7aad75c93465fec5f8683fd3
Elliott Hughes [Thu, 6 Jul 2017 22:42:01 +0000 (22:42 +0000)]
Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a am:
e716af709d" into oc-dev-plus-aosp
am:
58be397044
Change-Id: I2548a98a2cb708bed6d755f0bf486e76be8429c1
Elliott Hughes [Thu, 6 Jul 2017 22:41:49 +0000 (22:41 +0000)]
Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a am:
e716af709d" into oc-dev-plus-aosp
am:
58be397044
Change-Id: I44925a6d40bbaf14f5b43e005c0aa01b2c2c9bf1
Elliott Hughes [Thu, 6 Jul 2017 22:41:33 +0000 (22:41 +0000)]
Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a am:
e716af709d
am:
9c7bd74f56
Change-Id: I66c9744fb6343a958e4620aa3aeecc75dac76af9
Elliott Hughes [Thu, 6 Jul 2017 22:41:16 +0000 (22:41 +0000)]
Merge "Update <arpa/*> from FreeBSD." am:
0ff813fb48 am:
05ebd700a5
am:
72450655e1
Change-Id: Ie837cb35557149987e2ae0dfc0fbfe57f61fc28d
Elliott Hughes [Thu, 6 Jul 2017 22:40:13 +0000 (22:40 +0000)]
Merge "Support building binutils out of the box for x86/x86-64." am:
6c716a155d
am:
8f5078a1fb
Change-Id: I0dcbb88ae6907700f3bc2848ebc45a7f2d1e6857
Elliott Hughes [Thu, 6 Jul 2017 22:39:41 +0000 (22:39 +0000)]
Merge "Support building binutils out of the box for x86/x86-64."
am:
6c716a155d
Change-Id: Idda74de63a3d03660ac5c336825dfa5b5c4b81d0
Android Build Merger (Role) [Thu, 6 Jul 2017 22:38:05 +0000 (22:38 +0000)]
Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp
Android Build Merger (Role) [Thu, 6 Jul 2017 22:37:58 +0000 (22:37 +0000)]
Merge "Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master am:
9bd321eaa3" into oc-dev-plus-aosp
Elliott Hughes [Thu, 6 Jul 2017 22:37:58 +0000 (22:37 +0000)]
Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master
am:
9bd321eaa3
Change-Id: I89da7873488b72f5950816e49dedfbbbc48da612
Android Build Merger (Role) [Thu, 6 Jul 2017 22:37:47 +0000 (22:37 +0000)]
Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a am:
e716af709d" into oc-dev-plus-aosp
Elliott Hughes [Thu, 6 Jul 2017 22:37:46 +0000 (22:37 +0000)]
Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master
am:
9bd321eaa3
Change-Id: I5f7e01bad0eb7e59c43cae5276803c277711c648
Elliott Hughes [Thu, 6 Jul 2017 22:37:41 +0000 (22:37 +0000)]
Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a
am:
e716af709d
Change-Id: If96e2b77e8206f0467375dfa8cfc1f413e4e905a
Elliott Hughes [Thu, 6 Jul 2017 22:37:32 +0000 (22:37 +0000)]
Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a
am:
e716af709d
Change-Id: I311b886b87c1a47c03d7ccd4132a77039dd96b7e
Elliott Hughes [Thu, 6 Jul 2017 22:37:22 +0000 (22:37 +0000)]
Merge "Update <arpa/*> from FreeBSD." am:
0ff813fb48
am:
05ebd700a5
Change-Id: Ie841e27054c8c1c337231207fcf86909e983307e
Android Build Merger (Role) [Thu, 6 Jul 2017 22:34:03 +0000 (22:34 +0000)]
Merge "Merge "Make <sys/ttydefaults.h> more usable." am:
1de6d0bb8a" into stage-aosp-master
Elliott Hughes [Thu, 6 Jul 2017 22:33:54 +0000 (22:33 +0000)]
Merge "Make <sys/ttydefaults.h> more usable."
am:
1de6d0bb8a
Change-Id: Ib24f784a4b5c7f69af4a0bfd17410178a54291bb
Elliott Hughes [Thu, 6 Jul 2017 22:33:46 +0000 (22:33 +0000)]
Merge "Make <sys/ttydefaults.h> more usable."
am:
1de6d0bb8a
Change-Id: Id12e3e0847f8c114509f9acd4ef3751c889cae18
Elliott Hughes [Thu, 6 Jul 2017 22:33:42 +0000 (22:33 +0000)]
Merge "Support building binutils out of the box for x86/x86-64."
Elliott Hughes [Thu, 6 Jul 2017 22:33:33 +0000 (22:33 +0000)]
Merge "Update <arpa/*> from FreeBSD."
am:
0ff813fb48
Change-Id: I37f5c75e5357d3292b1ab0e6f037771ebe036ba9
Elliott Hughes [Thu, 6 Jul 2017 22:20:34 +0000 (22:20 +0000)]
Merge "Make <sys/ttydefaults.h> more usable."
Ivan Lozano [Thu, 6 Jul 2017 20:54:56 +0000 (13:54 -0700)]
Disable integer_overflow sanitizer in libm.
Explicitly disables the integer_overflow sanitizer in the libm library.
This change should not impact any other build targets.
Bug:
30969751
Test: Built with and without SANITIZE_TARGET=integer_overflow
Change-Id: I98d0312344086b01394f456d4b953463b5e6cb1a
Elliott Hughes [Thu, 6 Jul 2017 22:15:04 +0000 (22:15 +0000)]
Merge "Update <arpa/*> from FreeBSD."
Android Build Merger (Role) [Thu, 6 Jul 2017 21:41:54 +0000 (21:41 +0000)]
Merge "Merge "Claim to have a POSIX shell and utilities." am:
4ceefe27e7 am:
fcd2e55aad am:
b73a1b14bf" into oc-dr1-dev-plus-aosp
Android Build Merger (Role) [Thu, 6 Jul 2017 21:41:48 +0000 (21:41 +0000)]
Merge "Merge "Claim to have a POSIX shell and utilities." am:
4ceefe27e7 am:
fcd2e55aad am:
b73a1b14bf" into oc-dr1-dev-plus-aosp
Elliott Hughes [Thu, 6 Jul 2017 21:41:46 +0000 (21:41 +0000)]
Merge "Claim to have a POSIX shell and utilities." am:
4ceefe27e7 am:
fcd2e55aad
am:
b73a1b14bf
Change-Id: I3c8d467877f70b39b57b49ba4aa9492d119a410e
Android Build Merger (Role) [Thu, 6 Jul 2017 21:41:41 +0000 (21:41 +0000)]
Merge "Merge "Conditionally expose splice(2) and sync_file_range(2) constants." am:
10c836fe08 am:
065237718a am:
ad206bcbee" into oc-dr1-dev-plus-aosp
Elliott Hughes [Thu, 6 Jul 2017 21:41:39 +0000 (21:41 +0000)]
Merge "Claim to have a POSIX shell and utilities." am:
4ceefe27e7 am:
fcd2e55aad
am:
b73a1b14bf
Change-Id: I4a4d3803c7397a9dee33128b4c855481273de167
Elliott Hughes [Thu, 6 Jul 2017 21:41:33 +0000 (21:41 +0000)]
Merge "Conditionally expose splice(2) and sync_file_range(2) constants." am:
10c836fe08 am:
065237718a
am:
ad206bcbee
Change-Id: I36fb7c9788ed249f480f5782eef04c17aae2fd22
Elliott Hughes [Thu, 6 Jul 2017 21:41:28 +0000 (21:41 +0000)]
Merge "Conditionally expose splice(2) and sync_file_range(2) constants." am:
10c836fe08 am:
065237718a
am:
ad206bcbee
Change-Id: I5d1bce9da0987dca21b63a88b6ef43cda395d174
Elliott Hughes [Thu, 6 Jul 2017 21:41:15 +0000 (21:41 +0000)]
Merge "Fix <dirent.h> d_ino/d_off types." am:
913ae73395 am:
e348783c25
am:
55c8cdc4ec
Change-Id: Ica3add7622f513f98c1b8e00db8aac26fe09f702
Elliott Hughes [Thu, 6 Jul 2017 21:31:09 +0000 (21:31 +0000)]
Merge "Claim to have a POSIX shell and utilities." am:
4ceefe27e7
am:
fcd2e55aad
Change-Id: Iedff0620953d3f398d1aebda96a097c4a4537533
Elliott Hughes [Thu, 6 Jul 2017 21:30:54 +0000 (21:30 +0000)]
Merge "Conditionally expose splice(2) and sync_file_range(2) constants." am:
10c836fe08
am:
065237718a
Change-Id: If315bb28d5f2b877df7339011f0cae3e7e361d63
Elliott Hughes [Thu, 6 Jul 2017 21:30:40 +0000 (21:30 +0000)]
Merge "Fix <dirent.h> d_ino/d_off types." am:
913ae73395
am:
e348783c25
Change-Id: Ia8afdee5e733e402e99d6486888428b3d6f30ff9
Elliott Hughes [Thu, 6 Jul 2017 21:28:40 +0000 (21:28 +0000)]
Merge "Claim to have a POSIX shell and utilities."
am:
4ceefe27e7
Change-Id: If83c6aae722d91e8b3f5a8e50913e9d9e6dd824e
Elliott Hughes [Thu, 6 Jul 2017 21:28:24 +0000 (21:28 +0000)]
Merge "Conditionally expose splice(2) and sync_file_range(2) constants."
am:
10c836fe08
Change-Id: Ib8e57dc7d8332d36b606eac506e69d5926e517b8
Elliott Hughes [Thu, 6 Jul 2017 21:28:10 +0000 (21:28 +0000)]
Merge "Fix <dirent.h> d_ino/d_off types."
am:
913ae73395
Change-Id: Iea1f3121dbd310e9b0c51a96005c43723938c90b
Elliott Hughes [Thu, 6 Jul 2017 21:22:20 +0000 (21:22 +0000)]
Merge "Claim to have a POSIX shell and utilities."
Elliott Hughes [Thu, 6 Jul 2017 21:21:20 +0000 (21:21 +0000)]
Merge "Conditionally expose splice(2) and sync_file_range(2) constants."
Elliott Hughes [Thu, 6 Jul 2017 21:15:35 +0000 (21:15 +0000)]
Merge "Fix <dirent.h> d_ino/d_off types."
Elliott Hughes [Thu, 6 Jul 2017 18:04:15 +0000 (11:04 -0700)]
Support building binutils out of the box for x86/x86-64.
x86 needs the <sys/user.h> additions, x86-64 the <sys/procfs.h> ones.
Bug: N/A
Test: ndkports x86 and x86_64 binutils-2.28
Change-Id: I2e4738d3f8343d12db0536ca77045e2a0ccc6596
Elliott Hughes [Thu, 6 Jul 2017 17:33:15 +0000 (10:33 -0700)]
Make <sys/ttydefaults.h> more usable.
* TTYDEF_OFLAG referred to the BSD OXTABS constant instead of the Linux XTABS,
so references to it wouldn't compile.
* CEOL was incorrect (compared to `stty -a`).
* ttydefchars wouldn't compile (removed rather than attempt to fix something
of unclear utility).
Bug: http://b/
63145226
Test: new test
Change-Id: I823e5eaab789cafd2eeea03f77ea553346822f74
Dimitry Ivanov [Thu, 6 Jul 2017 15:25:06 +0000 (15:25 +0000)]
Merge "The ifdef check for AT_SYSINFO_EHDR is no longer needed" am:
9d2d21d636 am:
66479d88d1
am:
df800eba5e
Change-Id: I46ecfdbfef7c20ba09dfae2169398be116744d61
Dimitry Ivanov [Thu, 6 Jul 2017 15:22:35 +0000 (15:22 +0000)]
Merge "The ifdef check for AT_SYSINFO_EHDR is no longer needed" am:
9d2d21d636
am:
66479d88d1
Change-Id: I00e96306854b9ccff8cae5b13b7ef303552f7a67
Dimitry Ivanov [Thu, 6 Jul 2017 15:20:05 +0000 (15:20 +0000)]
Merge "The ifdef check for AT_SYSINFO_EHDR is no longer needed"
am:
9d2d21d636
Change-Id: I00cfa9f85bafb069f3ce029baea71b496e4c9b6e
Dimitry Ivanov [Thu, 6 Jul 2017 15:16:03 +0000 (15:16 +0000)]
Merge "The ifdef check for AT_SYSINFO_EHDR is no longer needed"
Andreas Gampe [Thu, 6 Jul 2017 15:05:36 +0000 (15:05 +0000)]
Merge "Bionic: Add ziparchive test dependency" am:
7b7475ce85 am:
6b3a608fc9
am:
1ee4abfdd5
Change-Id: I86a9ba11444d17735be6e99f8de9eb39c7358b21
Andreas Gampe [Thu, 6 Jul 2017 15:02:34 +0000 (15:02 +0000)]
Merge "Bionic: Add ziparchive test dependency" am:
7b7475ce85
am:
6b3a608fc9
Change-Id: I93b68b7cf481852857b8b25163b48e6de64cdfeb
Andreas Gampe [Thu, 6 Jul 2017 15:00:04 +0000 (15:00 +0000)]
Merge "Bionic: Add ziparchive test dependency"
am:
7b7475ce85
Change-Id: I391591c530b2c33ddb8ace15c98f895e52140c5f
Treehugger Robot [Thu, 6 Jul 2017 14:48:01 +0000 (14:48 +0000)]
Merge "Bionic: Add ziparchive test dependency"
dimitry [Thu, 6 Jul 2017 10:17:14 +0000 (12:17 +0200)]
The ifdef check for AT_SYSINFO_EHDR is no longer needed
AT_SYSINFO_EHDR is present in all architectures
Test: make
Change-Id: I0f4c115bb48e47ea156e7fca936960f5f10c618e
Andreas Gampe [Thu, 6 Jul 2017 05:36:20 +0000 (22:36 -0700)]
Bionic: Add ziparchive test dependency
Add missing dependency.
Bug:
37342627
Test: m
test: mmma bionic
Change-Id: I43ae69a007f0e8745db5721296f457b3e58206dd
Elliott Hughes [Wed, 5 Jul 2017 23:45:55 +0000 (16:45 -0700)]
Claim to have a POSIX shell and utilities.
We pretty much do these days. And apparently some GNU tools turn on obsolete
backwards-compatible behaviors otherwise.
Bug: http://b/
63145226
Test: builds
Change-Id: I9a8af860768cc2c10548f172d1e8b4fba3e5115b
Elliott Hughes [Wed, 5 Jul 2017 22:51:44 +0000 (15:51 -0700)]
Update <arpa/*> from FreeBSD.
We've had <arpa/telnet.h> for years, despite being slightly more useless
than <arpa/ftp.h> and <arpa/tftp.h>. The inetutils package expects these
to be available.
Bug: http://b/
63145226
Test: builds
Change-Id: I1e3c7421779e965b3342d681fefb8dc2561b604d
Elliott Hughes [Wed, 5 Jul 2017 22:59:58 +0000 (15:59 -0700)]
Conditionally expose splice(2) and sync_file_range(2) constants.
As in other places, only expose the constants at API levels where
we're also exposing the functions (to cope with "poor man's configure"
where an author assumes the presence of the #define to imply the
availability of the function).
Bug: http://b/
63145226
Test: builds
Change-Id: I524f7288513aa6c35479c550e748a619397929b0
Elliott Hughes [Wed, 5 Jul 2017 19:34:29 +0000 (12:34 -0700)]
Fix <dirent.h> d_ino/d_off types.
Bug: http://b/
63336806
Test: builds
Change-Id: I781e7c66c41bcb772d49ce7c23aab185ddd5da1e
Elliott Hughes [Wed, 5 Jul 2017 19:00:29 +0000 (12:00 -0700)]
Make inline tcsetattr definition match constants.
Before this change we have the old NDK inline termios functions with the
modern constants. Unfortunately the old NDK inline functions relied on
hacking the constants. Fix things by sharing the implementation between
the platform and the NDK headers.
Bug: https://github.com/android-ndk/ndk/issues/441
Test: ran tests
Change-Id: I2773634059530bc954167f29c4783413a2294d5a
Elliott Hughes [Sat, 1 Jul 2017 16:09:33 +0000 (16:09 +0000)]
Merge "Work around missing _Exit in old API levels." am:
f45bc14d54 am:
9995dc1519
am:
49d03863dc
Change-Id: I73c54d4f0fc5aced0d2947f0c1b7ee573a832e04
Elliott Hughes [Sat, 1 Jul 2017 16:05:01 +0000 (16:05 +0000)]
Merge "Work around missing _Exit in old API levels." am:
f45bc14d54
am:
9995dc1519
Change-Id: I348562e917298bf93623f1bdb969a14d823a637c
Elliott Hughes [Sat, 1 Jul 2017 15:59:32 +0000 (15:59 +0000)]
Merge "Work around missing _Exit in old API levels."
am:
f45bc14d54
Change-Id: I29dcf7229132c304bc55486444decb16813fbe86
Elliott Hughes [Sat, 1 Jul 2017 15:48:58 +0000 (15:48 +0000)]
Merge "Work around missing _Exit in old API levels."