OSDN Git Service

android-x86/bionic.git
8 years agoMerge changes I0aa46d9d,I6431111b am: ee6fb66dc1
Josh Gao [Sat, 30 Apr 2016 00:55:59 +0000 (00:55 +0000)]
Merge changes I0aa46d9d,I6431111b am: ee6fb66dc1
am: f8b63759dd

* commit 'f8b63759dd035e4e235830b996d2cc028869e802':
  Add __INTRODUCED_IN_{32,64}.
  Add __INTRODUCED_IN hack to complex test.

Change-Id: I22ed91a7b06063632a4219f1d96eff8a08a44ce2

8 years agoMerge changes I0aa46d9d,I6431111b
Josh Gao [Sat, 30 Apr 2016 00:53:46 +0000 (00:53 +0000)]
Merge changes I0aa46d9d,I6431111b
am: ee6fb66dc1

* commit 'ee6fb66dc1a180ce0206a5ea0522000cfcf4c8b1':
  Add __INTRODUCED_IN_{32,64}.
  Add __INTRODUCED_IN hack to complex test.

Change-Id: I8ea14d0e6897d0bbfc8bee77fc6f4cc7786c90db

8 years agoMerge changes I0aa46d9d,I6431111b
Treehugger Robot [Sat, 30 Apr 2016 00:48:38 +0000 (00:48 +0000)]
Merge changes I0aa46d9d,I6431111b

* changes:
  Add __INTRODUCED_IN_{32,64}.
  Add __INTRODUCED_IN hack to complex test.

8 years agoAdd __INTRODUCED_IN_{32,64}.
Josh Gao [Fri, 29 Apr 2016 19:15:18 +0000 (12:15 -0700)]
Add __INTRODUCED_IN_{32,64}.

Some symbols appeared at different times between 32 and 64 bit. Add a
macro to represent this.

Bug: http://b/28178111
Change-Id: I0aa46d9da3c7301b60df0416bce252f0f37b7b36

8 years agoAdd __INTRODUCED_IN hack to complex test.
Josh Gao [Fri, 29 Apr 2016 18:52:39 +0000 (11:52 -0700)]
Add __INTRODUCED_IN hack to complex test.

complex_test.cpp is compiled with both bionic and glibc, so when
__INTRODUCED_IN starts being used in <complex.h>, we'll need this to
keep it building.

Bug: http://b/28178111
Change-Id: I6431111be35288cad72e9c23ca8599f548b6d906

8 years agoMerge "Remove __UNAVAILABLE." am: e23df93915
Elliott Hughes [Fri, 29 Apr 2016 22:20:05 +0000 (22:20 +0000)]
Merge "Remove __UNAVAILABLE." am: e23df93915
am: 5a9efce22d

* commit '5a9efce22dacab89453be3722e73d9781ca2b40d':
  Remove __UNAVAILABLE.

Change-Id: Id018e29a6e24a9b11b67465569df126f234374ff

8 years agoMerge "Remove __UNAVAILABLE."
Elliott Hughes [Fri, 29 Apr 2016 22:17:48 +0000 (22:17 +0000)]
Merge "Remove __UNAVAILABLE."
am: e23df93915

* commit 'e23df93915dd89ae9661dded3c51bfd5a0bd185e':
  Remove __UNAVAILABLE.

Change-Id: Iaedcb05c20d8afc5daa501adce75bf36dfedaba6

8 years agoMerge "Remove __UNAVAILABLE."
Elliott Hughes [Fri, 29 Apr 2016 22:12:20 +0000 (22:12 +0000)]
Merge "Remove __UNAVAILABLE."

8 years agoMerge "Fix <wctype.h>." am: 146cbacea0
Elliott Hughes [Fri, 29 Apr 2016 18:20:29 +0000 (18:20 +0000)]
Merge "Fix <wctype.h>." am: 146cbacea0
am: 005276fd95

* commit '005276fd959dfd79102c06fc901e7035342facf2':
  Fix <wctype.h>.

Change-Id: I0bc876c8f914a48c62493a8595e8e1433846902e

8 years agoMerge "Fix <wctype.h>."
Elliott Hughes [Fri, 29 Apr 2016 18:18:11 +0000 (18:18 +0000)]
Merge "Fix <wctype.h>."
am: 146cbacea0

* commit '146cbacea0754356a784608474149d291d92500a':
  Fix <wctype.h>.

Change-Id: Ica0217c3d10677f3d6d502ffa4ca4f6b8d56226d

8 years agoRemove __UNAVAILABLE.
Elliott Hughes [Fri, 29 Apr 2016 18:07:55 +0000 (11:07 -0700)]
Remove __UNAVAILABLE.

We fixed the things we needed this for, and should never reintroduce a
similar mistake in future.

Change-Id: I74b447bcf22ea533f3c79db48b66a3c217d76c2f

8 years agoMerge "Fix <wctype.h>."
Elliott Hughes [Fri, 29 Apr 2016 18:05:28 +0000 (18:05 +0000)]
Merge "Fix <wctype.h>."

8 years agoMerge "Remove declaration of pthread_cond_timeout_np." am: adc8d34137
Elliott Hughes [Fri, 29 Apr 2016 15:22:21 +0000 (15:22 +0000)]
Merge "Remove declaration of pthread_cond_timeout_np." am: adc8d34137
am: 45588044be

* commit '45588044be26939024317f164ff53098ff2bd553':
  Remove declaration of pthread_cond_timeout_np.

Change-Id: I6377985e80f6a36e0c2b94fd2275b5a8ce33c794

8 years agoMerge "Remove declaration of pthread_cond_timeout_np."
Elliott Hughes [Fri, 29 Apr 2016 15:19:30 +0000 (15:19 +0000)]
Merge "Remove declaration of pthread_cond_timeout_np."
am: adc8d34137

