OSDN Git Service

android-x86/bionic.git
7 years agoMerge "Update our notice files as a pre-upload step." am: 93a988debb am: 214b9b48e5
Dan Albert [Thu, 20 Oct 2016 22:30:13 +0000 (22:30 +0000)]
Merge "Update our notice files as a pre-upload step." am: 93a988debb am: 214b9b48e5
am: 14ad00f7c5

Change-Id: I2f12708cf0796bead927a118da32da64033c83c5

7 years agoMerge "Update our notice files as a pre-upload step." am: 93a988debb
Dan Albert [Thu, 20 Oct 2016 22:22:42 +0000 (22:22 +0000)]
Merge "Update our notice files as a pre-upload step." am: 93a988debb
am: 214b9b48e5

Change-Id: Id37703516c2155081a06c1358e3d3d58fd1cb45a

7 years agoMerge "Update our notice files as a pre-upload step."
Dan Albert [Thu, 20 Oct 2016 22:15:42 +0000 (22:15 +0000)]
Merge "Update our notice files as a pre-upload step."
am: 93a988debb

Change-Id: I49b3c30853b617cc7ca848366e035f8d4d739f92

7 years agoMerge "Update our notice files as a pre-upload step."
Treehugger Robot [Thu, 20 Oct 2016 22:07:55 +0000 (22:07 +0000)]
Merge "Update our notice files as a pre-upload step."

7 years agoMerge "Add missing host ldlibs" am: 94b428c80a am: bb7253aec0
Colin Cross [Thu, 20 Oct 2016 20:49:37 +0000 (20:49 +0000)]
Merge "Add missing host ldlibs" am: 94b428c80a am: bb7253aec0
am: dcea99bbef

Change-Id: I4b8f7491276810b3c43197813d9c9c0449979680

7 years agoMerge "Add missing host ldlibs" am: 94b428c80a
Colin Cross [Thu, 20 Oct 2016 20:41:07 +0000 (20:41 +0000)]
Merge "Add missing host ldlibs" am: 94b428c80a
am: bb7253aec0

Change-Id: I17bd3b150cea9968212f6dae70d6d8e366f5ac93

7 years agoMerge "Add missing host ldlibs"
Colin Cross [Thu, 20 Oct 2016 20:33:35 +0000 (20:33 +0000)]
Merge "Add missing host ldlibs"
am: 94b428c80a

Change-Id: Ic27234126a63b2c3719170a17a70f5233e52dc9b

7 years agoMerge "Add missing host ldlibs"
Colin Cross [Thu, 20 Oct 2016 20:26:09 +0000 (20:26 +0000)]
Merge "Add missing host ldlibs"

7 years agoMerge "Fix stdin/stdout/stderr for pre-M." am: edecce3ac2 am: 1ddc5cff70
Dan Albert [Thu, 20 Oct 2016 19:59:34 +0000 (19:59 +0000)]
Merge "Fix stdin/stdout/stderr for pre-M." am: edecce3ac2 am: 1ddc5cff70
am: c94eeae8dd

Change-Id: I1ed0a2cf307eaf9a43a27d26a9333037dea3ea28

7 years agoMerge "Fix stdin/stdout/stderr for pre-M." am: edecce3ac2
Dan Albert [Thu, 20 Oct 2016 19:51:04 +0000 (19:51 +0000)]
Merge "Fix stdin/stdout/stderr for pre-M." am: edecce3ac2
am: 1ddc5cff70

Change-Id: Ibe9c141575538460c26772a8b067eb2f85783ced

7 years agoMerge "Fix stdin/stdout/stderr for pre-M."
Dan Albert [Thu, 20 Oct 2016 19:43:02 +0000 (19:43 +0000)]
Merge "Fix stdin/stdout/stderr for pre-M."
am: edecce3ac2

Change-Id: I43fa5496c5be59aba6cd75777521b4b1b86da7ed

7 years agoMerge "Fix stdin/stdout/stderr for pre-M."
Treehugger Robot [Thu, 20 Oct 2016 19:34:56 +0000 (19:34 +0000)]
Merge "Fix stdin/stdout/stderr for pre-M."

7 years agoUpdate our notice files as a pre-upload step.
Dan Albert [Thu, 20 Oct 2016 17:34:47 +0000 (10:34 -0700)]
Update our notice files as a pre-upload step.

Also updates the license files, since apparently they're out of date.

