OSDN Git Service
Nick Kralevich [Mon, 6 Oct 2014 00:17:24 +0000 (00:17 +0000)]
am
558ec810: Merge "cdefs.h: add artificial attribute to FORTIFY_SOURCE functions"
* commit '
558ec8103bad6eed78c3e372fc9b2535a3486745':
cdefs.h: add artificial attribute to FORTIFY_SOURCE functions
Nick Kralevich [Mon, 6 Oct 2014 00:10:47 +0000 (00:10 +0000)]
Merge "cdefs.h: add artificial attribute to FORTIFY_SOURCE functions"
Nick Kralevich [Sun, 5 Oct 2014 16:52:37 +0000 (16:52 +0000)]
am
db6fea86: Merge "further cleanup memcpy fortify implementation"
* commit '
db6fea86a5cb70c5aaad61ef6c126557f36e138b':
further cleanup memcpy fortify implementation
Nick Kralevich [Sun, 5 Oct 2014 16:43:24 +0000 (16:43 +0000)]
Merge "further cleanup memcpy fortify implementation"
Nick Kralevich [Sun, 5 Oct 2014 13:52:24 +0000 (06:52 -0700)]
further cleanup memcpy fortify implementation
Change-Id: I0380f3c8ca8f9bb8a206accd839c32c9daf13c56
Nick Kralevich [Sat, 4 Oct 2014 22:26:29 +0000 (15:26 -0700)]
cdefs.h: add artificial attribute to FORTIFY_SOURCE functions
Otherwise the gcc compiler warning doesn't show up.
Delete some unittests. These unittests no longer compile cleanly
using -Wall -Werror, and rewriting them to compile cleanly
isn't feasible.
Bug:
17784968
Change-Id: I9bbdc7b6a1c2ac75754f5d0f90782e0dfae66721
Nick Kralevich [Sat, 4 Oct 2014 22:47:10 +0000 (22:47 +0000)]
am
ae97a776: Merge "string.h: remove unused variable"
* commit '
ae97a776ea900e5923d6d320d72dcc04b224796e':
string.h: remove unused variable
Nick Kralevich [Sat, 4 Oct 2014 22:38:08 +0000 (22:38 +0000)]
Merge "string.h: remove unused variable"
Nick Kralevich [Sat, 4 Oct 2014 22:20:00 +0000 (15:20 -0700)]
string.h: remove unused variable
Change-Id: I08b7dab1b374ad427fcbee4183f2c7d93d0199a9
Elliott Hughes [Sat, 4 Oct 2014 17:03:08 +0000 (10:03 -0700)]
resolved conflicts for merge of
a5087148 to lmp-dev-plus-aosp
Change-Id: Ic6b352650a7dec53cdd681d0f0b8ba4278e560d3
Elliott Hughes [Sat, 4 Oct 2014 02:24:08 +0000 (02:24 +0000)]
am
4ef0e59f: Merge "Reimplement clock(3) using clock_gettime(3)"
* commit '
4ef0e59f339ad138eabe3bc408beda6004f5ea83':
Reimplement clock(3) using clock_gettime(3)
Alex Van Brunt [Fri, 26 Sep 2014 20:32:47 +0000 (13:32 -0700)]
Reimplement clock(3) using clock_gettime(3)
Unlike times(), clock_gettime() is implemented as a vDSO on many architectures.
So, using clock_gettime() will return a more accurate time and do so with less
overhead because it does have the overhead of calling into the kernel.
It is also significantly more accurate because it measures the actual time in
nanoseconds rather than the number of ticks (typically 1 millisecond or more).
Bug:
17814435
(cherry picked from commit
8d0b2dbf2154d5da17ff09b1d4f864d281362ad2)
Change-Id: Id4945d9f387330518f78669809639952e9227ed9
Elliott Hughes [Sat, 4 Oct 2014 01:57:42 +0000 (01:57 +0000)]
Merge "Reimplement clock(3) using clock_gettime(3)"
Alex Van Brunt [Fri, 26 Sep 2014 20:32:47 +0000 (13:32 -0700)]
Reimplement clock(3) using clock_gettime(3)
Unlike times(), clock_gettime() is implemented as a vDSO on many architectures.
So, using clock_gettime() will return a more accurate time and do so with less
overhead because it does have the overhead of calling into the kernel.
It is also significantly more accurate because it measures the actual time in
nanoseconds rather than the number of ticks (typically 1 millisecond or more).
Bug:
17814435
Change-Id: Id4945d9f387330518f78669809639952e9227ed9
Elliott Hughes [Fri, 3 Oct 2014 23:57:39 +0000 (23:57 +0000)]
am
ea9800e9: Explain why clock(3) isn\'t broken.
* commit '
ea9800e98598c71fe76c4e2a0d0498b6bd490a83':
Explain why clock(3) isn't broken.
Elliott Hughes [Fri, 12 Sep 2014 23:33:37 +0000 (16:33 -0700)]
Explain why clock(3) isn't broken.
Bug:
17441123
Bug:
17814435
(cherry picked from commit
f83c208b82c78dad07f4065f63bdd354f5ef9951)
Change-Id: I2065afe73b79a8d86404edee16e983625d902cdc
Dmitriy Ivanov [Fri, 3 Oct 2014 16:53:33 +0000 (16:53 +0000)]
am
d5df4124: Merge "Add RTLD_NODELETE flag support"
* commit '
d5df4124bbbb30411ef19f7c2fbb3987d0eb9630':
Add RTLD_NODELETE flag support
Dmitriy Ivanov [Thu, 2 Oct 2014 21:47:29 +0000 (21:47 +0000)]
Merge "Add RTLD_NODELETE flag support"
Hans Boehm [Wed, 1 Oct 2014 19:23:05 +0000 (19:23 +0000)]
am
2d111d9e: Merge "Make memory_order_acquire visible in global namespace"
* commit '
2d111d9eb10b6c48e2e47251be66b418a6109dd9':
Make memory_order_acquire visible in global namespace
Hans Boehm [Wed, 1 Oct 2014 19:16:49 +0000 (19:16 +0000)]
Merge "Make memory_order_acquire visible in global namespace"
Christopher Ferris [Wed, 1 Oct 2014 18:24:16 +0000 (18:24 +0000)]
am
b19bd93f: Merge "Add stpcpy assembler version."
* commit '
b19bd93f8b83307f2f7530545f7c78824914f4eb':
Add stpcpy assembler version.
Christopher Ferris [Wed, 1 Oct 2014 18:16:14 +0000 (18:16 +0000)]
Merge "Add stpcpy assembler version."
Dmitriy Ivanov [Mon, 19 May 2014 22:06:58 +0000 (15:06 -0700)]
Add RTLD_NODELETE flag support
Bug: https://code.google.com/p/android/issues/detail?id=64069
Change-Id: Ie5f90482feae86391172be4b32d6cb7d76f446fb
Elliott Hughes [Wed, 1 Oct 2014 17:35:56 +0000 (17:35 +0000)]
am
cadccfd7: Merge "Update bionic to tzdata 2014h."
* commit '
cadccfd70821aeb107b8fc0084da04faecbfde2f':
Update bionic to tzdata 2014h.
Elliott Hughes [Wed, 1 Oct 2014 17:35:55 +0000 (17:35 +0000)]
am
89fd3236: Merge "Fix update-tzdata.py to rebuild icu4c .dat file."
* commit '
89fd32362bb62775aad001802bc79e3f07d7d62f':
Fix update-tzdata.py to rebuild icu4c .dat file.
Elliott Hughes [Wed, 1 Oct 2014 17:20:33 +0000 (17:20 +0000)]
Merge "Update bionic to tzdata 2014h."
Elliott Hughes [Wed, 1 Oct 2014 17:00:23 +0000 (17:00 +0000)]
Merge "Fix update-tzdata.py to rebuild icu4c .dat file."
Christopher Ferris [Tue, 30 Sep 2014 18:53:13 +0000 (11:53 -0700)]
Add stpcpy assembler version.
For generic, continue to use the C version of the code.
Bug:
13746695
Change-Id: I77426a70b06131f2373bb51265bea1240bb3f101
Dan Albert [Wed, 1 Oct 2014 01:38:35 +0000 (01:38 +0000)]
am
81156d93: Merge "Add coverage flag for libm."
* commit '
81156d93c557e88379dd3e9d869dcc97a15293f5':
Add coverage flag for libm.
Hans Boehm [Wed, 1 Oct 2014 01:31:04 +0000 (18:31 -0700)]
Make memory_order_acquire visible in global namespace
We were missing that using directive when including <atomic>.
Bug:
17736764
Change-Id: Ie8ca92a952749415567bcd5fa21d56629a364660
Dan Albert [Wed, 1 Oct 2014 01:28:24 +0000 (01:28 +0000)]
Merge "Add coverage flag for libm."
Elliott Hughes [Wed, 1 Oct 2014 00:35:38 +0000 (17:35 -0700)]
Update bionic to tzdata 2014h.
From the release notes:
Changes affecting past time stamps
America/Jamaica's 1974 spring-forward transition was Jan. 6, not Apr. 28.
Shanks says Asia/Novokuznetsk switched from LMT (not "NMT") on 1924-05-01,
not 1920-01-06. The old entry was based on a misinterpretation of Shanks.
Some more zones have been turned into links, when they differed
from existing zones only for older time stamps. As usual,
these changes affect UTC offsets in pre-1970 time stamps only.
Their old contents have been moved to the 'backzone' file.
The affected zones are: Africa/Blantyre, Africa/Bujumbura,
Africa/Gaborone, Africa/Harare, Africa/Kigali, Africa/Lubumbashi,
Africa/Lusaka, Africa/Maseru, and Africa/Mbabane.
Bug:
17731498
Change-Id: If65b740d4e3a67075cca770655a1df17952c3da0
Elliott Hughes [Wed, 1 Oct 2014 00:30:01 +0000 (17:30 -0700)]
Fix update-tzdata.py to rebuild icu4c .dat file.
Bug:
17731498
Change-Id: I4c810507c0ca9883dde1bece14530db80485b8f6
Elliott Hughes [Wed, 1 Oct 2014 00:05:58 +0000 (00:05 +0000)]
am
252c1ac9: Merge "Update our FreeBSD realpath(3) to upstream head."
* commit '
252c1ac9738ff6187354f243ef118eac962b65dc':
Update our FreeBSD realpath(3) to upstream head.
Dmitriy Ivanov [Tue, 30 Sep 2014 23:57:33 +0000 (23:57 +0000)]
am
701cf941: Merge "Fix mips build"
* commit '
701cf9419b4df92bd959bbc6f18150f6ae76df7c':
Fix mips build
Dan Albert [Tue, 30 Sep 2014 23:57:33 +0000 (23:57 +0000)]
am
e04aa450: Merge "Clean up the pthread key tests."
* commit '
e04aa450c2b51ea066d1a1c37978cce808d13872':
Clean up the pthread key tests.
Dan Albert [Tue, 30 Sep 2014 23:56:43 +0000 (16:56 -0700)]
Add coverage flag for libm.
Change-Id: I195d38c5e1f50d1cc6d4353dc8857f11b803b7a3
Elliott Hughes [Tue, 30 Sep 2014 23:55:57 +0000 (23:55 +0000)]
Merge "Update our FreeBSD realpath(3) to upstream head."
Dmitriy Ivanov [Tue, 30 Sep 2014 23:52:10 +0000 (23:52 +0000)]
am
1f7d5ac5: Merge "Fix unused DT entry warnings."
* commit '
1f7d5ac53854a09bbcace08b3a1d1b9cf3f2eed3':
Fix unused DT entry warnings.
Dan Albert [Tue, 30 Sep 2014 23:51:26 +0000 (23:51 +0000)]
am
0481471b: Merge "Switch benchmarks and tests to libc++."
* commit '
0481471b1bb95a90f632a9fb59c7a1767b9836c8':
Switch benchmarks and tests to libc++.
Dan Albert [Tue, 30 Sep 2014 23:51:25 +0000 (23:51 +0000)]
am
e49491ad: Merge "Ignore multiple symbol definition errors."
* commit '
e49491ada4c8e7827329b56a93e5377433aa9084':
Ignore multiple symbol definition errors.
Dmitriy Ivanov [Tue, 30 Sep 2014 23:42:24 +0000 (23:42 +0000)]
Merge "Fix mips build"
Dan Albert [Tue, 30 Sep 2014 23:41:06 +0000 (23:41 +0000)]
Merge "Clean up the pthread key tests."
Elliott Hughes [Tue, 30 Sep 2014 23:15:42 +0000 (16:15 -0700)]
Update our FreeBSD realpath(3) to upstream head.
Change-Id: I8c89728184ecd2c1a28a05cefa84a5037d28b552
Dmitriy Ivanov [Tue, 30 Sep 2014 23:30:22 +0000 (16:30 -0700)]
Fix mips build
Change-Id: I4454e69a982f239b168678c5a681d1078b4bd4f1
Dan Albert [Tue, 30 Sep 2014 18:48:24 +0000 (11:48 -0700)]
Clean up the pthread key tests.
The previous pthread_key_create_many test was really
pthread_key_create_all, which has proven very difficult to test
correctly (because it is affected by any other parts of the system using
pthread keys, and that can vary with test ordering). It also tested
expected values of PTHREAD_KEYS_MAX and the associated sysconf() value,
rather than those being in their own test.
Instead, split this test into a few distinct tests:
* pthread.pthread_keys_max
* pthread._SC_THREAD_KEYS_MAX_big_enough_for_POSIX
* pthread.pthread_key_many_distinct
* We actually didn't have a test to ensure that the keys we were
creating were distinct.
* pthread.pthread_key_EAGAIN
* Make sure pthread_key_create() will _eventually_ fail with
EAGAIN, not at a (sometimes incorrectly) predetermined maximum.
Change-Id: Iff1e4fdcc02404094bde0418122c64c227cf1702
Dmitriy Ivanov [Tue, 30 Sep 2014 22:14:32 +0000 (22:14 +0000)]
Merge "Fix unused DT entry warnings."
Dmitriy Ivanov [Tue, 30 Sep 2014 02:14:45 +0000 (19:14 -0700)]
Fix unused DT entry warnings.
DT_STRSZ Implement strtab boundary checks
DT_FLAGS_1 Warn if flags other than DF_1_NOW|DF_1_GLOBAL are set
Bug:
17552334
Change-Id: Iaad29cd52f5b2d7d2f785fb351697906dc1617d9
Dan Albert [Tue, 30 Sep 2014 17:30:57 +0000 (17:30 +0000)]
Merge "Switch benchmarks and tests to libc++."
Dan Albert [Tue, 30 Sep 2014 17:30:52 +0000 (17:30 +0000)]
Merge "Ignore multiple symbol definition errors."
Dan Albert [Fri, 26 Sep 2014 22:37:52 +0000 (15:37 -0700)]
Switch benchmarks and tests to libc++.
Change-Id: I3b9c8f8c14a1e227e67ae1977cc29b0e8fccef5d
Dan Albert [Mon, 29 Sep 2014 22:16:46 +0000 (15:16 -0700)]
Ignore multiple symbol definition errors.
libc and libc++ both define std::nothrow. libc's is a private symbol,
but this still causes issues when linking libc.a and libc++.a, since
private isn't effective until it has been linked. To fix this, just
allow multiple symbol definitions for the static tests.
Change-Id: Idbf19fefda47298c39360e3f5b6242b0b1a52fcc
Dmitriy Ivanov [Tue, 30 Sep 2014 16:49:46 +0000 (16:49 +0000)]
am
9997daa0: Merge "Return has_DT_SYMBOLIC flag."
* commit '
9997daa0ff8f630bee5d3b8eb0ab15a0ba1e5cf6':
Return has_DT_SYMBOLIC flag.
Dmitriy Ivanov [Tue, 30 Sep 2014 16:40:25 +0000 (16:40 +0000)]
Merge "Return has_DT_SYMBOLIC flag."
Andrew Hsieh [Tue, 30 Sep 2014 04:17:06 +0000 (04:17 +0000)]
am
b104be32: Merge "Remove arch-mips64/bionic/__get_sp.S"
* commit '
b104be321f2538a6e0bbd566bc958537d1f65cef':
Remove arch-mips64/bionic/__get_sp.S
Christopher Ferris [Tue, 30 Sep 2014 04:17:05 +0000 (04:17 +0000)]
am
85a932c0: Merge "Cleanup arm assembly."
* commit '
85a932c0c9225e0f71d94a0d8cbac85089a398cf':
Cleanup arm assembly.
Andrew Hsieh [Tue, 30 Sep 2014 00:01:01 +0000 (00:01 +0000)]
Merge "Remove arch-mips64/bionic/__get_sp.S"
Andrew Hsieh [Mon, 29 Sep 2014 23:54:38 +0000 (07:54 +0800)]
Remove arch-mips64/bionic/__get_sp.S
__get_sp.S doesn't exist
Change-Id: Id84f8904c8022c683263a317a18fabeb50fed992
Christopher Ferris [Mon, 29 Sep 2014 23:12:39 +0000 (23:12 +0000)]
Merge "Cleanup arm assembly."
Christopher Ferris [Mon, 29 Sep 2014 22:34:20 +0000 (15:34 -0700)]
Cleanup arm assembly.
Remove the old arm directives.
Change the non-local labels to .L labels.
Add cfi directives to strcpy.S.
Change-Id: I9bafee1ffe5d85c92d07cfa8a85338cef9759562
Dan Albert [Mon, 29 Sep 2014 20:55:46 +0000 (20:55 +0000)]
am
73e6c9b3: Merge "Static libc++ is being renamed libc++_static."
* commit '
73e6c9b39353807aae80170355ec0b67b7a4ce16':
Static libc++ is being renamed libc++_static.
Dmitriy Ivanov [Mon, 29 Sep 2014 19:10:36 +0000 (12:10 -0700)]
Return has_DT_SYMBOLIC flag.
This reverts commit
8f61d991831f0ea515fa50a5c38dbbcfbab0dd28
Despite the fact that static linker does all the work while linking
-Bsymbolic executables, according to the SCO doc following DT_SYMBOLIC
and DF_SYMBOLIC flags is still a requirement for the dynamic linker
as well.
(see http://www.sco.com/developers/gabi/2012-12-31/ch5.dynamic.html)
Change-Id: I23f6a5e9b662e40cdbc462b64feff912431e800c
Dan Albert [Mon, 29 Sep 2014 16:08:35 +0000 (16:08 +0000)]
Merge "Static libc++ is being renamed libc++_static."
Dan Albert [Sat, 27 Sep 2014 16:22:07 +0000 (09:22 -0700)]
Static libc++ is being renamed libc++_static.
Change-Id: I1596110e4ed7e8f9ab9e2605dfcd9fd0489ca0d1
Dan Albert [Sat, 27 Sep 2014 00:29:49 +0000 (00:29 +0000)]
am
7ca5c4b9: Merge "Make __aeabi_*() symbols weak."
* commit '
7ca5c4b99b308550e34e185ed632b8a5ad5341ee':
Make __aeabi_*() symbols weak.
Dan Albert [Sat, 27 Sep 2014 00:29:48 +0000 (00:29 +0000)]
am
98ab0c52: Merge "Add a dummy libdl.a."
* commit '
98ab0c52f5672540c442611d838011be9252079b':
Add a dummy libdl.a.
Dan Albert [Sat, 27 Sep 2014 00:19:14 +0000 (00:19 +0000)]
Merge "Make __aeabi_*() symbols weak."
Dan Albert [Sat, 27 Sep 2014 00:19:05 +0000 (00:19 +0000)]
Merge "Add a dummy libdl.a."
Elliott Hughes [Fri, 26 Sep 2014 23:10:41 +0000 (23:10 +0000)]
am
d644fecc: Merge "Fix gdb could not get shared library list issue"
* commit '
d644fecc8e5eec0107ca4e2011cee0e5c0a10bdd':
Fix gdb could not get shared library list issue
Elliott Hughes [Fri, 26 Sep 2014 23:00:59 +0000 (23:00 +0000)]
Merge "Fix gdb could not get shared library list issue"
Ningsheng Jian [Tue, 16 Sep 2014 07:22:10 +0000 (15:22 +0800)]
Fix gdb could not get shared library list issue
Get dynamic flags from phdr table's correct entry rather the first
entry, so that the following DT_DEBUG entry can be set.
Also fix the undefined reference to LoadTask::deleter issue under gcc
-O0 option.
Bug:
17524778
Change-Id: I9c679af197b034761fb739d6c980e628ff2ab84c
Dan Albert [Fri, 26 Sep 2014 22:36:14 +0000 (15:36 -0700)]
Make __aeabi_*() symbols weak.
This is needed to avoid multiple symbol definitions when linking with
libstdc++ or with compiler-rt.
Change-Id: I2f713bcff113222f0d2538e49691e715d8a8475d
Dan Albert [Fri, 26 Sep 2014 22:23:07 +0000 (15:23 -0700)]
Add a dummy libdl.a.
Change-Id: I4b30b8875f14352bae2948ab8cf544ae818795ab
Christopher Ferris [Fri, 26 Sep 2014 21:04:41 +0000 (21:04 +0000)]
am
aa66e882: Merge "Add __memcpy_chk assembly for 64 bit."
* commit '
aa66e8828048d8d6fd7e4bb9c5e341ed89614266':
Add __memcpy_chk assembly for 64 bit.
Christopher Ferris [Fri, 26 Sep 2014 20:39:21 +0000 (20:39 +0000)]
Merge "Add __memcpy_chk assembly for 64 bit."
Christopher Ferris [Thu, 25 Sep 2014 00:05:20 +0000 (17:05 -0700)]
Add __memcpy_chk assembly for 64 bit.
Bug:
17623887
Change-Id: I443723bc941b40f84884b330d222baabee01f868
Dan Albert [Thu, 25 Sep 2014 23:14:39 +0000 (23:14 +0000)]
am
852d4fbb: Merge "Prevent benchmarks from being optimized away."
* commit '
852d4fbbe9ddee0261c6b3dcadcd75185157ed46':
Prevent benchmarks from being optimized away.
Dan Albert [Thu, 25 Sep 2014 22:52:53 +0000 (22:52 +0000)]
Merge "Prevent benchmarks from being optimized away."
Dan Albert [Thu, 25 Sep 2014 22:43:48 +0000 (15:43 -0700)]
Prevent benchmarks from being optimized away.
Change-Id: I2d27b39ecdfc50e78098314567c295a2f113f8d3
Elliott Hughes [Thu, 25 Sep 2014 03:31:19 +0000 (03:31 +0000)]
am
17e7d320: Merge "Re-expose more stdio implementation details for LP32."
* commit '
17e7d3208c68ff69819179d8a63ca234be2d1ab9':
Re-expose more stdio implementation details for LP32.
Elliott Hughes [Thu, 25 Sep 2014 03:13:56 +0000 (03:13 +0000)]
am
aaad5485: Merge "Re-expose more stdio implementation details for LP32." into lmp-dev
* commit '
aaad548535c34e2bba16b2a0b71173e0ae4b16c0':
Re-expose more stdio implementation details for LP32.
Elliott Hughes [Thu, 25 Sep 2014 03:08:23 +0000 (03:08 +0000)]
Merge "Re-expose more stdio implementation details for LP32."
Elliott Hughes [Thu, 25 Sep 2014 00:20:53 +0000 (17:20 -0700)]
Re-expose more stdio implementation details for LP32.
Keeps a variety of apps running.
(cherry-pick of
5def2f5aecd968e4022b0afbe4441fa7ba3e7c7e.)
Bug:
17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
Elliott Hughes [Thu, 25 Sep 2014 03:06:29 +0000 (03:06 +0000)]
Merge "Re-expose more stdio implementation details for LP32." into lmp-dev
Elliott Hughes [Thu, 25 Sep 2014 00:20:53 +0000 (17:20 -0700)]
Re-expose more stdio implementation details for LP32.
Keeps a variety of apps running.
Bug:
17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
Christopher Ferris [Thu, 25 Sep 2014 00:17:22 +0000 (00:17 +0000)]
am
a864e72b: Merge "Fix sys_stat.mkfifo when not run as root."
* commit '
a864e72b566234fdc41344725aa9b4f47c5baba3':
Fix sys_stat.mkfifo when not run as root.
Christopher Ferris [Wed, 24 Sep 2014 23:56:06 +0000 (23:56 +0000)]
Merge "Fix sys_stat.mkfifo when not run as root."
Christopher Ferris [Wed, 24 Sep 2014 23:55:08 +0000 (23:55 +0000)]
am
6c69afdb: Fix sys_stat.mkfifo when not run as root.
* commit '
6c69afdb6ddd56e011b59e3060f12a5bdffb5f5c':
Fix sys_stat.mkfifo when not run as root.
Christopher Ferris [Wed, 24 Sep 2014 23:01:18 +0000 (16:01 -0700)]
Fix sys_stat.mkfifo when not run as root.
It's not allowed for a shell user to create a fifo in /data/local/tmp.
Make the test do nothing if not run as root.
Bug:
17646702
(cherry picked from commit
6c69afdb6ddd56e011b59e3060f12a5bdffb5f5c)
Change-Id: Ia3a862ed4586413b7bb393557ab57e0a7141d888
Christopher Ferris [Wed, 24 Sep 2014 23:01:18 +0000 (16:01 -0700)]
Fix sys_stat.mkfifo when not run as root.
It's not allowed for a shell user to create a fifo in /data/local/tmp.
Make the test do nothing if not run as root.
Bug:
17646702
Change-Id: I932262fa233eae8b5dd607a2398a47c50a208701
Elliott Hughes [Wed, 24 Sep 2014 20:44:46 +0000 (20:44 +0000)]
am
567d3fcb: Merge "Switch to OpenBSD fopen/fclose."
* commit '
567d3fcb7ece287a84912183e91eff851fa48fc2':
Switch to OpenBSD fopen/fclose.
Elliott Hughes [Wed, 24 Sep 2014 20:44:45 +0000 (20:44 +0000)]
am
4fcfd3a4: Merge "Sync with current upstream getopt_long.c."
* commit '
4fcfd3a474ae5a9e5095ca92a10a8aaa0a3dae5a':
Sync with current upstream getopt_long.c.
Elliott Hughes [Wed, 24 Sep 2014 20:24:47 +0000 (20:24 +0000)]
Merge "Switch to OpenBSD fopen/fclose."
Elliott Hughes [Wed, 24 Sep 2014 20:24:19 +0000 (20:24 +0000)]
Merge "Sync with current upstream getopt_long.c."
Elliott Hughes [Wed, 24 Sep 2014 19:39:34 +0000 (12:39 -0700)]
Sync with current upstream getopt_long.c.
Change-Id: I269195aa581a688fd3eb99552d506b8f5f6a8395
Elliott Hughes [Wed, 24 Sep 2014 18:14:36 +0000 (11:14 -0700)]
Switch to OpenBSD fopen/fclose.
This means all our stdio implementation is now the OpenBSD implementation.
The only thing we lose is the STDIO_THREAD_LOCK calls but they were no-ops
anyway.
We should probably talk to upstream about this. Either fix the locking or,
preferably, encourage them to move away from this pooling (especially since
there's no eviction policy).
Bug:
17154680
Change-Id: Ie2523e444a7d0965b8d141d57e3e11f6432d5b9a
Elliott Hughes [Wed, 24 Sep 2014 18:09:37 +0000 (18:09 +0000)]
am
f05410ed: Merge "Sync with upstream findfp.c."
* commit '
f05410edc634040f96643b8f378320faddfef423':
Sync with upstream findfp.c.
Elliott Hughes [Wed, 24 Sep 2014 17:48:58 +0000 (17:48 +0000)]
Merge "Sync with upstream findfp.c."
Dan Albert [Wed, 24 Sep 2014 17:45:54 +0000 (17:45 +0000)]
am
21db6ff1: Merge "Coverage configs for bionic."
* commit '
21db6ff108a8df43582bf2ca0d7d6c925f26b5e5':
Coverage configs for bionic.
Dan Albert [Wed, 24 Sep 2014 17:45:54 +0000 (17:45 +0000)]
am
4a6e7110: Merge "Add a dummy atexit(3) to the linker."
* commit '
4a6e71100e9c99b90b517be5a8e1c21616772d16':
Add a dummy atexit(3) to the linker.