OSDN Git Service
Elliott Hughes [Tue, 26 Jan 2016 23:17:30 +0000 (23:17 +0000)]
Merge "Fix lockf for LP32." am:
a449fafc89
am:
44c4b858ec
* commit '
44c4b858ec3892243cc085faf8a96b44bb8a5a9c':
Fix lockf for LP32.
Dimitry Ivanov [Tue, 26 Jan 2016 23:17:25 +0000 (23:17 +0000)]
Merge "Move android_ network functions to LIBC_PRIVATE" am:
3a33b52981
am:
d580a8b150
* commit '
d580a8b1505be000c748a380cae9ef4a510a3823':
Move android_ network functions to LIBC_PRIVATE
Elliott Hughes [Tue, 26 Jan 2016 23:13:07 +0000 (23:13 +0000)]
Merge "Fix lockf for LP32."
am:
a449fafc89
* commit '
a449fafc894c47305b49087d995e821e878e59c1':
Fix lockf for LP32.
Dimitry Ivanov [Tue, 26 Jan 2016 23:13:02 +0000 (23:13 +0000)]
Merge "Move android_ network functions to LIBC_PRIVATE"
am:
3a33b52981
* commit '
3a33b5298101e959c83ea60003618d3052d0adfe':
Move android_ network functions to LIBC_PRIVATE
Elliott Hughes [Tue, 26 Jan 2016 22:56:36 +0000 (22:56 +0000)]
Merge "Fix lockf for LP32."
Dimitry Ivanov [Tue, 26 Jan 2016 22:47:56 +0000 (22:47 +0000)]
Merge "Move android_ network functions to LIBC_PRIVATE"
Dimitry Ivanov [Tue, 26 Jan 2016 22:07:32 +0000 (14:07 -0800)]
Move android_ network functions to LIBC_PRIVATE
Make following functions platform-private:
android_getaddrinfofornet
android_getaddrinfofornetcontext
android_gethostbyaddrfornet
android_gethostbynamefornet
Bug: http://b/
26794226
Change-Id: I0855b0b82721e4d24e918508931b4d5587fcae7d
Elliott Hughes [Tue, 26 Jan 2016 22:32:55 +0000 (14:32 -0800)]
Fix lockf for LP32.
Bug: http://b/
13077650
Change-Id: Ibbe2d907d23791c908475e0875a5c745ac948813
Elliott Hughes [Tue, 26 Jan 2016 21:55:42 +0000 (21:55 +0000)]
Merge "Factor out the waiting for children in bionic tests." am:
ced73ee45e
am:
644f9d1ea9
* commit '
644f9d1ea9af956082046393b0e5fc502d2c2dd3':
Factor out the waiting for children in bionic tests.
Elliott Hughes [Tue, 26 Jan 2016 21:55:38 +0000 (21:55 +0000)]
Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." am:
94bb0fab93
am:
1500a65adb
* commit '
1500a65adbd7cd18c7bb6d0282947cd44dc76ef6':
Support _FILE_OFFSET_BITS=64 for most of <stdio.h>.
Elliott Hughes [Tue, 26 Jan 2016 21:55:33 +0000 (21:55 +0000)]
Merge "Implement POSIX lockf." am:
d9bb708575
am:
7397cc04f0
* commit '
7397cc04f0f2291ff893c69c9cf6debcfdb466ea':
Implement POSIX lockf.
Elliott Hughes [Tue, 26 Jan 2016 21:35:13 +0000 (21:35 +0000)]
Merge "Factor out the waiting for children in bionic tests."
am:
ced73ee45e
* commit '
ced73ee45e04a991ce1295a38364568a17884eed':
Factor out the waiting for children in bionic tests.
Elliott Hughes [Tue, 26 Jan 2016 21:32:13 +0000 (21:32 +0000)]
Merge "Factor out the waiting for children in bionic tests."
Elliott Hughes [Tue, 26 Jan 2016 21:04:57 +0000 (13:04 -0800)]
Factor out the waiting for children in bionic tests.
Change-Id: I4a1e51b6920b33dc892d447f5bd6d10f1cb2704a
Elliott Hughes [Tue, 26 Jan 2016 20:56:44 +0000 (20:56 +0000)]
Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>."
am:
94bb0fab93
* commit '
94bb0fab931102f1fcf393aa507a6b77b741844f':
Support _FILE_OFFSET_BITS=64 for most of <stdio.h>.
Elliott Hughes [Tue, 26 Jan 2016 20:51:59 +0000 (20:51 +0000)]
Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>."
Elliott Hughes [Tue, 26 Jan 2016 20:50:39 +0000 (20:50 +0000)]
Merge "Implement POSIX lockf."
am:
d9bb708575
* commit '
d9bb70857577808c197030e7f5422ee1f976f3ac':
Implement POSIX lockf.
Elliott Hughes [Tue, 26 Jan 2016 20:45:32 +0000 (20:45 +0000)]
Merge "Implement POSIX lockf."
Elliott Hughes [Tue, 26 Jan 2016 02:06:24 +0000 (18:06 -0800)]
Implement POSIX lockf.
This has been requested a few times over the years. This is basically
a very late rebase of https://android-review.googlesource.com/45470
which was abandoned years ago. One addition is that this version has
_FILE_OFFSET_BITS=64 support.
POSIX puts this in <unistd.h>. glibc also has it in <fcntl.h>.
Bug: http://b/
13077650
Change-Id: I5862b1dc326e326c01ad92438ecc1578d19ba739
Elliott Hughes [Mon, 25 Jan 2016 23:50:59 +0000 (15:50 -0800)]
Support _FILE_OFFSET_BITS=64 for most of <stdio.h>.
This doesn't address funopen, but does add fgetpos/fsetpos/fseeko/ftello.
Bug: http://b/
24807045
Change-Id: Ibff6f00df5fb699c8e8f13b91a75caf024540b73
Yabin Cui [Tue, 26 Jan 2016 02:26:11 +0000 (02:26 +0000)]
Merge "Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23.""" am:
e1497902c1
am:
83045d3b41
* commit '
83045d3b417a58453448d261a0cd27fc1d6987ef':
Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23.""
Yabin Cui [Tue, 26 Jan 2016 02:24:21 +0000 (02:24 +0000)]
Merge "Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23."""
am:
e1497902c1
* commit '
e1497902c13ceafa88ae4af634de33c9b4e0ed0b':
Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23.""
Yabin Cui [Tue, 26 Jan 2016 02:20:24 +0000 (02:20 +0000)]
Merge "Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23."""
Christopher Ferris [Tue, 26 Jan 2016 01:40:53 +0000 (01:40 +0000)]
Merge "Fix gcc test issues." am:
126cf324a3
am:
613bc05ba6
* commit '
613bc05ba6213a51f9f6570fac650c4eae07bbc1':
Fix gcc test issues.
Yabin Cui [Tue, 26 Jan 2016 01:38:44 +0000 (17:38 -0800)]
Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23.""
This reverts commit
6d5108520225fd2c4b10ca63565545ec120aab4a.
And add missing bionic_sdk_version.h.
Change-Id: I24cc738b1fd1d26234c52afbc787f5b3c4a9c9cb
Christopher Ferris [Tue, 26 Jan 2016 01:38:25 +0000 (01:38 +0000)]
Merge "Fix gcc test issues."
am:
126cf324a3
* commit '
126cf324a39689e0c16cf815d0fb01f2bc18df05':
Fix gcc test issues.
Christopher Ferris [Tue, 26 Jan 2016 01:35:03 +0000 (01:35 +0000)]
Merge "Fix gcc test issues."
Christopher Ferris [Tue, 26 Jan 2016 01:23:38 +0000 (17:23 -0800)]
Fix gcc test issues.
Change-Id: I2b26b779f5198c7c9362a452b971260a8852aa7b
Elliott Hughes [Tue, 26 Jan 2016 00:38:52 +0000 (00:38 +0000)]
Merge "Revert "Make sem_wait able to return errno EINTR for sdk > 23."" am:
ac67b4eb7c
am:
85ad95cd59
* commit '
85ad95cd593cf8902695fa683d071e68796fb019':
Revert "Make sem_wait able to return errno EINTR for sdk > 23."
Elliott Hughes [Tue, 26 Jan 2016 00:37:02 +0000 (00:37 +0000)]
Merge "Revert "Make sem_wait able to return errno EINTR for sdk > 23.""
am:
ac67b4eb7c
* commit '
ac67b4eb7c70ea668abb32298b0cb16920a32a66':
Revert "Make sem_wait able to return errno EINTR for sdk > 23."
Elliott Hughes [Tue, 26 Jan 2016 00:32:38 +0000 (00:32 +0000)]
Merge "Revert "Make sem_wait able to return errno EINTR for sdk > 23.""
Dan Albert [Tue, 26 Jan 2016 00:20:06 +0000 (00:20 +0000)]
Revert "Make sem_wait able to return errno EINTR for sdk > 23."
Broke the build. There's no such file as bionic_sdk_version.h anywhere in the tree.
This reverts commit
892b61d3409e8cdf0e121c688737eb058d57f7ab.
Change-Id: Iec3f4588edfb1d1524bb5f16451fd05dc6ebe44a
Dimitry Ivanov [Mon, 25 Jan 2016 23:52:09 +0000 (23:52 +0000)]
Merge "Add libskia.so to the grey-list."
Dimitry Ivanov [Mon, 25 Jan 2016 23:48:44 +0000 (15:48 -0800)]
Add libskia.so to the grey-list.
Bug: http://b/
26768182
Change-Id: I3a624861f38a3b40902f44ab728d5e9e64a74f7e
Yabin Cui [Mon, 25 Jan 2016 23:45:04 +0000 (23:45 +0000)]
Merge "Make sem_wait able to return errno EINTR for sdk > 23." am:
c96b6e1747
am:
dc91caf2f0
* commit '
dc91caf2f01fb8e394d91593ee18e6c85c31e8de':
Make sem_wait able to return errno EINTR for sdk > 23.
Yabin Cui [Mon, 25 Jan 2016 23:43:14 +0000 (23:43 +0000)]
Merge "Make sem_wait able to return errno EINTR for sdk > 23."
am:
c96b6e1747
* commit '
c96b6e1747c5b5ca154bada84ec0a3868540e96f':
Make sem_wait able to return errno EINTR for sdk > 23.
Yabin Cui [Mon, 25 Jan 2016 23:39:29 +0000 (23:39 +0000)]
Merge "Make sem_wait able to return errno EINTR for sdk > 23."
Christopher Ferris [Mon, 25 Jan 2016 22:50:54 +0000 (22:50 +0000)]
Merge "Fix build for gcc." am:
e40e429753
am:
ee6936ca39
* commit '
ee6936ca39702577be30a36d66b29a4318b6d624':
Fix build for gcc.
Christopher Ferris [Mon, 25 Jan 2016 22:48:44 +0000 (22:48 +0000)]
Merge "Fix build for gcc."
am:
e40e429753
* commit '
e40e429753cfe84fee0aaf553b57ce8679a28c9d':
Fix build for gcc.
Christopher Ferris [Mon, 25 Jan 2016 22:44:56 +0000 (22:44 +0000)]
Merge "Fix build for gcc."
Christopher Ferris [Mon, 25 Jan 2016 22:36:34 +0000 (14:36 -0800)]
Fix build for gcc.
Gcc doesn't like the brace object initialization, so make all of
the Feature objects explicit.
Also, no arguments to the error_log macros make gcc unhappy, so add
an option to turn these into warnings. These will be fixed when we
add the explicit _error and _warn log functions.
Change-Id: I35af834dabb5548923e893dd980a751fdebfa13a
Yabin Cui [Mon, 25 Jan 2016 19:37:16 +0000 (11:37 -0800)]
Make sem_wait able to return errno EINTR for sdk > 23.
Posix standards says sem_wait is interruptible by the delivery
of a signal. To keep compatiblity with old apps, only fix that
in newer sdk versions.
Bug:
26743454
Change-Id: I924cbb436658e3e0f397c922d866ece99b8241a3
Christopher Ferris [Mon, 25 Jan 2016 20:55:01 +0000 (20:55 +0000)]
Merge "Malloc debug rewrite." am:
0f7631fd92
am:
a5279732c4
* commit '
a5279732c48843bf8ed0b85460b19bceccb51d16':
Malloc debug rewrite.
Christopher Ferris [Mon, 25 Jan 2016 20:52:58 +0000 (20:52 +0000)]
Merge "Malloc debug rewrite."
am:
0f7631fd92
* commit '
0f7631fd92fb431ed74c5a63588d87f652b3ef77':
Malloc debug rewrite.
Christopher Ferris [Mon, 25 Jan 2016 20:48:29 +0000 (20:48 +0000)]
Merge "Malloc debug rewrite."
Elliott Hughes [Mon, 25 Jan 2016 19:39:53 +0000 (19:39 +0000)]
Merge "Move internal FILE flags macros to "local.h" from <stdio.h>." am:
7150e5a8ef
am:
fbb43e96cd
* commit '
fbb43e96cd02a4bb116aab74a68bb95c3f68d38a':
Move internal FILE flags macros to "local.h" from <stdio.h>.
Chih-hung Hsieh [Mon, 25 Jan 2016 19:39:43 +0000 (19:39 +0000)]
Merge "Include libz for new libelf." am:
5491d489fe
am:
984bccf4ba
* commit '
984bccf4ba3edad8ac4616ce96ac6552bb7d1e06':
Include libz for new libelf.
Elliott Hughes [Mon, 25 Jan 2016 19:37:55 +0000 (19:37 +0000)]
Merge "Move internal FILE flags macros to "local.h" from <stdio.h>."
am:
7150e5a8ef
* commit '
7150e5a8ef7c5f5c77720db7961e170580db08ea':
Move internal FILE flags macros to "local.h" from <stdio.h>.
Chih-hung Hsieh [Mon, 25 Jan 2016 19:37:51 +0000 (19:37 +0000)]
Merge "Include libz for new libelf."
am:
5491d489fe
* commit '
5491d489fef85bd31287aa05f3dfe5d5c2ff4a28':
Include libz for new libelf.
Elliott Hughes [Mon, 25 Jan 2016 19:35:36 +0000 (19:35 +0000)]
Merge "Move internal FILE flags macros to "local.h" from <stdio.h>."
Chih-hung Hsieh [Mon, 25 Jan 2016 19:31:23 +0000 (19:31 +0000)]
Merge "Include libz for new libelf."
Chih-Hung Hsieh [Mon, 25 Jan 2016 18:28:26 +0000 (10:28 -0800)]
Include libz for new libelf.
New external/elfutils needs libz.
Change-Id: Ib2f2d56d4831809509a0fb3a849656f68adece7f
Elliott Hughes [Mon, 25 Jan 2016 19:10:47 +0000 (11:10 -0800)]
Move internal FILE flags macros to "local.h" from <stdio.h>.
Bug: http://b/
24807045
Change-Id: Ia42ec1907370b4af957ece94a856f71c7ee27cb7
Elliott Hughes [Mon, 25 Jan 2016 18:57:21 +0000 (18:57 +0000)]
Merge "Add _seek64 to FILE." am:
ad9c3f34f7
am:
ed90327224
* commit '
ed90327224955bb4a65c1c06582a5fe26f7f8c24':
Add _seek64 to FILE.
Elliott Hughes [Mon, 25 Jan 2016 18:55:18 +0000 (18:55 +0000)]
Merge "Add _seek64 to FILE."
am:
ad9c3f34f7
* commit '
ad9c3f34f762ed45cce5dbb93218124ed31f6873':
Add _seek64 to FILE.
Christopher Ferris [Tue, 17 Nov 2015 01:30:32 +0000 (17:30 -0800)]
Malloc debug rewrite.
The major components of the rewrite:
- Completely remove the qemu shared library code. Nobody was using it
and it appears to have broken at some point.
- Adds the ability to enable/disable different options independently.
- Adds a new option that can enable the backtrace on alloc/free when
a process gets a specific signal.
- Adds a new way to enable malloc debug. If a special property is
set, and the process has an environment variable set, then debug
malloc will be enabled. This allows something that might be
a derivative of app_process to be started with an environment variable
being enabled.
- get_malloc_leak_info() used to return one element for each pointer that
had the exact same backtrace. The new version returns information for
every one of the pointers with same backtrace. It turns out ddms already
automatically coalesces these, so the old method simply hid the fact
that there where multiple pointers with the same amount of backtrace.
- Moved all of the malloc debug specific code into the library.
Nothing related to the malloc debug data structures remains in libc.
- Removed the calls to the debug malloc cleanup routine. Instead, I
added an atexit call with the debug malloc cleanup routine. This gets
around most problems related to the timing of doing the cleanup.
The new properties and environment variables:
libc.debug.malloc.options
Set by option name (such as "backtrace"). Setting this to a bad value
will cause a usage statement to be printed to the log.
libc.debug.malloc.program
Same as before. If this is set, then only the program named will
be launched with malloc debug enabled. This is not a complete match,
but if any part of the property is in the program name, malloc debug is
enabled.
libc.debug.malloc.env_enabled
If set, then malloc debug is only enabled if the running process has the
environment variable LIBC_DEBUG_MALLOC_ENABLE set.
Bug:
19145921
Change-Id: I7b0e58cc85cc6d4118173fe1f8627a391b64c0d7
Josh Gao [Mon, 25 Jan 2016 18:52:49 +0000 (18:52 +0000)]
Merge "Remove dlmalloc." am:
c650447239
am:
0cdf1c1ebd
* commit '
0cdf1c1ebd08aec49f18bed5f6275017d81b5d09':
Remove dlmalloc.
Elliott Hughes [Mon, 25 Jan 2016 18:50:41 +0000 (18:50 +0000)]
Merge "Add _seek64 to FILE."
Josh Gao [Mon, 25 Jan 2016 18:50:26 +0000 (18:50 +0000)]
Merge "Remove dlmalloc."
am:
c650447239
* commit '
c650447239352d43acc2fd99a8579a85ae0469ab':
Remove dlmalloc.
Josh Gao [Mon, 25 Jan 2016 18:42:55 +0000 (18:42 +0000)]
Merge "Remove dlmalloc."
Elliott Hughes [Mon, 25 Jan 2016 18:37:34 +0000 (18:37 +0000)]
Merge "Add another stdio test." am:
05db62657b
am:
49b5196a87
* commit '
49b5196a8712eefeac0372ebe3ad4f156df01a7a':
Add another stdio test.
Elliott Hughes [Mon, 25 Jan 2016 18:34:53 +0000 (18:34 +0000)]
Merge "Add another stdio test."
am:
05db62657b
* commit '
05db62657b7f44e303fb47fb502555059eb6ec61':
Add another stdio test.
Elliott Hughes [Mon, 25 Jan 2016 18:31:35 +0000 (18:31 +0000)]
Merge "Add another stdio test."
Josh Gao [Thu, 7 Jan 2016 01:57:44 +0000 (17:57 -0800)]
Remove dlmalloc.
Bug: http://b/
17207577
Change-Id: Ie009badca6deb1f91b27a4340b70cdd6bedff893
Elliott Hughes [Fri, 22 Jan 2016 23:04:51 +0000 (15:04 -0800)]
Add _seek64 to FILE.
Move fdopen/fopen/freopen and change them to initialize _seek64 instead
of the legacy _seek. The in-memory streams can stick with _seek for now,
since you're not going to fit a > 4GiB in-memory stream on a 32-bit device
anyway.
Bug: http://b/
24807045
Change-Id: I09dcb426817b571415ce24d4d15f364cdda395b3
Elliott Hughes [Sat, 23 Jan 2016 05:01:57 +0000 (05:01 +0000)]
Merge "Put struct FILE back how NDK-built apps expect it." am:
8fb40bad49
am:
dfb812170c
* commit '
dfb812170c5f87bbd6eaadc262e17585723b7fec':
Put struct FILE back how NDK-built apps expect it.
Elliott Hughes [Sat, 23 Jan 2016 05:00:12 +0000 (05:00 +0000)]
Merge "Put struct FILE back how NDK-built apps expect it."
am:
8fb40bad49
* commit '
8fb40bad496c680b5ca644dbf6a2ada79a239eee':
Put struct FILE back how NDK-built apps expect it.
Elliott Hughes [Sat, 23 Jan 2016 04:50:40 +0000 (04:50 +0000)]
Merge "Put struct FILE back how NDK-built apps expect it."
Elliott Hughes [Sat, 23 Jan 2016 03:18:48 +0000 (19:18 -0800)]
Put struct FILE back how NDK-built apps expect it.
The first rule of stdio is you never change struct FILE. This broke all
NDK-built apps that used stdin/stdout/stderr. (Which is more than you
might think, given that those streams don't go anywhere useful. Svelte!)
I've added a big code comment because I knew when I removed the field that
doing so was a mistake, but I couldn't think why.
Bug: http://b/
24807045
Bug: http://b/
26747402
Change-Id: Ie1233586b223bb1cdf8e354c66d5ff23487a833a
Elliott Hughes [Sat, 23 Jan 2016 03:22:44 +0000 (19:22 -0800)]
Add another stdio test.
This test didn't catch anything, but it does ensure that we exercise
the "lots of files" case.
Bug: http://b/
26747402
Change-Id: I6c51c6436029572a49190d509f131eb93b808652
Dimitry Ivanov [Fri, 22 Jan 2016 18:49:01 +0000 (18:49 +0000)]
Merge "Revert "Temporary apply LIBC version to __pthread_gettid"" am:
a42483baad
am:
03a37344b2
* commit '
03a37344b28e52d4f3c6d8a4945f9d18693ec29f':
Revert "Temporary apply LIBC version to __pthread_gettid"
Dimitry Ivanov [Fri, 22 Jan 2016 18:46:46 +0000 (18:46 +0000)]
Merge "Revert "Temporary apply LIBC version to __pthread_gettid""
am:
a42483baad
* commit '
a42483baad9a37297e6bbbe02d433ecbde890386':
Revert "Temporary apply LIBC version to __pthread_gettid"
Dimitry Ivanov [Fri, 22 Jan 2016 18:38:08 +0000 (18:38 +0000)]
Merge "Revert "Temporary apply LIBC version to __pthread_gettid""
Elliott Hughes [Fri, 22 Jan 2016 03:28:57 +0000 (03:28 +0000)]
Merge "Loosen up sys_time.gettimeofday." am:
8fd5bc0ccb
am:
99f3db0166
* commit '
99f3db016650ee6d6eaa6c9fd2e3c8e693395b79':
Loosen up sys_time.gettimeofday.
Elliott Hughes [Fri, 22 Jan 2016 03:26:40 +0000 (03:26 +0000)]
Merge "Loosen up sys_time.gettimeofday."
am:
8fd5bc0ccb
* commit '
8fd5bc0ccb83fa3e374a1ab7f2a43f401ef9f6a0':
Loosen up sys_time.gettimeofday.
Dimitry Ivanov [Fri, 22 Jan 2016 03:26:09 +0000 (03:26 +0000)]
Merge "libc: hide __signalfd4 symbol" am:
05c2f6b3d3
am:
807f2fe5a1
* commit '
807f2fe5a1cde3d7a0f68357dfc9da71c9d32f72':
libc: hide __signalfd4 symbol
Dimitry Ivanov [Fri, 22 Jan 2016 03:26:03 +0000 (03:26 +0000)]
Merge "libc: hide fake_gmtime_r and fake_localtime_r" am:
40316a3748
am:
5225f05de7
* commit '
5225f05de766f053a6e1d2b3582753eaebafe6f8':
libc: hide fake_gmtime_r and fake_localtime_r
Elliott Hughes [Fri, 22 Jan 2016 03:19:20 +0000 (03:19 +0000)]
Merge "Loosen up sys_time.gettimeofday."
Dimitry Ivanov [Fri, 22 Jan 2016 01:45:15 +0000 (01:45 +0000)]
Merge "libc: hide __signalfd4 symbol"
am:
05c2f6b3d3
* commit '
05c2f6b3d39ee92eae248e902a5a54fdcc6c696f':
libc: hide __signalfd4 symbol
Dimitry Ivanov [Fri, 22 Jan 2016 01:45:11 +0000 (01:45 +0000)]
Merge "libc: hide fake_gmtime_r and fake_localtime_r"
am:
40316a3748
* commit '
40316a37484ee755bf38bcf3897923cb43856baf':
libc: hide fake_gmtime_r and fake_localtime_r
Dimitry Ivanov [Thu, 21 Jan 2016 22:25:32 +0000 (22:25 +0000)]
Revert "Temporary apply LIBC version to __pthread_gettid"
This reverts commit
0ef1d121b5e4845f4ef3b59ae9a1f99ceb531186.
Bug: http://b/
26392296
Bug: http://b/
26391427
Change-Id: I7bbb555de3a43813e7623ff6ad4e17874d283eca
Dimitry Ivanov [Fri, 22 Jan 2016 01:41:27 +0000 (01:41 +0000)]
Merge "libc: hide __signalfd4 symbol"
Dimitry Ivanov [Fri, 22 Jan 2016 01:40:45 +0000 (01:40 +0000)]
Merge "libc: hide fake_gmtime_r and fake_localtime_r"
Elliott Hughes [Fri, 22 Jan 2016 00:43:43 +0000 (16:43 -0800)]
Loosen up sys_time.gettimeofday.
We've seen it take 1146us on Nexus 9 (which did have exceptionally slow
system calls).
Bug: http://b/
26724042
Change-Id: I263b7e1267d58fe4a6528403d03e5b245fdcd528
Dimitry Ivanov [Fri, 22 Jan 2016 00:05:23 +0000 (16:05 -0800)]
libc: hide fake_gmtime_r and fake_localtime_r
Bug: http://b/
26274444
Change-Id: Icf96a00142a287d8d3466d2545e213e605601b42
Dimitry Ivanov [Thu, 21 Jan 2016 23:49:40 +0000 (23:49 +0000)]
Merge "linker: align allocated blocks to 16 bytes" am:
b3ec261817
am:
8aea99eacb
* commit '
8aea99eacb412a94843464df84629da78422f611':
linker: align allocated blocks to 16 bytes
Dimitry Ivanov [Thu, 21 Jan 2016 23:44:39 +0000 (23:44 +0000)]
Merge "linker: align allocated blocks to 16 bytes"
am:
b3ec261817
* commit '
b3ec261817455769efddd585380c4735c3bdd5b6':
linker: align allocated blocks to 16 bytes
Dimitry Ivanov [Thu, 21 Jan 2016 23:23:49 +0000 (23:23 +0000)]
Merge "linker: align allocated blocks to 16 bytes"
Dimitry Ivanov [Thu, 21 Jan 2016 23:19:52 +0000 (15:19 -0800)]
libc: hide __signalfd4 symbol
Bug: http://b/
26274444
Change-Id: Iaa2df640cac07e2e407ca11b9701ee9e11729146
Dimitry Ivanov [Thu, 21 Jan 2016 18:55:40 +0000 (10:55 -0800)]
linker: align allocated blocks to 16 bytes
C/C++ requires the result of malloc/new to be
aligned for any primitive type.
Change-Id: I715b7679e738f34b3b409993fb3ef242e1321b7f
Elliott Hughes [Thu, 21 Jan 2016 18:44:56 +0000 (18:44 +0000)]
Merge "Simplify fseek/ftell." am:
8d6e19408c
am:
2e86797fdf
* commit '
2e86797fdf13312f806e08927c54e7bc9de34ceb':
Simplify fseek/ftell.
Christopher Ferris [Thu, 21 Jan 2016 18:40:55 +0000 (18:40 +0000)]
Merge "Remove dependency on zipalign." am:
be4f7429ca
am:
34e67269ae
* commit '
34e67269ae0e48df73cbba9b40a9338405acafeb':
Remove dependency on zipalign.
Elliott Hughes [Thu, 21 Jan 2016 18:40:53 +0000 (18:40 +0000)]
Merge "Simplify fseek/ftell."
am:
8d6e19408c
* commit '
8d6e19408cfdbd73ba7e5c9e5b8716d9dad8dcf9':
Simplify fseek/ftell.
Christopher Ferris [Thu, 21 Jan 2016 18:38:13 +0000 (18:38 +0000)]
Merge "Remove dependency on zipalign."
am:
be4f7429ca
* commit '
be4f7429ca66d0652f31fc78fd88de5ee958f890':
Remove dependency on zipalign.
Elliott Hughes [Thu, 21 Jan 2016 18:35:18 +0000 (18:35 +0000)]
Merge "Simplify fseek/ftell."
Elliott Hughes [Thu, 21 Jan 2016 01:14:53 +0000 (17:14 -0800)]
Simplify fseek/ftell.
Another step towards _FILE_OFFSET_BITS=64 support.
Bug: http://b/
24807045
Change-Id: I00b83c81a7b108176c4d9437bc32611f73b7e967
Christopher Ferris [Thu, 21 Jan 2016 18:31:12 +0000 (18:31 +0000)]
Merge "Remove dependency on zipalign."
Dimitry Ivanov [Thu, 21 Jan 2016 05:38:03 +0000 (05:38 +0000)]
Merge "Do not unmap reserved region on dlclose" am:
3e3b992469
am:
7a55637013
* commit '
7a55637013741f53f12a6ce81b80662d0a9c8a68':
Do not unmap reserved region on dlclose
Dimitry Ivanov [Thu, 21 Jan 2016 05:35:36 +0000 (05:35 +0000)]
Merge "Do not unmap reserved region on dlclose"
am:
3e3b992469
* commit '
3e3b992469ef7a415882ed11305c916d29870452':
Do not unmap reserved region on dlclose
Dimitry Ivanov [Thu, 21 Jan 2016 05:30:31 +0000 (05:30 +0000)]
Merge "Do not unmap reserved region on dlclose"