Test: repo upload --cbr .
Bug: None
Change-Id: Ic8d855a7ee5185c4933da699292868e02ef79531

7 years agoAdd missing host ldlibs
Colin Cross [Thu, 20 Oct 2016 17:39:50 +0000 (10:39 -0700)]
Add missing host ldlibs

Host builds were compiling without -Wl,--no-undefined.  Add missing
host ldlibs so that -Wl,--no-undefined can be added again.

Test: m -j host
Bug: 32305815
Change-Id: I456098775ead2bddae3e61c7055b2bde3f6b38ff

7 years agoFix stdin/stdout/stderr for pre-M.
Dan Albert [Thu, 6 Oct 2016 22:46:45 +0000 (15:46 -0700)]
Fix stdin/stdout/stderr for pre-M.

This wasn't an array of pointers, it was an array of structs.
Unfortunately we need a complete type to index into the struct for
stdin/stdout/stderr, so add a phony struct that matches the size and
alignment of `struct __sFILE`. This property is guaranteed by the
static_asserts in libc/bionic/struct_file_test.cpp.

Test: mma
Bug: http://b/30465923
Change-Id: I8ce851dd64a261703bb44f9b5cd23b7caff4dd68

7 years agoMerge "Add regression test for http://b/31938693." am: 6901ca2799 am: 91e16d4436
Elliott Hughes [Thu, 20 Oct 2016 16:57:23 +0000 (16:57 +0000)]
Merge "Add regression test for b/31938693." am: 6901ca2799 am: 91e16d4436
am: 2268f6c349

Change-Id: I9be7b740639e56b8eaaffed8e2f596785eca2922

7 years agoMerge "Add regression test for http://b/31938693." am: 6901ca2799
Elliott Hughes [Thu, 20 Oct 2016 16:48:52 +0000 (16:48 +0000)]
Merge "Add regression test for b/31938693." am: 6901ca2799
am: 91e16d4436

Change-Id: I2bf59fe0812cb3a433d754e1480d7f396887a49b

7 years agoMerge "Add regression test for http://b/31938693."
Elliott Hughes [Thu, 20 Oct 2016 16:40:52 +0000 (16:40 +0000)]
Merge "Add regression test for http://b/31938693."
am: 6901ca2799

Change-Id: I08432c98bfae0bf087b01b4901aa982e1e21d3fe

7 years agoMerge "Add regression test for http://b/31938693."
Elliott Hughes [Thu, 20 Oct 2016 16:30:05 +0000 (16:30 +0000)]
Merge "Add regression test for http://b/31938693."

7 years agoMerge "Add test for libraries with textrels" am: 2a2b41038f am: 49bad0e609
Dimitry Ivanov [Thu, 20 Oct 2016 15:30:58 +0000 (15:30 +0000)]
Merge "Add test for libraries with textrels" am: 2a2b41038f am: 49bad0e609
am: c215dd2e5b

Change-Id: I42aa73020468c5e9e934e1f38d0385452010c408

7 years agoMerge "Add test for libraries with textrels" am: 2a2b41038f
Dimitry Ivanov [Thu, 20 Oct 2016 01:52:41 +0000 (01:52 +0000)]
Merge "Add test for libraries with textrels" am: 2a2b41038f
am: 49bad0e609

Change-Id: I9341653fa6b041b5ffb2ed81e6da6bd8b3c18918

7 years agoMerge "Add test for libraries with textrels"
Dimitry Ivanov [Thu, 20 Oct 2016 01:44:43 +0000 (01:44 +0000)]
Merge "Add test for libraries with textrels"
am: 2a2b41038f

Change-Id: I76f947bcf19e87834e048bff5d1057b04af4090a

7 years agoMerge "Add test for libraries with textrels"
Treehugger Robot [Thu, 20 Oct 2016 01:37:19 +0000 (01:37 +0000)]
Merge "Add test for libraries with textrels"

7 years agoAdd regression test for http://b/31938693.
Elliott Hughes [Wed, 19 Oct 2016 23:02:31 +0000 (16:02 -0700)]
Add regression test for http://b/31938693.

Bug: http://b/31938693
Bug: https://code.google.com/p/android/issues/detail?id=225132
Test: this is a test
Change-Id: I858962a1dcd56d555a4836a7bfbdf92d5c3042f6