* commit 'adc8d34137848e78e50a46724a3f8858c17eaf49':
  Remove declaration of pthread_cond_timeout_np.

Change-Id: Ic162efaf980dc9d09261bbb586201bd994fc755f

8 years agoMerge "Remove declaration of pthread_cond_timeout_np."
Elliott Hughes [Fri, 29 Apr 2016 15:11:59 +0000 (15:11 +0000)]
Merge "Remove declaration of pthread_cond_timeout_np."

8 years agoMerge "Update timezone data to 2016d" am: 216c3007ed
Neil Fuller [Fri, 29 Apr 2016 09:34:01 +0000 (09:34 +0000)]
Merge "Update timezone data to 2016d" am: 216c3007ed
am: fdedef9d98

* commit 'fdedef9d989db958c838b4f5fda36b5504cb343b':
  Update timezone data to 2016d

Change-Id: I911f6b7eebfd4a06392aacbb5553a5e1f865c53e

8 years agoMerge "Update timezone data to 2016c" am: 418bdafb82
Neil Fuller [Fri, 29 Apr 2016 09:33:18 +0000 (09:33 +0000)]
Merge "Update timezone data to 2016c" am: 418bdafb82
am: 09951a85f0  -s ours

* commit '09951a85f0d345ea733806e5aca4436758bd7bad':
  Update timezone data to 2016c

Change-Id: I8fcb5f07c964db121e731005cc0ce8a9b82236e3

8 years agoMerge "Update timezone data to 2016b" am: f1b38527ea
Neil Fuller [Fri, 29 Apr 2016 09:30:56 +0000 (09:30 +0000)]
Merge "Update timezone data to 2016b" am: f1b38527ea
am: 207b870a8a  -s ours

* commit '207b870a8a0e29f9700d4ded7375b71d3495af31':
  Update timezone data to 2016b

Change-Id: I01ce52414eeb4bf2c3bcef21d97bd39b10377a5b

8 years agoMerge "Update timezone data to 2016d"
Neil Fuller [Fri, 29 Apr 2016 09:21:20 +0000 (09:21 +0000)]
Merge "Update timezone data to 2016d"
am: 216c3007ed

* commit '216c3007ed6100f42e6c97bdaf0086f61320773b':
  Update timezone data to 2016d

Change-Id: I3c40e24b9ea5052fae92a72a8c7188c74a4f8bdc

8 years agoMerge "Update timezone data to 2016c"
Neil Fuller [Fri, 29 Apr 2016 09:21:20 +0000 (09:21 +0000)]
Merge "Update timezone data to 2016c"
am: 418bdafb82

* commit '418bdafb828eec075a34aeb3099f7f3910c509a3':
  Update timezone data to 2016c

Change-Id: I151476b16d6e252a783dca69541b4d6fdd6b0a77

8 years agoMerge "Update timezone data to 2016b"
Neil Fuller [Fri, 29 Apr 2016 09:21:20 +0000 (09:21 +0000)]
Merge "Update timezone data to 2016b"
am: f1b38527ea

* commit 'f1b38527ea3c0cff4caef398e971a3cca8d0526d':
  Update timezone data to 2016b

Change-Id: Id50732b229bd4ce3ce3bff8a76818dfe59924bd9

8 years agoMerge "Update timezone data to 2016d"
Neil Fuller [Fri, 29 Apr 2016 09:17:52 +0000 (09:17 +0000)]
Merge "Update timezone data to 2016d"

8 years agoMerge "Update timezone data to 2016c"
Neil Fuller [Fri, 29 Apr 2016 09:17:23 +0000 (09:17 +0000)]
Merge "Update timezone data to 2016c"

8 years agoMerge "Update timezone data to 2016b"
Neil Fuller [Fri, 29 Apr 2016 09:16:43 +0000 (09:16 +0000)]
Merge "Update timezone data to 2016b"

8 years agoMerge "Implement mblen(3)." am: bd8773d19d
Elliott Hughes [Fri, 29 Apr 2016 03:11:19 +0000 (03:11 +0000)]
Merge "Implement mblen(3)." am: bd8773d19d
am: aa92cc613e

* commit 'aa92cc613e51ca64cf09d3d43497a6ad46ff77c0':
  Implement mblen(3).

Change-Id: I8f9e2bcc091c70ec90859a86f042f279315713d5

8 years agoMerge "Implement mblen(3)."
Elliott Hughes [Fri, 29 Apr 2016 03:08:44 +0000 (03:08 +0000)]
Merge "Implement mblen(3)."
am: bd8773d19d

* commit 'bd8773d19d96cd8794f944ce5f93f4feb43e386b':
  Implement mblen(3).

Change-Id: I6e7af1a7950f046a72f1ab87c1d30e5f0c7a7f4e

8 years agoFix <wctype.h>.
Elliott Hughes [Fri, 29 Apr 2016 01:22:06 +0000 (18:22 -0700)]
Fix <wctype.h>.

* Fix the return type of towlower_l/towupper_l.
* Implement wctrans/wctrans_l/towctrans/towctrans_l.
* Move declarations that POSIX says are available from both <wchar.h> and
  <wctype.h> to <bits/wctype.h> and include from both POSIX headers.
* Write the missing tests.

Change-Id: I3221da5f3d7e8a2fb0a7619dc724de45f7b55398

8 years agoMerge "Implement mblen(3)."
Treehugger Robot [Fri, 29 Apr 2016 00:43:26 +0000 (00:43 +0000)]
Merge "Implement mblen(3)."

8 years agoImplement mblen(3).
Elliott Hughes [Thu, 28 Apr 2016 21:54:52 +0000 (14:54 -0700)]
Implement mblen(3).

