Josh Gao
c433a36fb5
Merge "Move malloc dispatch table to __libc_globals."
2015-10-14 23:47:41 +00:00
Elliott Hughes
9a9572d577
Sync with upstream NetBSD lib/libc/regex.
...
Bug: http://b/22850181
(cherry picked from commit 71927a82379f7a72559ea96e6678d6215090937f)
Change-Id: I4a914f0594a66f38efb3026b7ba9d28a4887cb2d
2015-10-14 16:30:08 -07:00
Dmitriy Ivanov
cf92738fa5
Ensure that readlink has access to /proc/self/fd
...
/proc/self/fd is not available when PR_DUMPABLE is set to 0
which is default for the user builds. It leads to permission
denials on readlink.
This change fixes the problem by setting PR_DUMPABLE flag to 1
for readlink and restoring it's previous value after the call.
Bug: http://b/24912743
Change-Id: I3fd179c5c6b56af96d6a15ee597024ccb15e1a13
2015-10-14 11:15:45 -07:00
Neil Fuller
cd9278798a
Update timezone data to 2015g
...
Changes affecting future time stamps
Turkey's 2015 fall-back transition is scheduled for Nov. 8, not Oct. 25.
(Thanks to Fatih.)
Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time.
(Thanks to Alexander Krivenyshev.)
Fiji's 2016 fall-back transition is scheduled for January 17, not 24.
(Thanks to Ken Rylander.)
Fort Nelson, British Columbia will not fall back on 2015-11-01. It has
effectively been on MST (-0700) since it advanced its clocks on 2015-03-08.
New zone America/Fort_Nelson. (Thanks to Matt Johnson.)
Changes affecting past time stamps
Norfolk observed DST from 1974-10-27 02:00 to 1975-03-02 02:00.
Bug: 24595281
(cherry-picked from commit 31740bfdb942399235e42ea920b6b717dfa0279c)
Change-Id: I6a57fbdaf12a4b4ebf2a760fd3bd872055621106
2015-10-14 08:54:17 +00:00
Josh Gao
87bb58064d
am 36ebee4f: am 198d13e8: Merge "make mmap fail on requests larger than PTRDIFF_MAX"
...
* commit '36ebee4f495b0c49ed686221dfe127f4ccd12b52':
make mmap fail on requests larger than PTRDIFF_MAX
2015-10-14 02:27:42 +00:00
Josh Gao
36ebee4f49
am 198d13e8: Merge "make mmap fail on requests larger than PTRDIFF_MAX"
...
* commit '198d13e8c25e69f7dbda3f5e1a3258b13fe8db5d':
make mmap fail on requests larger than PTRDIFF_MAX
2015-10-14 02:21:04 +00:00
Josh Gao
198d13e8c2
Merge "make mmap fail on requests larger than PTRDIFF_MAX"
2015-10-14 02:17:10 +00:00
Dimitry Ivanov
b8ab96910f
am 090278d6: am 11c2179d: Merge "Log dlopen failures caused by text relocations"
...
* commit '090278d6c6e3501836c70ce555996511b96a38d9':
Log dlopen failures caused by text relocations
2015-10-13 23:01:36 +00:00
Dimitry Ivanov
090278d6c6
am 11c2179d: Merge "Log dlopen failures caused by text relocations"
...
* commit '11c2179d468bba3336c3a3e8418ddaa98f58afce':
Log dlopen failures caused by text relocations
2015-10-13 22:53:03 +00:00
Dimitry Ivanov
11c2179d46
Merge "Log dlopen failures caused by text relocations"
2015-10-13 22:50:05 +00:00
Dmitriy Ivanov
fae39d2bf9
Log dlopen failures caused by text relocations
...
Some apps will fail to load native libraries with
text relocations when switching target sdk version to M.
It could be hard to diagnose because some of them
suppress dlerror and/or UnsatisfiedLinkError.
This change unconditionally logs the error message making
the cause of the failure more visible to developers.
Bug: http://b/24876001
Change-Id: I0477a0d1307d0879000f3a3a43b974b4cf34bdb2
(cherry picked from commit f32b689d3dbe7a1317bce58d1d9bef9bba173c66)
2015-10-13 15:48:57 -07:00
Dmitriy Ivanov
1002265d0a
resolved conflicts for f32b689d to mnc-dr-dev-plus-aosp
...
Change-Id: I95f90eb68dcb4b3f4b3d80260b2285c78692b535
2015-10-13 14:59:20 -07:00
Dimitry Ivanov
7197c2909d
am 5db60c04: am 30cd7065: Merge "Correctly resolve realpath for absolute paths"
...
* commit '5db60c04c68ed5f0d9ef9bc0e8c2a84062287b8d':
Correctly resolve realpath for absolute paths
2015-10-13 20:51:11 +00:00
Dimitry Ivanov
5db60c04c6
am 30cd7065: Merge "Correctly resolve realpath for absolute paths"
...
* commit '30cd7065b6cd37342e23904cb512c409b8bbd4f1':
Correctly resolve realpath for absolute paths
2015-10-13 20:43:36 +00:00
Dimitry Ivanov
30cd7065b6
Merge "Correctly resolve realpath for absolute paths"
2015-10-13 20:37:55 +00:00
Dmitriy Ivanov
5dce8948b6
Replace auto -> const auto&/auto&&
...
Change-Id: Ie484e5a296b5dd222a9545d8539d40d97a6c158c
2015-10-13 12:14:16 -07:00
Dmitriy Ivanov
f32b689d3d
Log dlopen failures caused by text relocations
...
Some apps will fail to load native libraries with
text relocations when switching target sdk version to M.
It could be hard to diagnose because some of them
suppress dlerror and/or UnsatisfiedLinkError.
This change unconditionally logs the error message making
the cause of the failure more visible to developers.
Bug: http://b/24876001
Change-Id: I0477a0d1307d0879000f3a3a43b974b4cf34bdb2
2015-10-13 11:13:19 -07:00
Lazar Trsic
6f2d3104c8
Correctly resolve realpath for absolute paths
...
Introduced by: https://android-review.googlesource.com/174475
Change-Id: I44e00040b28be167d5141454f919340afec6084e
2015-10-13 10:57:41 -07:00
Neil Fuller
1cdd99bcb9
am 12b4f21e: am fb7f45b6: Merge "Update timezone data to 2015g"
...
* commit '12b4f21e1969b0eceeedb52b2ff0f77a1f791908':
Update timezone data to 2015g
2015-10-13 09:24:08 +00:00
Neil Fuller
12b4f21e19
am fb7f45b6: Merge "Update timezone data to 2015g"
...
* commit 'fb7f45b6a3242c9a9a547705de08cf59e6b7f935':
Update timezone data to 2015g
2015-10-13 09:14:17 +00:00
Neil Fuller
fb7f45b6a3
Merge "Update timezone data to 2015g"
2015-10-13 08:26:44 +00:00
Dimitry Ivanov
433cdaa85f
am 5a805d91: am a5ad727e: Merge "linker: Switch to clang"
...
* commit '5a805d919c0a531c0e8bbae746d192db218d625d':
linker: Switch to clang
2015-10-13 01:46:10 +00:00
Dimitry Ivanov
5a805d919c
am a5ad727e: Merge "linker: Switch to clang"
...
* commit 'a5ad727e7619f4497792d67ae05b8ef15315b362':
linker: Switch to clang
2015-10-13 01:40:49 +00:00
Dimitry Ivanov
a5ad727e76
Merge "linker: Switch to clang"
2015-10-13 01:34:59 +00:00
Dmitriy Ivanov
b28ffc7744
linker: Switch to clang
...
x86_64 gcc exports malloc/free and co functions because they
are defined with visibility "default" somewhere in gcc builtins;
and vector d-tors for some reason. Switching to clang fixes
this problem.
Bug: http://b/24785482
Change-Id: I741503b4b446523e7ff3fb16de13ed99991fd0c0
2015-10-12 18:20:26 -07:00
Josh Gao
3c8fc2fea9
Move malloc dispatch table to __libc_globals.
...
Change-Id: Ic20b980d1e8b6c2d4b773ebe336658fd17c737cb
2015-10-12 17:54:58 -07:00
Elliott Hughes
fb8fd5076e
Opt Brillo out of the ndk cruft.
...
Bug: http://b/24812426
Change-Id: I6a858d8ceebce9e2285e5b12de9fd89d2b42b352
2015-10-12 17:53:48 -07:00
Dmitriy Ivanov
78f1871f4e
resolved conflicts for a828a2f8 to mnc-dr-dev-plus-aosp
...
Change-Id: Ibe8c145eaadcd1fa9229d8a6eda1e33c0e59fb12
2015-10-12 15:02:28 -07:00
Elliott Hughes
452ab8f7e3
am 25cba7df: Merge "Make struct FILE opaque."
...
* commit '25cba7df5120a32b144769843781442031fc597b':
Make struct FILE opaque.
2015-10-12 20:40:41 +00:00
Elliott Hughes
25cba7df51
Merge "Make struct FILE opaque."
2015-10-12 20:33:04 +00:00
Elliott Hughes
f0141dfab1
Make struct FILE opaque.
...
Bug: http://b/24807045
Change-Id: I3cb4e436325a65bef3b203e3970e4d967101fcce
2015-10-12 12:53:42 -07:00
Elliott Hughes
7c585f2b01
am e7839263: Merge "Fix stdio read after EOF behavior."
...
* commit 'e78392637d5086384a5631ddfdfa8d7ec8326ee3':
Fix stdio read after EOF behavior.
2015-10-12 15:23:48 +00:00
Elliott Hughes
e78392637d
Merge "Fix stdio read after EOF behavior."
2015-10-12 15:20:29 +00:00
Elliott Hughes
8ab433df13
Fix stdio read after EOF behavior.
...
Bug: https://code.google.com/p/android/issues/detail?id=184847
Change-Id: Ia20ce94007c2a09649f0763b1dc7ba959f2f618d
2015-10-09 17:57:26 -07:00
Elliott Hughes
d8c03b774e
am 1ab3f303: Merge "Fix inet_aton on LP32."
...
* commit '1ab3f303d2e7c8cc498a28fc3c8d9ded1fc46994':
Fix inet_aton on LP32.
2015-10-10 00:44:51 +00:00
Elliott Hughes
1ab3f303d2
Merge "Fix inet_aton on LP32."
2015-10-10 00:39:11 +00:00
Elliott Hughes
7b77cb35af
Fix inet_aton on LP32.
...
I wasn't checking for overflow. Luckily, I had a test that overflows on LP32.
Change-Id: If2cf33d88f459eb26d0ce75f3c5ed192f516ab7a
2015-10-09 17:36:05 -07:00
Mike Frysinger
132b9c90fc
am c6f704bf: Merge "utmp.h: add more ut_type defines"
...
* commit 'c6f704bf77576b2cf27decd8ee50c99aeeb9e209':
utmp.h: add more ut_type defines
2015-10-09 23:37:18 +00:00
Mike Frysinger
c6f704bf77
Merge "utmp.h: add more ut_type defines"
2015-10-09 23:33:37 +00:00
Josh Gao
ac47790ad8
am 902ab885: Merge "Move setjmp cookie to a shared globals struct."
...
* commit '902ab8859f360d81d6bd03a76a77900743018a15':
Move setjmp cookie to a shared globals struct.
2015-10-09 23:33:32 +00:00
Josh Gao
dc9ff1b80b
am 73a91218: Merge "Move VDSO pointers to a shared globals struct."
...
* commit '73a91218d1f0b334b97648461b19eed96e6c4336':
Move VDSO pointers to a shared globals struct.
2015-10-09 23:33:30 +00:00
Josh Gao
902ab8859f
Merge "Move setjmp cookie to a shared globals struct."
2015-10-09 23:27:07 +00:00
Josh Gao
73a91218d1
Merge "Move VDSO pointers to a shared globals struct."
2015-10-09 23:26:53 +00:00
Josh Gao
fe9d0ed6cb
Move setjmp cookie to a shared globals struct.
...
Change-Id: I59a4c187d61524c4e48655c4c6376dba0d41eee2
2015-10-09 15:59:04 -07:00
Josh Gao
93c0f5ee00
Move VDSO pointers to a shared globals struct.
...
Change-Id: I01cbc9cf0917dc1fac52d9205bda2c68529d12ef
2015-10-09 15:59:04 -07:00
Elliott Hughes
8733118fa5
am 487a1823: Merge "Fix inet_addr/inet_aton/inet_network."
...
* commit '487a1823e8617011009eded8eae9a75c1f871887':
Fix inet_addr/inet_aton/inet_network.
2015-10-09 22:53:45 +00:00
Mike Frysinger
68af0adeb9
utmp.h: add more ut_type defines
...
This fills out the defines that utmp.h normally offers on other systems
such as glibc.
BUG=24810744
Change-Id: If57f9ced22e8673f072245fce3f5c0f8e1f591e5
2015-10-09 18:52:49 -04:00
Elliott Hughes
487a1823e8
Merge "Fix inet_addr/inet_aton/inet_network."
2015-10-09 22:48:13 +00:00
Elliott Hughes
047866672c
Fix inet_addr/inet_aton/inet_network.
...
Rewrite inet_addr and inet_network in terms of inet_aton, and reimplement
that to include all the missing error checks.
Bug: http://b/24754503
Change-Id: I5dfa971c87201968985a0894df419f0fbf54768a
2015-10-09 15:44:24 -07:00
Elliott Hughes
c1d7d92201
am f41fe717: Merge "Sync with upstream tzcode (2015g)."
...
* commit 'f41fe717655f01affc1d8244ff9efccc04d86620':
Sync with upstream tzcode (2015g).
2015-10-09 22:42:25 +00:00