7 years agoMerge "Fix our _POSIX_* macros to declare barriers and spin locks." am: 0759e7f5c1...
Elliott Hughes [Wed, 19 Oct 2016 21:41:18 +0000 (21:41 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks." am: 0759e7f5c1 am: cb9b9781e3
am: 492cc26afc

Change-Id: I28106ce729fa2a1dc13c28c7e3017633a3a85aa7

7 years agoMerge "Fix our _POSIX_* macros to declare barriers and spin locks." am: 0759e7f5c1
Elliott Hughes [Wed, 19 Oct 2016 21:32:46 +0000 (21:32 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks." am: 0759e7f5c1
am: cb9b9781e3

Change-Id: I1a0914e4038f771ade14c4ed576307129076549a

7 years agoMerge "Fix our _POSIX_* macros to declare barriers and spin locks."
Elliott Hughes [Wed, 19 Oct 2016 21:25:17 +0000 (21:25 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks."
am: 0759e7f5c1

Change-Id: I602b845f97ce26dbc22edff2124d075951eb941c

7 years agoAdd test for libraries with textrels
Dimitry Ivanov [Wed, 19 Oct 2016 18:00:28 +0000 (11:00 -0700)]
Add test for libraries with textrels

Make sure android fails to load them.

Bug: http://b/30795430
Test: bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsBionicTestCases
Change-Id: Id0ebdf336b2f297007479ceb1bbccf778a7ca3f2

7 years agoMerge "Fix our _POSIX_* macros to declare barriers and spin locks."
Elliott Hughes [Wed, 19 Oct 2016 21:16:21 +0000 (21:16 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks."

7 years agoFix our _POSIX_* macros to declare barriers and spin locks.
Elliott Hughes [Wed, 19 Oct 2016 16:27:02 +0000 (09:27 -0700)]
Fix our _POSIX_* macros to declare barriers and spin locks.

We have these now.

Test: ran tests
Change-Id: Ie7b479061ecec19c8b35ea81e04debfd8323d94a

8 years agoMerge "Fix ifaddrs error handling." am: d824421475 am: 0aec154aa8
Elliott Hughes [Fri, 14 Oct 2016 23:48:55 +0000 (23:48 +0000)]
Merge "Fix ifaddrs error handling." am: d824421475 am: 0aec154aa8
am: c99e4885d3

Change-Id: Ib39f92ba0772a51aaf17de6a5476ab31e67b97fe

8 years agoMerge "Fix ifaddrs error handling." am: d824421475
Elliott Hughes [Fri, 14 Oct 2016 23:44:54 +0000 (23:44 +0000)]
Merge "Fix ifaddrs error handling." am: d824421475
am: 0aec154aa8

Change-Id: I3e8e54b8b5bdf5562db47904a5a5106c41ce015e

8 years agoMerge "Fix ifaddrs error handling."
Elliott Hughes [Fri, 14 Oct 2016 23:40:53 +0000 (23:40 +0000)]
Merge "Fix ifaddrs error handling."
am: d824421475

Change-Id: I1eb9d61522501a9e5c925a8d3b4976674169af97

8 years agoMerge "Fix ifaddrs error handling."
Treehugger Robot [Fri, 14 Oct 2016 23:35:52 +0000 (23:35 +0000)]
Merge "Fix ifaddrs error handling."

8 years agoFix ifaddrs error handling.
Elliott Hughes [Fri, 14 Oct 2016 19:15:32 +0000 (12:15 -0700)]
Fix ifaddrs error handling.

An NLMSG_ERROR packet includes an errno value that we should use. Also report
failures to create a socket immediately, rather than falling through to the
send and reporting EBADF.

Bug: http://b/32145516
Bug: http://b/31038971
Test: bionic ifaddr tests on ryu (with broken kernel) and flounder
Change-Id: I84c480c5b75077eb90d40426a9d66d7bffbd3d51

8 years agoMerge "Remove unused build targets" am: 49ef8c822f am: df4e844940 am: 7e22b1317b
Dimitry Ivanov [Thu, 13 Oct 2016 00:13:05 +0000 (00:13 +0000)]
Merge "Remove unused build targets" am: 49ef8c822f am: df4e844940 am: 7e22b1317b
am: 2e70370aaa

Change-Id: Id6431cdf13038d1af0995a53db6c03d291e58b0d

8 years agoMerge "Remove unused build targets" am: 49ef8c822f am: df4e844940
Dimitry Ivanov [Thu, 13 Oct 2016 00:06:04 +0000 (00:06 +0000)]
Merge "Remove unused build targets" am: 49ef8c822f am: df4e844940
am: 7e22b1317b

Change-Id: Ia012e4ee440c14150f8a70f631bf13d5820b6553

8 years agoMerge "Remove unused build targets" am: 49ef8c822f
Dimitry Ivanov [Wed, 12 Oct 2016 23:59:05 +0000 (23:59 +0000)]
Merge "Remove unused build targets" am: 49ef8c822f
am: df4e844940

Change-Id: I4129a4ff758552c0eb29b7ce4471a25f05e0286c

8 years agoMerge "Remove unused build targets"
Dimitry Ivanov [Wed, 12 Oct 2016 23:52:33 +0000 (23:52 +0000)]
Merge "Remove unused build targets"
am: 49ef8c822f

Change-Id: I68e8fd8ab0fd6f1fefd80e9e6a664be32ce3c593

8 years agoMerge "Remove unused build targets"
Treehugger Robot [Wed, 12 Oct 2016 23:46:40 +0000 (23:46 +0000)]
Merge "Remove unused build targets"

8 years agoRemove unused build targets
Dimitry Ivanov [Wed, 12 Oct 2016 21:06:18 +0000 (14:06 -0700)]
Remove unused build targets

Test: mm
Change-Id: I4eadc40411a31a0e5fa910b0054c19f0dea6c1e2

8 years agoMerge "Allocate all arc4random data on the same page." am: 2eaba9343f am: a1a07174a1...
Elliott Hughes [Tue, 11 Oct 2016 22:28:39 +0000 (22:28 +0000)]
Merge "Allocate all arc4random data on the same page." am: 2eaba9343f am: a1a07174a1 am: 9cc503d76e
am: 8f8fab1100

Change-Id: I7771ed0b363b1cfa52be6fdd27c895ae3d899a40

8 years agoMerge "Allocate all arc4random data on the same page." am: 2eaba9343f am: a1a07174a1
Elliott Hughes [Tue, 11 Oct 2016 22:22:40 +0000 (22:22 +0000)]
Merge "Allocate all arc4random data on the same page." am: 2eaba9343f am: a1a07174a1
am: 9cc503d76e

Change-Id: If0a00f7076e6a29af1cdd316d30a4bff4e08c365

8 years agoMerge "Allocate all arc4random data on the same page." am: 2eaba9343f
Elliott Hughes [Tue, 11 Oct 2016 22:16:39 +0000 (22:16 +0000)]
Merge "Allocate all arc4random data on the same page." am: 2eaba9343f
am: a1a07174a1

Change-Id: Ic7ba1567e9807ef56edee95428f0ef9e1161b457

8 years agoMerge "Allocate all arc4random data on the same page."
Elliott Hughes [Tue, 11 Oct 2016 22:10:39 +0000 (22:10 +0000)]
Merge "Allocate all arc4random data on the same page."
am: 2eaba9343f

Change-Id: I7ff5a437db6ec403d269a530bf755c915ef0e601

8 years agoMerge "Allocate all arc4random data on the same page."
Treehugger Robot [Tue, 11 Oct 2016 22:05:41 +0000 (22:05 +0000)]
Merge "Allocate all arc4random data on the same page."

8 years agoAllocate all arc4random data on the same page.
Elliott Hughes [Tue, 11 Oct 2016 19:58:40 +0000 (12:58 -0700)]
Allocate all arc4random data on the same page.

Saves one dirty page per process.

Test: bionic unit tests, reboot, manual check of /proc/*/maps
Change-Id: Ibbcafa955d60e43f4cb735fa484c6868aa357cd5

8 years agoMerge "Remove obsolete -std request." am: 0e6aa81999 am: 5e76352cc3 am: aab356acef
Elliott Hughes [Tue, 11 Oct 2016 18:41:26 +0000 (18:41 +0000)]
Merge "Remove obsolete -std request." am: 0e6aa81999 am: 5e76352cc3 am: aab356acef
am: 51e1ba294f

Change-Id: I34e3ca783c51b01ec6d2ca0528faa164a2b13a0f

8 years agoMerge "Remove obsolete -std request." am: 0e6aa81999 am: 5e76352cc3
Elliott Hughes [Tue, 11 Oct 2016 18:35:54 +0000 (18:35 +0000)]
Merge "Remove obsolete -std request." am: 0e6aa81999 am: 5e76352cc3
am: aab356acef

Change-Id: I95d7de76179069323077067f175306c01a93355a

8 years agoMerge "Remove obsolete -std request." am: 0e6aa81999
Elliott Hughes [Tue, 11 Oct 2016 18:30:24 +0000 (18:30 +0000)]
Merge "Remove obsolete -std request." am: 0e6aa81999
am: 5e76352cc3

Change-Id: Iddf239acbf665466505a625314be7c312323476a

8 years agoMerge "Remove obsolete -std request."
Elliott Hughes [Tue, 11 Oct 2016 18:24:54 +0000 (18:24 +0000)]
Merge "Remove obsolete -std request."
am: 0e6aa81999

Change-Id: I84df5bdc9d37ca2df7e2c9a2675c23b8275bca11

8 years agoMerge "Remove obsolete -std request."
Elliott Hughes [Tue, 11 Oct 2016 18:13:07 +0000 (18:13 +0000)]
Merge "Remove obsolete -std request."

8 years agoMerge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf am: 090e27556a am: 4adc5710e9
Dan Albert [Tue, 11 Oct 2016 06:25:40 +0000 (06:25 +0000)]
Merge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf am: 090e27556a am: 4adc5710e9
am: 115fd3c95a

Change-Id: Ic1efe54893e36bb65d5900028930771def593f9b

8 years agoMerge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf am: 090e27556a
Dan Albert [Tue, 11 Oct 2016 06:20:10 +0000 (06:20 +0000)]
Merge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf am: 090e27556a
am: 4adc5710e9

Change-Id: Ic6b645666d762b8c017c566bfbd79adfd50c2011

8 years agoMerge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf
Dan Albert [Tue, 11 Oct 2016 06:14:39 +0000 (06:14 +0000)]
Merge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf
am: 090e27556a

Change-Id: I72fe1bac44e440f2a526538caeb6ab79ba49f86f

8 years agoMerge "Migrate libstdc++ to ndk_library."
Dan Albert [Tue, 11 Oct 2016 06:08:39 +0000 (06:08 +0000)]
Merge "Migrate libstdc++ to ndk_library."
am: 2c8a26d8bf

Change-Id: Icd01cea8c7390daf081f26d8d7aadcb9fb329cf9

8 years agoMerge "Migrate libstdc++ to ndk_library."
Treehugger Robot [Tue, 11 Oct 2016 06:01:17 +0000 (06:01 +0000)]
Merge "Migrate libstdc++ to ndk_library."

8 years agoMerge "Fix Mac build." am: e89385743e am: cbe7d68916 am: 76d8f51256
Elliott Hughes [Tue, 11 Oct 2016 04:18:02 +0000 (04:18 +0000)]
Merge "Fix Mac build." am: e89385743e am: cbe7d68916 am: 76d8f51256
am: 8c2b7620f9

Change-Id: I6e6c50696822eaa3c1e528a65bc262072ab883a0

8 years agoMerge "Fix Mac build." am: e89385743e am: cbe7d68916
Elliott Hughes [Tue, 11 Oct 2016 04:12:01 +0000 (04:12 +0000)]
Merge "Fix Mac build." am: e89385743e am: cbe7d68916
am: 76d8f51256

Change-Id: I0f93ba5cd644eff7661392353263398e96b483c8

8 years agoMerge "Fix Mac build." am: e89385743e
Elliott Hughes [Tue, 11 Oct 2016 04:06:03 +0000 (04:06 +0000)]
Merge "Fix Mac build." am: e89385743e
am: cbe7d68916

Change-Id: I689671c08773b0d9e7f5a3bb1990d72d17e28ecc

8 years agoMerge "Fix Mac build."
Elliott Hughes [Tue, 11 Oct 2016 04:00:31 +0000 (04:00 +0000)]
Merge "Fix Mac build."
am: e89385743e

Change-Id: Ie5feeb3e2834b8dd2bba868fbf66dbb98b6d23de

8 years agoMerge "Fix Mac build."
Elliott Hughes [Tue, 11 Oct 2016 03:50:26 +0000 (03:50 +0000)]
Merge "Fix Mac build."

8 years agoFix Mac build.
Elliott Hughes [Tue, 11 Oct 2016 01:34:27 +0000 (18:34 -0700)]
Fix Mac build.

Test: builds on Linux (I don't have a Mac)
Change-Id: I049e1d6420b0d169e727680da9c3d97e0b8aa3d2

8 years agoMerge changes I5667e991,I9d2a873e am: c3e09e1ff0 am: 676196c1e2 am: 209dd35443
Dimitry Ivanov [Tue, 11 Oct 2016 00:59:27 +0000 (00:59 +0000)]
Merge changes I5667e991,I9d2a873e am: c3e09e1ff0 am: 676196c1e2 am: 209dd35443
am: ae33b48b2c

Change-Id: I23b31533f2b14039601a0919ab79fcd7ddb71f2f

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3 am: 474da5a6d4...
Dimitry Ivanov [Tue, 11 Oct 2016 00:59:23 +0000 (00:59 +0000)]
bionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3 am: 474da5a6d4 am: dde2ec372b
am: 48d28b50ac

Change-Id: Ica59baa9c3246742a1684ae63d87cd7a6823eed8

8 years agobionic-unit-tests: Create symlinks in runtime am: 708589f5e8 am: dbad17c928 am: 56f41...
Dimitry Ivanov [Tue, 11 Oct 2016 00:59:19 +0000 (00:59 +0000)]
bionic-unit-tests: Create symlinks in runtime am: 708589f5e8 am: dbad17c928 am: 56f4114322
am: 676db441c8

Change-Id: I6baa1bd3da65dba5117e31a277797f9e7f5a99b0

8 years agoMerge changes I5667e991,I9d2a873e am: c3e09e1ff0 am: 676196c1e2
Dimitry Ivanov [Tue, 11 Oct 2016 00:53:56 +0000 (00:53 +0000)]
Merge changes I5667e991,I9d2a873e am: c3e09e1ff0 am: 676196c1e2
am: 209dd35443

Change-Id: I0072c18ed9e7940739422474d5c12aa07ab0f8ec

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3 am: 474da5a6d4
Dimitry Ivanov [Tue, 11 Oct 2016 00:53:53 +0000 (00:53 +0000)]
bionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3 am: 474da5a6d4
am: dde2ec372b

Change-Id: I394bdb0e53af24c075f95946efcfa75d534c03b6

8 years agobionic-unit-tests: Create symlinks in runtime am: 708589f5e8 am: dbad17c928
Dimitry Ivanov [Tue, 11 Oct 2016 00:53:49 +0000 (00:53 +0000)]
bionic-unit-tests: Create symlinks in runtime am: 708589f5e8 am: dbad17c928
am: 56f4114322

Change-Id: I491aaf15a2bf292ea52a4137cb18b08a29c4e2c0

8 years agoMerge changes I5667e991,I9d2a873e am: c3e09e1ff0
Dimitry Ivanov [Tue, 11 Oct 2016 00:48:27 +0000 (00:48 +0000)]
Merge changes I5667e991,I9d2a873e am: c3e09e1ff0
am: 676196c1e2

Change-Id: I0eba8e67c507ffd9614594e51855f1d707abdf3e

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3
Dimitry Ivanov [Tue, 11 Oct 2016 00:48:23 +0000 (00:48 +0000)]
bionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3
am: 474da5a6d4

Change-Id: I5c8816296a341971317775d9682ac6d5bf92f446

8 years agobionic-unit-tests: Create symlinks in runtime am: 708589f5e8
Dimitry Ivanov [Tue, 11 Oct 2016 00:48:19 +0000 (00:48 +0000)]
bionic-unit-tests: Create symlinks in runtime am: 708589f5e8
am: dbad17c928

Change-Id: I37fbe821391d5461fd14eaea51b0b063e5859a63

8 years agoMerge changes I5667e991,I9d2a873e
Dimitry Ivanov [Tue, 11 Oct 2016 00:42:55 +0000 (00:42 +0000)]
Merge changes I5667e991,I9d2a873e
am: c3e09e1ff0

Change-Id: I1fa7770646c90e42dda53bcf08a19ab6c6ab97c2

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA
Dimitry Ivanov [Tue, 11 Oct 2016 00:42:54 +0000 (00:42 +0000)]
bionic-unit-tests: remove dependency on ANDROID_DATA
am: 927877c7d3

Change-Id: Icbebb8309d5f6a6fa3173b5d844c1d75915bc7e3

8 years agobionic-unit-tests: Create symlinks in runtime
Dimitry Ivanov [Tue, 11 Oct 2016 00:42:49 +0000 (00:42 +0000)]
bionic-unit-tests: Create symlinks in runtime
am: 708589f5e8

Change-Id: I0074677cb1561ce5924f4b9bf32501d57a31b0bd

8 years agoMerge changes I5667e991,I9d2a873e
Treehugger Robot [Tue, 11 Oct 2016 00:30:53 +0000 (00:30 +0000)]
Merge changes I5667e991,I9d2a873e

* changes:
  bionic-unit-tests: remove dependency on ANDROID_DATA
  bionic-unit-tests: Create symlinks in runtime

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb am: 8efd55b7...
Josh Gao [Mon, 10 Oct 2016 22:04:39 +0000 (22:04 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb am: 8efd55b774 am: 12e1498fa6
am: 61b18ecfd6

Change-Id: Iabb7c6b34e9e45fa96e851b71c9889023f0e6469

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb am: 8efd55b774
Josh Gao [Mon, 10 Oct 2016 21:49:06 +0000 (21:49 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb am: 8efd55b774
am: 12e1498fa6

Change-Id: I5427033c4e00f14321873a23f9b6305105fe6e12

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb
Josh Gao [Mon, 10 Oct 2016 21:43:37 +0000 (21:43 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb
am: 8efd55b774

Change-Id: I5898e427a4f875af5e4dbe0b5c9401ce479ea3fb

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr."
Josh Gao [Mon, 10 Oct 2016 21:38:05 +0000 (21:38 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr."
am: e0505ab0fb

Change-Id: I3918867ec5806ae57f77e5d03a1b80fbc8fc143b

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr."
Treehugger Robot [Mon, 10 Oct 2016 21:19:05 +0000 (21:19 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr."

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA
Dimitry Ivanov [Wed, 21 Sep 2016 18:17:13 +0000 (11:17 -0700)]
bionic-unit-tests: remove dependency on ANDROID_DATA

Replace references to ANDROID_DATA enviroment variable with references
to g_testlib_root.

Bug: http://b/22182538
Test: build and run bionic-unit-tests --gtest_filter=dl*:Dl*
Test: make cts && cts-tradefed run singleCommand cts --skip-preconditions -m CtsBionicTestCases
Change-Id: I5667e991551cec55b9b664f2f0063039671ff34b

8 years agobionic-unit-tests: Create symlinks in runtime
Dimitry Ivanov [Mon, 19 Sep 2016 17:50:28 +0000 (10:50 -0700)]
bionic-unit-tests: Create symlinks in runtime

Instead of creating symlinks in build time and then relying
on usage of adb sync (adb push follows symlinks) - create
them in test run time.

Test: mm && run bionic-unit-tests --gtest_filter=dl*:Dl*
Bug: http://b/22182538
Change-Id: I9d2a873e3ba303533c14ba5e3b779e4a67925462

8 years agoMerge "Document a post-N dynamic linker change." am: 1c45e6fa47 am: a38fd57a0b am...
Elliott Hughes [Sat, 8 Oct 2016 21:02:34 +0000 (21:02 +0000)]
Merge "Document a post-N dynamic linker change." am: 1c45e6fa47 am: a38fd57a0b am: 61cd6b977f
am: b2c72cd155

Change-Id: I25a13edcc0b43c840aea95eb04584a32e1faa7ed

8 years agoMerge "Document a post-N dynamic linker change." am: 1c45e6fa47 am: a38fd57a0b
Elliott Hughes [Sat, 8 Oct 2016 20:58:03 +0000 (20:58 +0000)]
Merge "Document a post-N dynamic linker change." am: 1c45e6fa47 am: a38fd57a0b
am: 61cd6b977f

Change-Id: I0f35bb50e8f4ee2194de0cd084e009fec440429c

8 years agoMerge "Document a post-N dynamic linker change." am: 1c45e6fa47
Elliott Hughes [Sat, 8 Oct 2016 20:53:33 +0000 (20:53 +0000)]
Merge "Document a post-N dynamic linker change." am: 1c45e6fa47
am: a38fd57a0b

Change-Id: I92e3efb634d7912fcc37b3c54a46cac43bf2826a

8 years agoMerge "Document a post-N dynamic linker change."
Elliott Hughes [Sat, 8 Oct 2016 20:48:31 +0000 (20:48 +0000)]
Merge "Document a post-N dynamic linker change."
am: 1c45e6fa47

Change-Id: I9107e734f1796a5570d171cd6dcbe9225a5411c2

8 years agoMerge "Document a post-N dynamic linker change."
Treehugger Robot [Sat, 8 Oct 2016 20:41:27 +0000 (20:41 +0000)]
Merge "Document a post-N dynamic linker change."

8 years agoMerge "Turn the recent blog post into markdown docs." am: a3745834f2 am: f9e330bbc8...
Elliott Hughes [Fri, 7 Oct 2016 23:21:47 +0000 (23:21 +0000)]
Merge "Turn the recent blog post into markdown docs." am: a3745834f2 am: f9e330bbc8 am: 83b211bc16
am: 4c4e241189

Change-Id: Ib4ad59d22672e525de4f4552ed5bb0b56f8e947b

8 years agoTurn the recent blog post into markdown docs. am: c45380d20c am: 277864c3d1 am: c9628...
Elliott Hughes [Fri, 7 Oct 2016 23:21:36 +0000 (23:21 +0000)]
Turn the recent blog post into markdown docs. am: c45380d20c am: 277864c3d1 am: c962852a5d
am: 1bb0a23373

Change-Id: I500608830aba03f8defcf449f018f3c540edaaaa

8 years agoMerge "Turn the recent blog post into markdown docs." am: a3745834f2 am: f9e330bbc8
Elliott Hughes [Fri, 7 Oct 2016 23:12:32 +0000 (23:12 +0000)]
Merge "Turn the recent blog post into markdown docs." am: a3745834f2 am: f9e330bbc8
am: 83b211bc16

Change-Id: I27347d859f437b82324b23cf176a602a792aa9fd

8 years agoTurn the recent blog post into markdown docs. am: c45380d20c am: 277864c3d1
Elliott Hughes [Fri, 7 Oct 2016 23:12:22 +0000 (23:12 +0000)]
Turn the recent blog post into markdown docs. am: c45380d20c am: 277864c3d1
am: c962852a5d

Change-Id: I2f2832c6c7f9aa542da8ad7d0251d5ea9668ffd0

8 years agoMerge "Turn the recent blog post into markdown docs." am: a3745834f2
Elliott Hughes [Fri, 7 Oct 2016 23:08:33 +0000 (23:08 +0000)]
Merge "Turn the recent blog post into markdown docs." am: a3745834f2
am: f9e330bbc8

Change-Id: I4225830fe3a51c09369eab8e7c2b79b999d59523

8 years agoTurn the recent blog post into markdown docs. am: c45380d20c
Elliott Hughes [Fri, 7 Oct 2016 23:08:23 +0000 (23:08 +0000)]
Turn the recent blog post into markdown docs. am: c45380d20c
am: 277864c3d1

Change-Id: I414c4cdf9f31c05c264e5cbf8fb4905ad7013d89

8 years agoMerge "Turn the recent blog post into markdown docs."
Elliott Hughes [Fri, 7 Oct 2016 23:03:27 +0000 (23:03 +0000)]
Merge "Turn the recent blog post into markdown docs."
am: a3745834f2

Change-Id: I221adde4dde21cec911fe0537f72f39f7f2b13e7

8 years agoTurn the recent blog post into markdown docs.
Elliott Hughes [Fri, 7 Oct 2016 23:03:26 +0000 (23:03 +0000)]
Turn the recent blog post into markdown docs.
am: c45380d20c

Change-Id: I3559e1ae5e2c4fd9d7a4687fab39d9678d557234

8 years agoDocument a post-N dynamic linker change.
Elliott Hughes [Fri, 7 Oct 2016 22:59:58 +0000 (15:59 -0700)]
Document a post-N dynamic linker change.

Test: N/A
Change-Id: I37f3ccccd81c29a4ffe400fc2177bbe082195ade

8 years agoMerge "Turn the recent blog post into markdown docs."
Elliott Hughes [Fri, 7 Oct 2016 22:56:32 +0000 (22:56 +0000)]
Merge "Turn the recent blog post into markdown docs."

8 years agoUse STDERR_FILENO instead of opening /dev/stderr.
Josh Gao [Fri, 7 Oct 2016 20:21:03 +0000 (13:21 -0700)]
Use STDERR_FILENO instead of opening /dev/stderr.

/dev/stderr is a symlink to /proc/self/fd/2, so this only has different
behavior when we're out of file descriptors, or when STDERR_FILENO is in
a different state (it's not at the end, it's not writable, etc.).

Test: mma
Change-Id: Ie99688d810218eca8482ff060373e88c4e001824

8 years agoRemove obsolete -std request.
Elliott Hughes [Fri, 7 Oct 2016 17:43:30 +0000 (10:43 -0700)]
Remove obsolete -std request.

Bug: http://b/32019064
Test: builds
Change-Id: Id662a63f08054634721750d26e0dcd3c366ed2e6