Change-Id: I65948ea5b9ecd63f966ba767ad6db4a2effc4700

8 years agoresolve merge conflicts of 1337c35 to nyc-dev-plus-aosp
Vince Harron [Thu, 28 Apr 2016 20:34:10 +0000 (13:34 -0700)]
resolve merge conflicts of 1337c35 to nyc-dev-plus-aosp

Change-Id: I426de6277d3abbe3807cb144dd18ab53b91c9a0c

8 years agoMerge "Remove -fvisibility=hidden from dns code" am: 1519a90834
Dimitry Ivanov [Thu, 28 Apr 2016 20:02:28 +0000 (20:02 +0000)]
Merge "Remove -fvisibility=hidden from dns code" am: 1519a90834
am: b962d6ec47

* commit 'b962d6ec47e4b48f37ce86d7e664bd1d3d8ac9e5':
  Remove -fvisibility=hidden from dns code

Change-Id: Ifc27ab8610791d356095ddd10f75026ce4fee7c8

8 years agoMerge "Remove -fvisibility=hidden from dns code"
Dimitry Ivanov [Thu, 28 Apr 2016 20:00:13 +0000 (20:00 +0000)]
Merge "Remove -fvisibility=hidden from dns code"
am: 1519a90834

* commit '1519a90834b7902ac113aad4aca8633017df6ec5':
  Remove -fvisibility=hidden from dns code

Change-Id: Idfb3b08849c8348f9118175da7577f6bdbc1e280

8 years agoMerge "Remove -fvisibility=hidden from dns code"
Treehugger Robot [Thu, 28 Apr 2016 19:50:48 +0000 (19:50 +0000)]
Merge "Remove -fvisibility=hidden from dns code"

8 years agoRemove -fvisibility=hidden from dns code
Dimitry Ivanov [Thu, 28 Apr 2016 18:38:33 +0000 (11:38 -0700)]
Remove -fvisibility=hidden from dns code

We no longer need it because version script controls
list of symbols we export.

This also fixes mips/mips64 builds.

Bug: http://b/24767418
Change-Id: I61c504665fc0349275384596d375155991743e05

8 years agoMerge "[mips64] Call __memset_chk_fail correctly for mips64." am: 488f5fc
Treehugger Robot [Thu, 28 Apr 2016 17:43:39 +0000 (17:43 +0000)]
Merge "[mips64] Call __memset_chk_fail correctly for mips64." am: 488f5fc
am: 9adbc73

* commit '9adbc733b066b67c33425e5fadb4cc8ce25802e3':
  [mips64] Call __memset_chk_fail correctly for mips64.

Change-Id: I5075f78e9a83e7f5e09ff31801c2f228b8e1abd7

8 years agoMerge "[mips64] Call __memset_chk_fail correctly for mips64."
Predrag Blagojevic [Thu, 28 Apr 2016 17:28:56 +0000 (17:28 +0000)]
Merge "[mips64] Call __memset_chk_fail correctly for mips64."
am: 488f5fc

* commit '488f5fc6a4c737964142babc1770d09aa9e72bef':
  [mips64] Call __memset_chk_fail correctly for mips64.

Change-Id: I281cb30f98b83809edb0c035357930737cb356dc

8 years agoMerge "[mips64] Call __memset_chk_fail correctly for mips64."
Treehugger Robot [Thu, 28 Apr 2016 17:18:01 +0000 (17:18 +0000)]
Merge "[mips64] Call __memset_chk_fail correctly for mips64."

8 years agoRemove declaration of pthread_cond_timeout_np.
Elliott Hughes [Thu, 28 Apr 2016 17:07:21 +0000 (10:07 -0700)]
Remove declaration of pthread_cond_timeout_np.

Bug: http://b/27918161
Change-Id: I61b5710dc394c155bdb4577a750b96195033251e

8 years agoMerge "Add a test exercising ptrace watchpoint functionality" into nyc-dev
Vince Harron [Thu, 28 Apr 2016 17:03:42 +0000 (17:03 +0000)]
Merge "Add a test exercising ptrace watchpoint functionality" into nyc-dev

8 years ago[mips64] Call __memset_chk_fail correctly for mips64.
Predrag Blagojevic [Fri, 22 Apr 2016 11:01:19 +0000 (13:01 +0200)]
[mips64] Call __memset_chk_fail correctly for mips64.

This change resolves Fortify1_{gcc|clang}_DeathTest.* test failures.

Change-Id: Ia936c159323bdf8e9577160ee92b99e66e6793ea

8 years agoresolve merge conflicts of d227b61 to nyc-dev-plus-aosp
Dimitry Ivanov [Thu, 28 Apr 2016 05:21:31 +0000 (22:21 -0700)]
resolve merge conflicts of d227b61 to nyc-dev-plus-aosp

Change-Id: I27136bf06295898584ba6cac3a81bec9c9b70f05

8 years agoMerge "Add unwind information for r7 in arm syscalls." am: 671e6b2
Treehugger Robot [Thu, 28 Apr 2016 04:45:06 +0000 (04:45 +0000)]
Merge "Add unwind information for r7 in arm syscalls." am: 671e6b2
am: ca1c140

* commit 'ca1c1403ac39f75decf88cde6835a4df439688b0':
  Add unwind information for r7 in arm syscalls.

Change-Id: I3b2a55a1aaf1714a8fc7bf53686725a49ba7f483

8 years agoMerge "Add unwind information for r7 in arm syscalls."
Christopher Ferris [Thu, 28 Apr 2016 04:42:12 +0000 (04:42 +0000)]
Merge "Add unwind information for r7 in arm syscalls."
am: 671e6b2

* commit '671e6b20eabd0a1ab973f77dff272a00a4096ee7':
  Add unwind information for r7 in arm syscalls.

Change-Id: I631bcee15e12ab07b34b5e4ca78eb063d6a59cf8

8 years agoMerge "Add unwind information for r7 in arm syscalls."
Treehugger Robot [Thu, 28 Apr 2016 04:37:25 +0000 (04:37 +0000)]
Merge "Add unwind information for r7 in arm syscalls."

8 years agoMerge "Make malloc debug symbols platform-private" into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 03:53:53 +0000 (03:53 +0000)]
Merge "Make malloc debug symbols platform-private" into nyc-dev

8 years agoAdd unwind information for r7 in arm syscalls.
Christopher Ferris [Thu, 28 Apr 2016 01:31:02 +0000 (18:31 -0700)]
Add unwind information for r7 in arm syscalls.

It turns out that clang can emit code where the sp is saved in the r7
register on arm. Unfortunately, a lot of our syscalls overwrite that
value while the syscall is executing, so unwinding through that syscall
fails.

Update the syscall generation code to add unwinding information for
these uses.

Bug: 28411713
(cherry picked from commit 6e45d37decbbaf78ed4685213aebb1c9b5ccf8c2)

Change-Id: Ib775effc44c4113735fe9032b0602b9d63e3e390

8 years agoMerge "Add unwind information for r7 in arm syscalls." into nyc-dev
Christopher Ferris [Thu, 28 Apr 2016 03:03:27 +0000 (03:03 +0000)]
Merge "Add unwind information for r7 in arm syscalls." into nyc-dev
am: 75c7830

* commit '75c7830e2273942621a9ae590125732fbee28603':
  Add unwind information for r7 in arm syscalls.

Change-Id: Iafb23b860baf8c0632cc93989f6ddff3ade41c68

8 years agoMerge "Add unwind information for r7 in arm syscalls." into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 02:56:31 +0000 (02:56 +0000)]
Merge "Add unwind information for r7 in arm syscalls." into nyc-dev

8 years agoMerge "Make malloc debug symbols platform-private" am: b3c1ff6
Treehugger Robot [Thu, 28 Apr 2016 02:22:12 +0000 (02:22 +0000)]
Merge "Make malloc debug symbols platform-private" am: b3c1ff6
am: 513f4d1

* commit '513f4d108a98692be0285688fd04323da9b85ed6':
  Make malloc debug symbols platform-private

Change-Id: Iceecae3a0e18e123f8e1cc3e523e24ee8dd5141c

8 years agoMake malloc debug symbols platform-private
Dimitry Ivanov [Thu, 28 Apr 2016 01:16:16 +0000 (18:16 -0700)]
Make malloc debug symbols platform-private

Bug: http://b/28432442
Change-Id: I96b9cb8b57726b4e8d53069e72666cf107cdeba2
(cherry picked from commit 54548d8cf91ba2e891b2dd0d25ae5956c62ad3ef)

8 years agoMerge "Make malloc debug symbols platform-private"
Dimitry Ivanov [Thu, 28 Apr 2016 02:19:12 +0000 (02:19 +0000)]
Merge "Make malloc debug symbols platform-private"
am: b3c1ff6

* commit 'b3c1ff69d293d095c36371ecc21e0505c6156db7':
  Make malloc debug symbols platform-private

Change-Id: I1cd88ef24d817bd6f373ba2808d6e162a6237bd6

8 years agoMerge "Make malloc debug symbols platform-private"
Treehugger Robot [Thu, 28 Apr 2016 02:15:05 +0000 (02:15 +0000)]
Merge "Make malloc debug symbols platform-private"

8 years agoMerge changes from topic \'bionic_unavailable\' am: 0640b91
Josh Gao [Thu, 28 Apr 2016 01:55:55 +0000 (01:55 +0000)]
Merge changes from topic \'bionic_unavailable\' am: 0640b91
am: 4a3962a

* commit '4a3962add737b9da577d5e7898799c5468eeb820':
  Tag unavailable functions with macro.
  Delete declarations which don't exist.

Change-Id: I74312c5c7733d4f2ed566a53a10f3a3ae6790dda

8 years agoMerge changes from topic \'bionic_unavailable\'
Josh Gao [Thu, 28 Apr 2016 01:53:14 +0000 (01:53 +0000)]
Merge changes from topic \'bionic_unavailable\'
am: 0640b91

* commit '0640b911f33d9c5834cd4698f87c69cfaf75aa8f':
  Tag unavailable functions with macro.
  Delete declarations which don't exist.

Change-Id: I37c1402a45d60f494206720f4c10c8a6dca2a0bb

8 years agoMerge changes from topic 'bionic_unavailable'
Josh Gao [Thu, 28 Apr 2016 01:46:36 +0000 (01:46 +0000)]
Merge changes from topic 'bionic_unavailable'

* changes:
  Tag unavailable functions with macro.
  Delete declarations which don't exist.

8 years agoMerge "Add libvorbisidec.so to the grey-list" into nyc-dev
Dimitry Ivanov [Thu, 28 Apr 2016 01:44:28 +0000 (01:44 +0000)]
Merge "Add libvorbisidec.so to the grey-list" into nyc-dev
am: 8eff89e

* commit '8eff89e1e6fae70f4a99bfd474e6c86be67dc22a':
  Add libvorbisidec.so to the grey-list

Change-Id: I633b7f836566293323f59abec1af0b637522c0d7

8 years agoMerge "Add libvorbisidec.so to the grey-list" into nyc-dev
TreeHugger Robot [Thu, 28 Apr 2016 01:37:58 +0000 (01:37 +0000)]
Merge "Add libvorbisidec.so to the grey-list" into nyc-dev

8 years agoAdd unwind information for r7 in arm syscalls.
Christopher Ferris [Thu, 28 Apr 2016 01:31:02 +0000 (18:31 -0700)]
Add unwind information for r7 in arm syscalls.

It turns out that clang can emit code where the sp is saved in the r7
register on arm. Unfortunately, a lot of our syscalls overwrite that
value while the syscall is executing, so unwinding through that syscall
fails.

Update the syscall generation code to add unwinding information for
these uses.

Bug: 28411713
Change-Id: Id51a5d43c058631bb50834527f93fa299bbcf759

8 years agoMerge "Enable clang builds of mips/mips64 in bionic again." am: 234ea78
Stephen Hines [Thu, 28 Apr 2016 01:21:09 +0000 (01:21 +0000)]
Merge "Enable clang builds of mips/mips64 in bionic again." am: 234ea78
am: 263c444

* commit '263c44436e922bd0dec9a0756dccdb23ad3b79b7':
  Enable clang builds of mips/mips64 in bionic again.

Change-Id: I5763272ca9a2ca1c0d387448ef7e241a37137fc7

8 years agoMerge "Enable clang builds of mips/mips64 in bionic again."
Stephen Hines [Thu, 28 Apr 2016 01:18:19 +0000 (01:18 +0000)]
Merge "Enable clang builds of mips/mips64 in bionic again."
am: 234ea78

* commit '234ea787210051a114d849ff28dfca16b9408197':
  Enable clang builds of mips/mips64 in bionic again.

Change-Id: If86a39aeb6b1c483a1d5f26a9a6514df7c302f8d

8 years agoMake malloc debug symbols platform-private
Dimitry Ivanov [Thu, 28 Apr 2016 01:16:16 +0000 (18:16 -0700)]
Make malloc debug symbols platform-private

Bug: http://b/28432442
Change-Id: I96b9cb8b57726b4e8d53069e72666cf107cdeba2

8 years agoMerge "Enable clang builds of mips/mips64 in bionic again."
Stephen Hines [Thu, 28 Apr 2016 01:13:03 +0000 (01:13 +0000)]
Merge "Enable clang builds of mips/mips64 in bionic again."

8 years agoDO NOT MERGE Fix DNS search path info.
Pierre Imai [Thu, 28 Apr 2016 01:12:44 +0000 (01:12 +0000)]
DO NOT MERGE Fix DNS search path info.
am: 7574606

* commit '75746069ea649f84485343c300de13b62fce5e6f':
  DO NOT MERGE Fix DNS search path info.

Change-Id: I0c57506c35378fb9607f09db7dcc959bf47176a9

8 years agoAdd libvorbisidec.so to the grey-list
Dimitry Ivanov [Wed, 27 Apr 2016 23:55:45 +0000 (16:55 -0700)]
Add libvorbisidec.so to the grey-list

Bug: http://b/28403395
Change-Id: Ic718b1eea4616ca87b94eee211717c4475082cab

8 years agoTag unavailable functions with macro.
Josh Gao [Tue, 26 Apr 2016 21:42:55 +0000 (14:42 -0700)]
Tag unavailable functions with macro.

Add an __UNAVAILABLE macro, and use it for several functions which lack
implementations, but need to have visible declarations to be reexported
in the C++ standard library.

Bug: http://b/28178111
Change-Id: Ia4ae0207bbfcb7baa61821f0ef946257b019c0db

8 years agoDelete declarations which don't exist.
Josh Gao [Tue, 26 Apr 2016 00:04:10 +0000 (17:04 -0700)]
Delete declarations which don't exist.

Bug: http://b/28178111
Change-Id: I72d5d015d7927a8df24b3973bf8a052053a067fb

8 years agoEnable clang builds of mips/mips64 in bionic again.
Stephen Hines [Wed, 27 Apr 2016 00:54:56 +0000 (17:54 -0700)]
Enable clang builds of mips/mips64 in bionic again.

Bug: http://b/25291096

The latest clang-2812033 prebuilts have all the necessary cherry-picks
to fix the mips booting issues from the past.

Change-Id: Ib3b364daaa50ef55401e016b92419b64f02f03dc

8 years agoMerge "Fix DNS search path info." am: e1be20f
Pierre Imai [Wed, 27 Apr 2016 04:41:58 +0000 (04:41 +0000)]
Merge "Fix DNS search path info." am: e1be20f
am: 7337d79

* commit '7337d79dce4e604b07f2880188133ca235b19a39':
  Fix DNS search path info.

Change-Id: Ib13ab1a1edc8c6e554874683ccda7f7b9ee846b4

8 years agoDO NOT MERGE Fix DNS search path info.
Pierre Imai [Tue, 26 Apr 2016 13:08:40 +0000 (22:08 +0900)]
DO NOT MERGE Fix DNS search path info.

Fix the resolver information returned by
android_net_res_stats_get_info_for_net,
erroneously included MAXDNSRCH empty results if no search path was set.

BUG: 25731675
Change-Id: I97ef5d2d47dc62ca403a3323c7f14902e47b29b6
(cherry picked from commit 1b069a990ad783cd20327a35df59fcdc83e2e1e2)

8 years agoMerge "Fix DNS search path info."
Pierre Imai [Wed, 27 Apr 2016 04:37:51 +0000 (04:37 +0000)]
Merge "Fix DNS search path info."
am: e1be20f

* commit 'e1be20f648abffd115bb699d3b14bd07c7c1430b':
  Fix DNS search path info.

Change-Id: Ia0a16d7601559188ccbd54354674a47ffcdd2a1d

8 years agoMerge "Fix DNS search path info."
Pierre Imai [Wed, 27 Apr 2016 04:29:24 +0000 (04:29 +0000)]
Merge "Fix DNS search path info."

8 years agoFix DNS search path info.
Pierre Imai [Tue, 26 Apr 2016 13:08:40 +0000 (22:08 +0900)]
Fix DNS search path info.

Fix the resolver information returned by
android_net_res_stats_get_info_for_net,
erroneously included MAXDNSRCH empty results if no search path was set.

BUG: 25731675
Change-Id: I97ef5d2d47dc62ca403a3323c7f14902e47b29b6

8 years agoMerge "Make <sys/user.h> compile on AArch64." am: 92b23a0
Josh Gao [Tue, 26 Apr 2016 23:22:10 +0000 (23:22 +0000)]
Merge "Make <sys/user.h> compile on AArch64." am: 92b23a0
am: a3b109a

* commit 'a3b109af5d2f7c49fade20ca635b701bae85e02a':
  Make <sys/user.h> compile on AArch64.

Change-Id: Ibb53b2851cb990a4797b440be9354abb71e57c43

8 years agoMerge "Make <sys/user.h> compile on AArch64."
Josh Gao [Tue, 26 Apr 2016 23:18:51 +0000 (23:18 +0000)]
Merge "Make <sys/user.h> compile on AArch64."
am: 92b23a0

* commit '92b23a0fe369528d4e807fafc755d9b506d66f0a':
  Make <sys/user.h> compile on AArch64.

Change-Id: I1d97f1c72d4ebea1314eb7bfb7340900b9c6704e

8 years agoMerge "Make <sys/user.h> compile on AArch64."
Josh Gao [Tue, 26 Apr 2016 23:13:48 +0000 (23:13 +0000)]
Merge "Make <sys/user.h> compile on AArch64."

8 years agoAdd a test exercising ptrace watchpoint functionality
Pavel Labath [Thu, 21 Apr 2016 14:13:22 +0000 (15:13 +0100)]
Add a test exercising ptrace watchpoint functionality

This adds a test which verifies that watchpoints work on devices
which support them. It is motivated by issues experienced by Nexus
5 devices, where watchpoints work only sporadically.

These tests spawn a process, trace it, and verify it hits a
watchpoint of various sizes while executing on all available CPUs
(to help catch a recent bug, where some debugging functionality
was not available on non-boot CPUs). All x86(_64) targets are
expected to support this functionality. In case of arm(64),
watchpoints are expected to work on devices where the relevant
syscall indicates watchpoint presence. In case of mips, this test
is skipped as I could not verify that the test would work
correctly due to lack of hardware, and this test is intrinsically
hardware-dependend.

cherry picked from commit 1faca6c95bc3e2c9456b9dc5362915be2a188340

Bug: 28395519
Change-Id: Ie5cbb16b9eef51f322c02ed8dce712c21cad94cf

8 years agoMake <sys/user.h> compile on AArch64.
Josh Gao [Tue, 26 Apr 2016 00:04:56 +0000 (17:04 -0700)]
Make <sys/user.h> compile on AArch64.

Previously, AArch64 used uint64_t without including <stdint.h>.

Bug: http://b/28178111
Change-Id: I8a497765d835f32b456f7eb925a6760e523163c4

8 years agoMerge "bionic: Implement getpwent and getgrent" am: 23e29e3
Treehugger Robot [Fri, 22 Apr 2016 19:59:30 +0000 (19:59 +0000)]
Merge "bionic: Implement getpwent and getgrent" am: 23e29e3
am: 71ad15f

* commit '71ad15f1fba11650425b9df2cff1c3fc3689ddb7':
  bionic: Implement getpwent and getgrent

Change-Id: I312373e299aa5d45b4019aec0258bb26deeab022

8 years agoMerge "bionic: Implement getpwent and getgrent"
Mark Salyzyn [Fri, 22 Apr 2016 19:57:02 +0000 (19:57 +0000)]
Merge "bionic: Implement getpwent and getgrent"
am: 23e29e3

* commit '23e29e3be03d5226544774e2a64c924bae82e07b':
  bionic: Implement getpwent and getgrent

Change-Id: I34f9728e741d40cc91a78a6713e775ccce9953ba

8 years agoMerge "bionic: Implement getpwent and getgrent"
Treehugger Robot [Fri, 22 Apr 2016 19:48:05 +0000 (19:48 +0000)]
Merge "bionic: Implement getpwent and getgrent"

8 years agoMerge "Fix google-explicit-constructor warning." am: 30595a2
Chih-hung Hsieh [Fri, 22 Apr 2016 18:55:48 +0000 (18:55 +0000)]
Merge "Fix google-explicit-constructor warning." am: 30595a2
am: b4df05e

* commit 'b4df05e8d944cbdc94cc01c8db593da755de9a9f':
  Fix google-explicit-constructor warning.

Change-Id: I3a5528f30c9b7a7708d412c1320ee75ede866a69

8 years agoMerge "Fix google-explicit-constructor warning."
Chih-Hung Hsieh [Fri, 22 Apr 2016 18:53:22 +0000 (18:53 +0000)]
Merge "Fix google-explicit-constructor warning."
am: 30595a2

* commit '30595a2d83d53e27d8787a078e5c35dfb531a7d1':
  Fix google-explicit-constructor warning.

Change-Id: I183a8f0b6ca472d55b3f6826f26e2631a2448485

8 years agoMerge "Fix google-explicit-constructor warning."
Chih-hung Hsieh [Fri, 22 Apr 2016 18:37:53 +0000 (18:37 +0000)]
Merge "Fix google-explicit-constructor warning."

8 years agobionic: Implement getpwent and getgrent
Mark Salyzyn [Wed, 6 Apr 2016 17:35:48 +0000 (10:35 -0700)]
bionic: Implement getpwent and getgrent

Not efficient to iterate through given the large number of Android
ids (AID). Compile warning will result if you use these functions,
telling you as much. Not for general consumption, however for
example, some filesystem tests would like to see these to perform
all corners.

About 1/4 second for getpwent, and 1/8 second for getgrent to iterate
through all reserved Android aids.

Bug: 27999086
Change-Id: I7784273b7875c38e4954ae21d314f35e4bf8c2fc

8 years agoFix google-explicit-constructor warning.
Chih-Hung Hsieh [Fri, 22 Apr 2016 17:25:10 +0000 (10:25 -0700)]
Fix google-explicit-constructor warning.

Bug: 28341362
Change-Id: I85d2f83a3ca35699cfab54e725a64aaf3013c8f1

8 years agoMerge "Improve error message for empty list of public libs" am: 130bec7103
Dimitry Ivanov [Fri, 22 Apr 2016 15:10:42 +0000 (15:10 +0000)]
Merge "Improve error message for empty list of public libs" am: 130bec7103
am: 71f1109b3b

* commit '71f1109b3b58f082beeb7a79eed03fcd6eb140c6':
  Improve error message for empty list of public libs

Change-Id: I017c46fc6da25d803b899117d2459fd58032eaa2

8 years agoMerge "Improve error message for empty list of public libs"
Dimitry Ivanov [Fri, 22 Apr 2016 15:07:56 +0000 (15:07 +0000)]
Merge "Improve error message for empty list of public libs"
am: 130bec7103

* commit '130bec7103561fc3657e8a431ca55026430b843e':
  Improve error message for empty list of public libs

Change-Id: I50182831c3199bf32578e9a89f9607de4adf2e94

8 years agoMerge "Improve error message for empty list of public libs"
Dimitry Ivanov [Fri, 22 Apr 2016 14:30:24 +0000 (14:30 +0000)]
Merge "Improve error message for empty list of public libs"

8 years agoUpdate timezone data to 2016d
Neil Fuller [Fri, 22 Apr 2016 13:11:36 +0000 (13:11 +0000)]
Update timezone data to 2016d
am: f3158b94ab

* commit 'f3158b94ab102b0f1066990683f08d283417cbba':
  Update timezone data to 2016d

Change-Id: Iea25bd95a8762444b5981c3f015d613375a4ab81

8 years agoUpdate timezone data to 2016d
Neil Fuller [Thu, 21 Apr 2016 14:06:48 +0000 (15:06 +0100)]
Update timezone data to 2016d

Changes affecting future time stamps

    America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
    (Thanks to Alexander Krivenyshev for the heads-up.)

    Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
    (Thanks to Alexander Krivenyshev and Matt Johnson.)

    New zone Asia/Tomsk, split off from Asia/Novosibirsk. It covers
    Tomsk Oblast, Russia, which switches from +06 to +07 on 2016-05-29
    at 02:00.  (Thanks to Stepan Golosunov.)

  Changes affecting past time stamps

    New zone Europe/Kirov, split off from Europe/Volgograd.  It covers
    Kirov Oblast, Russia, which switched from +04/+05 to +03/+04 on
    1989-03-26 at 02:00, roughly a year after Europe/Volgograd made
    the same change.  (Thanks to Stepan Golosunov.)

    Russia and nearby locations had daylight-saving transitions on
    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
    1992-03-28 at 23:00 and 1992-09-26 at 23:00.  (Thanks to Stepan
    Golosunov.)

    Many corrections to historical time in Kazakhstan from 1991
    through 2005.  (Thanks to Stepan Golosunov.)  Replace Kazakhstan's
    invented time zone abbreviations with numeric abbreviations.

Bug: 28240832
(cherry picked from commit f3158b94ab102b0f1066990683f08d283417cbba)

Change-Id: If3b7189b4c60d8dfd0859b6e009461324a6a5bb2

8 years agoUpdate timezone data to 2016c
Neil Fuller [Fri, 15 Apr 2016 13:58:08 +0000 (14:58 +0100)]
Update timezone data to 2016c

 Changes affecting future time stamps

    Azerbaijan no longer observes DST.  (Thanks to Steffen Thorsen.)

    Chile reverts from permanent to seasonal DST.  (Thanks to Juan
    Correa for the heads-up, and to Tim Parenti for corrections.)
    Guess that future transitions are August's and May's second
    Saturdays at 24:00 mainland time.  Also, call the period from
    2014-09-07 through 2016-05-14 daylight saving time instead of
    standard time, as that seems more appropriate now.

  Changes affecting past time stamps

    Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to
    +02/+03 on 1989-03-26, not 1991-03-31.  Europe/Volgograd changed
    from +04/+05 to +03/+04 on 1988-03-27, not 1989-03-26.
    (Thanks to Stepan Golosunov.)

Bug: 27826144
(cherry picked from commit 28a63edc6874c0c6871f649b728610deefcc33db)

Change-Id: I81d3c858eaae1329d16663df14c18ca3623f7cf8

8 years agoUpdate timezone data to 2016b
Neil Fuller [Tue, 22 Mar 2016 11:30:36 +0000 (11:30 +0000)]
Update timezone data to 2016b

  Changes affecting future time stamps

    New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
    Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on
    2016-03-27 at 02:00 local time.  They need distinct zones since their
    post-1970 histories disagree.  New zone Asia/Barnaul for Altai Krai and
    Altai Republic, Russia, which will switch from +06 to +07 on the same date
    and local time.  Also, Asia/Sakhalin moves from +10 to +11 on 2016-03-27
    at 02:00.  (Thanks to Alexander Krivenyshev for the heads-up, and to
    Matt Johnson and Stepan Golosunov for followup.)

    As a trial of a new system that needs less information to be made up,
    the new zones use numeric time zone abbreviations like "+04"
    instead of invented abbreviations like "ASTT".

    Haiti will not observe DST in 2016.  (Thanks to Jean Antoine via
    Steffen Thorsen.)

    Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00.
    (Thanks to Hannah Kreitem.) Guess future transitions will be March's last
    Saturday at 01:00, not March's last Friday at 24:00.

  Changes affecting past time stamps

    Europe/Chisinau observed DST during 1990, and switched from +04 to
    +03 at 1990-05-06 02:00, instead of switching from +03 to +02.
    (Thanks to Stepan Golosunov.)

    1991 abbreviations in Europe/Samara should be SAMT/SAMST, not
    KUYT/KUYST.  (Thanks to Stepan Golosunov.)

The update produced (apparently benign) warnings from zic as suggested here:
http://mm.icann.org/pipermail/tz-announce/2016-March/000036.html

Bug: 27656428
(cherry picked from commit 4fc72e0230732af038c5f43634b8efb84b010af2)

Change-Id: I3492fcacf2771d6cc194e4ff155a04c3817ae336

8 years agoMerge "Add a test exercising ptrace watchpoint functionality" am: 42df585166
Pavel Labath [Fri, 22 Apr 2016 09:59:50 +0000 (09:59 +0000)]
Merge "Add a test exercising ptrace watchpoint functionality" am: 42df585166
am: bce3d10b45

* commit 'bce3d10b459c96904b71c4019afbbf888c8b3f2b':
  Add a test exercising ptrace watchpoint functionality

Change-Id: I613174524548ffbef472b59ece49b8c6cfdf1d68

8 years agoMerge "Add a test exercising ptrace watchpoint functionality"
Pavel Labath [Fri, 22 Apr 2016 09:57:32 +0000 (09:57 +0000)]
Merge "Add a test exercising ptrace watchpoint functionality"
am: 42df585166

* commit '42df5851667312ebf0a947e3fd03953fce108828':
  Add a test exercising ptrace watchpoint functionality

Change-Id: I900f489bfd76a6bec361059e98e94256833249fb

8 years agoMerge "Add a test exercising ptrace watchpoint functionality"
Treehugger Robot [Fri, 22 Apr 2016 09:30:51 +0000 (09:30 +0000)]
Merge "Add a test exercising ptrace watchpoint functionality"

8 years agoAdd a test exercising ptrace watchpoint functionality
Pavel Labath [Thu, 21 Apr 2016 14:13:22 +0000 (15:13 +0100)]
Add a test exercising ptrace watchpoint functionality

This adds a test which verifies that watchpoints work on devices
which support them. It is motivated by issues experienced by Nexus
5 devices, where watchpoints work only sporadically.

These tests spawn a process, trace it, and verify it hits a
watchpoint of various sizes while executing on all available CPUs
(to help catch a recent bug, where some debugging functionality
was not available on non-boot CPUs). All x86(_64) targets are
expected to support this functionality. In case of arm(64),
watchpoints are expected to work on devices where the relevant
syscall indicates watchpoint presence. In case of mips, this test
is skipped as I could not verify that the test would work
correctly due to lack of hardware, and this test is intrinsically
hardware-dependend.

Change-Id: I035ac1822816cd1a3f3b56b985c2fb5fd664185d

8 years agoImprove error message for empty list of public libs
Dimitry Ivanov [Thu, 21 Apr 2016 21:57:38 +0000 (14:57 -0700)]
Improve error message for empty list of public libs

Change-Id: I5a3cbc99d34e05559426b521a964d1407b67a6c4

8 years agoUpdate timezone data to 2016d
Neil Fuller [Thu, 21 Apr 2016 14:06:48 +0000 (15:06 +0100)]
Update timezone data to 2016d

Changes affecting future time stamps

    America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
    (Thanks to Alexander Krivenyshev for the heads-up.)

    Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
    (Thanks to Alexander Krivenyshev and Matt Johnson.)

    New zone Asia/Tomsk, split off from Asia/Novosibirsk. It covers
    Tomsk Oblast, Russia, which switches from +06 to +07 on 2016-05-29
    at 02:00.  (Thanks to Stepan Golosunov.)

  Changes affecting past time stamps

    New zone Europe/Kirov, split off from Europe/Volgograd.  It covers
    Kirov Oblast, Russia, which switched from +04/+05 to +03/+04 on
    1989-03-26 at 02:00, roughly a year after Europe/Volgograd made
    the same change.  (Thanks to Stepan Golosunov.)

    Russia and nearby locations had daylight-saving transitions on
    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
    1992-03-28 at 23:00 and 1992-09-26 at 23:00.  (Thanks to Stepan
    Golosunov.)

    Many corrections to historical time in Kazakhstan from 1991
    through 2005.  (Thanks to Stepan Golosunov.)  Replace Kazakhstan's
    invented time zone abbreviations with numeric abbreviations.

Bug: 28240832
Change-Id: If11e29f064f074f8b5812d397996322d007ab1d2

8 years agoDO NOT MERGE Add new info functions to resolver for use by Netd.
Pierre Imai [Thu, 21 Apr 2016 07:05:57 +0000 (07:05 +0000)]
DO NOT MERGE Add new info functions to resolver for use by Netd.
am: 21bf063727  -s ours

* commit '21bf06372742b0524c358502eb692a2245d64dda':
  DO NOT MERGE Add new info functions to resolver for use by Netd.

Change-Id: Icfbf7659c99d45fdcffa9e096a605b8eed23515c

8 years agoDO NOT MERGE Store DNS server count in resolv_cache.
Pierre Imai [Thu, 21 Apr 2016 06:50:43 +0000 (06:50 +0000)]
DO NOT MERGE Store DNS server count in resolv_cache.
am: 589afca92c  -s ours

* commit '589afca92c2fa026f908ec2c54c0450c438c602c':
  DO NOT MERGE Store DNS server count in resolv_cache.

Change-Id: I1a640092bbadab367a2b413944336b32c2fc511e