OSDN Git Service
Yabin Cui [Mon, 16 Mar 2015 21:58:43 +0000 (21:58 +0000)]
am
533bc4a0: am
d3e2a207: Merge "Hide content of pthread_cond_t in pthread_cond_internal_t."
* commit '
533bc4a09cebbecd1c871f0d8481e9449216f5f5':
Hide content of pthread_cond_t in pthread_cond_internal_t.
Dmitriy Ivanov [Mon, 16 Mar 2015 21:58:33 +0000 (21:58 +0000)]
Yabin Cui [Mon, 16 Mar 2015 21:09:26 +0000 (21:09 +0000)]
am
d3e2a207: Merge "Hide content of pthread_cond_t in pthread_cond_internal_t."
* commit '
d3e2a207ffcaefedf2d3baaaad3d62be1abdb33c':
Hide content of pthread_cond_t in pthread_cond_internal_t.
Yabin Cui [Mon, 16 Mar 2015 20:58:01 +0000 (20:58 +0000)]
Merge "Hide content of pthread_cond_t in pthread_cond_internal_t."
Dan Albert [Mon, 16 Mar 2015 17:06:29 +0000 (10:06 -0700)]
Revert "Revert "Moving StringPrintf to libbase.""
This reverts commit
d2dad2b24fb82604f9dbe7a082e630a524f1473d.
(cherry picked from commit
3e87c785434fdfed2fb00496cb391c411a426bdd)
Dmitriy Ivanov [Mon, 16 Mar 2015 20:39:00 +0000 (20:39 +0000)]
Dmitriy Ivanov [Mon, 16 Mar 2015 20:30:01 +0000 (20:30 +0000)]
Merge "Fix typo"
Dmitriy Ivanov [Mon, 16 Mar 2015 20:20:23 +0000 (13:20 -0700)]
Fix typo
Change-Id: Ie6dad7d09873c88f6bbb2d45c2780e3b0c618bd6
Yabin Cui [Sat, 14 Mar 2015 03:30:00 +0000 (20:30 -0700)]
Hide content of pthread_cond_t in pthread_cond_internal_t.
Bug:
19249079
Change-Id: I6f55af30bcd6211ce71630c6cacbef0e1663dcee
Nicolas Geoffray [Mon, 16 Mar 2015 12:37:10 +0000 (12:37 +0000)]
am
645621ec: am
11a06c73: Merge "Revert "Moving StringPrintf to libbase.""
* commit '
645621ec8bbd8c6ffca7c3b48580b20feb3b76a2':
Revert "Moving StringPrintf to libbase."
Nicolas Geoffray [Mon, 16 Mar 2015 12:30:48 +0000 (12:30 +0000)]
am
11a06c73: Merge "Revert "Moving StringPrintf to libbase.""
* commit '
11a06c73f6e7d31442429a58a346d881b0a8a441':
Revert "Moving StringPrintf to libbase."
Nicolas Geoffray [Mon, 16 Mar 2015 12:20:26 +0000 (12:20 +0000)]
Merge "Revert "Moving StringPrintf to libbase.""
Nicolas Geoffray [Mon, 16 Mar 2015 12:19:26 +0000 (12:19 +0000)]
Revert "Moving StringPrintf to libbase."
libbase has been reverted
This reverts commit
7ed5fa1e4d37722a644518594bf2b0e1529c05e9.
Change-Id: I5d8ff8c38ff8c9123e6cee5dc15a101a79e94b2e
Dan Albert [Sun, 15 Mar 2015 22:34:10 +0000 (22:34 +0000)]
am
e63140db: am
83e95878: Merge "Moving StringPrintf to libbase."
* commit '
e63140dbed059ac2042c31762660cced6baac253':
Moving StringPrintf to libbase.
Christopher Ferris [Sun, 15 Mar 2015 22:34:09 +0000 (22:34 +0000)]
am
3abc6d1c: am
593a75ee: Merge "Fix typo in alias symbol."
* commit '
3abc6d1c5724d266381b257078bf988f52873fc0':
Fix typo in alias symbol.
Christopher Ferris [Sun, 15 Mar 2015 22:34:08 +0000 (22:34 +0000)]
am
79641f96: am
83c0028e: Merge "For libm, use a macro for aliasing symbols."
* commit '
79641f96eb68fff13f6265abcfd18477cd3650c3':
For libm, use a macro for aliasing symbols.
Dan Albert [Sun, 15 Mar 2015 15:44:38 +0000 (15:44 +0000)]
am
83e95878: Merge "Moving StringPrintf to libbase."
* commit '
83e95878735a62cea108f3c1f1de1358b5565038':
Moving StringPrintf to libbase.
Christopher Ferris [Sun, 15 Mar 2015 15:44:37 +0000 (15:44 +0000)]
am
593a75ee: Merge "Fix typo in alias symbol."
* commit '
593a75ee6b9857a452e57b21fb28507da30f89cf':
Fix typo in alias symbol.
Christopher Ferris [Sun, 15 Mar 2015 15:44:36 +0000 (15:44 +0000)]
am
83c0028e: Merge "For libm, use a macro for aliasing symbols."
* commit '
83c0028e030bad1f7cf54ba3f04962b9a6a9e1e4':
For libm, use a macro for aliasing symbols.
Dan Albert [Sat, 14 Mar 2015 23:55:08 +0000 (23:55 +0000)]
Merge "Moving StringPrintf to libbase."
Christopher Ferris [Sat, 14 Mar 2015 19:22:29 +0000 (19:22 +0000)]
Merge "Fix typo in alias symbol."
Christopher Ferris [Sat, 14 Mar 2015 19:17:45 +0000 (12:17 -0700)]
Fix typo in alias symbol.
Change-Id: I41d2c29bd4a9ba382bbe3440541c8e1506fc5809
Christopher Ferris [Sat, 14 Mar 2015 17:44:31 +0000 (17:44 +0000)]
Merge "For libm, use a macro for aliasing symbols."
Christopher Ferris [Sat, 14 Mar 2015 00:43:52 +0000 (17:43 -0700)]
For libm, use a macro for aliasing symbols.
Change-Id: Ibd42ebc387c2bf3eba9aa96091770915b4b34184
Dan Albert [Sat, 14 Mar 2015 05:34:37 +0000 (22:34 -0700)]
Moving StringPrintf to libbase.
Change-Id: I47ef28bb294ffb7c7c065c5624417edf23503b77
Yabin Cui [Sat, 14 Mar 2015 04:08:32 +0000 (04:08 +0000)]
am
6c143484: am
d2cf59d4: Merge "Hide content of pthread_rwlock_t in pthread_rwlock_internal_t."
* commit '
6c1434842a3c29f96c332d12cadc82f9b71746d9':
Hide content of pthread_rwlock_t in pthread_rwlock_internal_t.
Yabin Cui [Sat, 14 Mar 2015 02:51:12 +0000 (02:51 +0000)]
am
d2cf59d4: Merge "Hide content of pthread_rwlock_t in pthread_rwlock_internal_t."
* commit '
d2cf59d4633d9e731d0342d4f94b6e925589ab1e':
Hide content of pthread_rwlock_t in pthread_rwlock_internal_t.
Yabin Cui [Sat, 14 Mar 2015 02:38:31 +0000 (02:38 +0000)]
Merge "Hide content of pthread_rwlock_t in pthread_rwlock_internal_t."
Yabin Cui [Fri, 13 Mar 2015 21:22:05 +0000 (14:22 -0700)]
Hide content of pthread_rwlock_t in pthread_rwlock_internal_t.
Bug:
19249079
Change-Id: Ifbe634c716b6793bef897ec5134b55eb44c6b8d5
Christopher Ferris [Fri, 13 Mar 2015 21:54:56 +0000 (21:54 +0000)]
am
0d54094a: am
81c31bdd: Merge "Add some GNU specific elf constants."
* commit '
0d54094a86eded929edaa35a63ac831b1cb95c91':
Add some GNU specific elf constants.
Dmitriy Ivanov [Fri, 13 Mar 2015 21:54:55 +0000 (21:54 +0000)]
am
173a61f2: am
d7e091ef: Merge "Switch libc and libm to sysv-only hash style"
* commit '
173a61f29bb44f70140b9167a7333e79b1d9bf1b':
Switch libc and libm to sysv-only hash style
Christopher Ferris [Fri, 13 Mar 2015 21:23:43 +0000 (21:23 +0000)]
am
81c31bdd: Merge "Add some GNU specific elf constants."
* commit '
81c31bdd43e50538fa45f5e7783782a5ae5666e9':
Add some GNU specific elf constants.
Dmitriy Ivanov [Fri, 13 Mar 2015 21:16:47 +0000 (21:16 +0000)]
am
d7e091ef: Merge "Switch libc and libm to sysv-only hash style"
* commit '
d7e091efc477c17da97415fa944675c6f16dcdb5':
Switch libc and libm to sysv-only hash style
Christopher Ferris [Fri, 13 Mar 2015 21:12:05 +0000 (21:12 +0000)]
Merge "Add some GNU specific elf constants."
Dmitriy Ivanov [Fri, 13 Mar 2015 21:04:07 +0000 (21:04 +0000)]
Merge "Switch libc and libm to sysv-only hash style"
Dmitriy Ivanov [Fri, 13 Mar 2015 19:43:30 +0000 (12:43 -0700)]
Switch libc and libm to sysv-only hash style
Bug:
19059885
Change-Id: I60a23dc5f9c756994d566818332ca42b305b4a05
Christopher Ferris [Fri, 13 Mar 2015 17:36:21 +0000 (17:36 +0000)]
am
c30d7a67: am
f074b531: Merge "Add the optimized implementation of 18 math functions for x86 and x86_64 respectively"
* commit '
c30d7a67e092b95036aba0f0f93e9f382c9e9a8e':
Add the optimized implementation of 18 math functions for x86 and x86_64 respectively
Christopher Ferris [Fri, 13 Mar 2015 17:32:45 +0000 (10:32 -0700)]
Add some GNU specific elf constants.
Change-Id: I6c668463a27a641c9a280ce1937857d622344ff8
Christopher Ferris [Fri, 13 Mar 2015 17:27:43 +0000 (17:27 +0000)]
am
f074b531: Merge "Add the optimized implementation of 18 math functions for x86 and x86_64 respectively"
* commit '
f074b531d266deb63c17e1d3bff751f3f3740d9d':
Add the optimized implementation of 18 math functions for x86 and x86_64 respectively
Christopher Ferris [Fri, 13 Mar 2015 17:18:20 +0000 (17:18 +0000)]
Merge "Add the optimized implementation of 18 math functions for x86 and x86_64 respectively"
Yabin Cui [Fri, 13 Mar 2015 17:12:53 +0000 (17:12 +0000)]
am
1e795957: am
5507deda: Merge "Make gtest_main exit 1 when some test are failed."
* commit '
1e795957f44bff53b27dad686ed56b26d85f84b0':
Make gtest_main exit 1 when some test are failed.
Yabin Cui [Fri, 13 Mar 2015 17:09:14 +0000 (17:09 +0000)]
am
5507deda: Merge "Make gtest_main exit 1 when some test are failed."
* commit '
5507dedaeb43e01edfab4b0e2cc290622b20e678':
Make gtest_main exit 1 when some test are failed.
Yabin Cui [Fri, 13 Mar 2015 17:02:17 +0000 (17:02 +0000)]
Merge "Make gtest_main exit 1 when some test are failed."
Mark Salyzyn [Fri, 13 Mar 2015 07:20:41 +0000 (07:20 +0000)]
am
ee7b80d7: am
f6f96df5: Merge "syslog.h: missing LOG_MAKEPRI definition"
* commit '
ee7b80d7cf09c32ea806dfbaa401ba5790670064':
syslog.h: missing LOG_MAKEPRI definition
Yabin Cui [Fri, 13 Mar 2015 05:16:03 +0000 (22:16 -0700)]
Make gtest_main exit 1 when some test are failed.
This is the gtest behavior, which I think can make test status
judgement more convenient.
Change-Id: I7d3c210d1744b954a4148cd905dd5c353207fce8
Mark Salyzyn [Thu, 12 Mar 2015 21:39:12 +0000 (21:39 +0000)]
am
f6f96df5: Merge "syslog.h: missing LOG_MAKEPRI definition"
* commit '
f6f96df5b031b0bf79eb8ad49bd73a3ceab87db5':
syslog.h: missing LOG_MAKEPRI definition
Mark Salyzyn [Thu, 12 Mar 2015 20:33:25 +0000 (20:33 +0000)]
Merge "syslog.h: missing LOG_MAKEPRI definition"
Mark Salyzyn [Thu, 12 Mar 2015 20:21:35 +0000 (13:21 -0700)]
syslog.h: missing LOG_MAKEPRI definition
Bug:
19681572
Change-Id: Ice5f5cb1f71522ffc47b2243a8dc4c277c2a288f
Elliott Hughes [Thu, 12 Mar 2015 15:35:54 +0000 (15:35 +0000)]
am
59e911c7: am
be86f877: Merge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."
* commit '
59e911c7fda705ca50d558c73bae9decdcf1b040':
Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>.
Dmitriy Ivanov [Wed, 11 Mar 2015 23:02:18 +0000 (23:02 +0000)]
am
452ddd02: am
e8107b66: Merge "Rename LinkerAllocator and LinkerAllocatorPage"
* commit '
452ddd0245d9fb790d55206fc9535d02665c28fa':
Rename LinkerAllocator and LinkerAllocatorPage
Dmitriy Ivanov [Wed, 11 Mar 2015 23:02:17 +0000 (23:02 +0000)]
am
36927c79: am
57e800d5: Merge "Refactoring: rename linker_allocator files"
* commit '
36927c796b26f6c4f9771e4935615e9edf2205c3':
Refactoring: rename linker_allocator files
Dimitry Ivanov [Wed, 11 Mar 2015 20:09:29 +0000 (20:09 +0000)]
am
1f2b704c: am
e842dc0d: am
c16c8368: Merge "Generate gnu hash for arm only"
* commit '
1f2b704ccf5102ca759f0721f0612bcf84fd5cc9':
Generate gnu hash for arm only
Elliott Hughes [Wed, 11 Mar 2015 16:56:26 +0000 (16:56 +0000)]
am
be86f877: Merge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."
* commit '
be86f87711ee71ff971da2e2ae7a092081177951':
Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>.
Elliott Hughes [Wed, 11 Mar 2015 16:42:48 +0000 (16:42 +0000)]
Merge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."
Elliott Hughes [Wed, 11 Mar 2015 16:32:25 +0000 (09:32 -0700)]
Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>.
Change-Id: I2b81cfc3147d9a0a6ac2a8f064e6d9864fa7e04d
Dmitriy Ivanov [Wed, 11 Mar 2015 03:19:21 +0000 (03:19 +0000)]
am
e8107b66: Merge "Rename LinkerAllocator and LinkerAllocatorPage"
* commit '
e8107b66c56509a8d1b1d21f217e4e71a9f74bee':
Rename LinkerAllocator and LinkerAllocatorPage
Dmitriy Ivanov [Wed, 11 Mar 2015 03:19:20 +0000 (03:19 +0000)]
am
57e800d5: Merge "Refactoring: rename linker_allocator files"
* commit '
57e800d534b43bda849858ed4bb47d556469032f':
Refactoring: rename linker_allocator files
Dmitriy Ivanov [Wed, 11 Mar 2015 00:37:48 +0000 (00:37 +0000)]
Merge "Rename LinkerAllocator and LinkerAllocatorPage"
Dmitriy Ivanov [Wed, 11 Mar 2015 00:35:22 +0000 (00:35 +0000)]
Merge "Refactoring: rename linker_allocator files"
Dmitriy Ivanov [Tue, 10 Mar 2015 22:43:50 +0000 (15:43 -0700)]
Rename LinkerAllocator and LinkerAllocatorPage
Change-Id: I87d80fbcd4ec26c0ee4f601b9c4c64f600418dd9
Dmitriy Ivanov [Tue, 10 Mar 2015 22:30:26 +0000 (15:30 -0700)]
Refactoring: rename linker_allocator files
Change-Id: Ifc08e64b3a85205f072b7abab1149c7ab71e2f75
Dmitriy Ivanov [Tue, 10 Mar 2015 22:04:33 +0000 (22:04 +0000)]
am
6d0735fa: am
dca2fadd: am
a94cf791: Merge "Generate sysv hash for libc, libstdc++ and libm"
* commit '
6d0735fa2bd9690252c0f26cafffb7614ffd3556':
Generate sysv hash for libc, libstdc++ and libm
Yabin Cui [Tue, 10 Mar 2015 22:04:32 +0000 (22:04 +0000)]
am
981fdd0e: am
50119cec: am
37c71b14: Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."
* commit '
981fdd0e5580f5a51e52dc1105fa95ec6705d017':
Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink.
Dmitriy Ivanov [Tue, 10 Mar 2015 18:15:58 +0000 (18:15 +0000)]
am
240a7910: am
8af6a7b3: am
017f94d3: Merge "Store fields for gnu_hash separately"
* commit '
240a7910ab46bc1f247270c3edafbb4e18616f60':
Store fields for gnu_hash separately
Dimitry Ivanov [Tue, 10 Mar 2015 17:48:29 +0000 (17:48 +0000)]
am
e842dc0d: am
c16c8368: Merge "Generate gnu hash for arm only"
* commit '
e842dc0de5ce5f9950e323ae8805909f60867bf6':
Generate gnu hash for arm only
Dimitry Ivanov [Tue, 10 Mar 2015 17:41:18 +0000 (17:41 +0000)]
am
c16c8368: Merge "Generate gnu hash for arm only"
* commit '
c16c8368773452e2d18d761a7b3ea6f249dc2ac5':
Generate gnu hash for arm only
Dimitry Ivanov [Tue, 10 Mar 2015 17:34:51 +0000 (17:34 +0000)]
Merge "Generate gnu hash for arm only"
Goran Jakovljevic [Tue, 10 Mar 2015 16:11:39 +0000 (17:11 +0100)]
Generate gnu hash for arm only
Fixes build failure caused by:
https://android-review.googlesource.com/#/c/139660
As previously discussed [1], MIPS does not support GNU-style ELF hashes.
[1] https://android-review.googlesource.com/#/c/49282/2/tests/Android.mk
Change-Id: I9a7966eebfd1ef0a587a20b71faefde38e84ab62
Dmitriy Ivanov [Tue, 10 Mar 2015 15:12:09 +0000 (15:12 +0000)]
am
dca2fadd: am
a94cf791: Merge "Generate sysv hash for libc, libstdc++ and libm"
* commit '
dca2fadd8252a5c0664d2811187bc39bd7916aa4':
Generate sysv hash for libc, libstdc++ and libm
Yabin Cui [Tue, 10 Mar 2015 15:12:07 +0000 (15:12 +0000)]
am
50119cec: am
37c71b14: Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."
* commit '
50119cec8d872df02547af39a3a85aea9125299b':
Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink.
Dmitriy Ivanov [Tue, 10 Mar 2015 15:03:35 +0000 (15:03 +0000)]
am
a94cf791: Merge "Generate sysv hash for libc, libstdc++ and libm"
* commit '
a94cf791c1c9b93d49f5573716de93348757ae15':
Generate sysv hash for libc, libstdc++ and libm
Yabin Cui [Tue, 10 Mar 2015 15:03:34 +0000 (15:03 +0000)]
am
37c71b14: Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."
* commit '
37c71b14e51c53b0cb5daa19bf38559d063453dc':
Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink.
Dmitriy Ivanov [Tue, 10 Mar 2015 04:41:01 +0000 (04:41 +0000)]
Merge "Generate sysv hash for libc, libstdc++ and libm"
Yabin Cui [Tue, 10 Mar 2015 04:14:12 +0000 (04:14 +0000)]
Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."
Dmitriy Ivanov [Tue, 10 Mar 2015 02:38:56 +0000 (19:38 -0700)]
Generate sysv hash for libc, libstdc++ and libm
Bug:
19059885
Change-Id: I35e2a9cd0bb3914d9d0c82d163bfaf0fff844667
Yabin Cui [Mon, 9 Mar 2015 20:55:18 +0000 (13:55 -0700)]
Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink.
It has been reported in b2/
19657449 and b2/
19381040 that fchmodat
AT_SYMLINK_NOFOLLOW operation on symlink can succeed. It seems to be
controlled by kernel(version or configuration) or user configuration
whether chmod is allowed on symlinks. Unless we can disable chmod on
symlinks in bionic explicitly, we can not guarantee that the test can
pass. But it seems reasonable to allow chmod on symlink if kernel allows
to. So We prefer to loosen the test here, accepting both success and
failure when doing chmod operation on symlinks.
Bug:
19657449
Bug:
19381040
Change-Id: I780e84f0b50d0412fbac9f1c240d07e984892a28
Dmitriy Ivanov [Mon, 9 Mar 2015 21:15:50 +0000 (21:15 +0000)]
am
8af6a7b3: am
017f94d3: Merge "Store fields for gnu_hash separately"
* commit '
8af6a7b38e1ce134d537f359d8cf4780ed9d8f58':
Store fields for gnu_hash separately
Dmitriy Ivanov [Mon, 9 Mar 2015 21:11:02 +0000 (21:11 +0000)]
am
017f94d3: Merge "Store fields for gnu_hash separately"
* commit '
017f94d34eedfaca1c62cb35a65b8436f04b8f62':
Store fields for gnu_hash separately
Dmitriy Ivanov [Mon, 9 Mar 2015 21:05:51 +0000 (21:05 +0000)]
Merge "Store fields for gnu_hash separately"
Dmitriy Ivanov [Mon, 9 Mar 2015 19:02:02 +0000 (12:02 -0700)]
Store fields for gnu_hash separately
Kindle app relies on soinfo's sysv hash
fields while linking native libraries.
This change allows to keep sysv hash fields
intact for the libraries linked with --hash-style=both.
Bug:
19059885
Change-Id: I12528652955638f1a6586bda99e111bb1c8aa7a3
Jingwei Zhang [Fri, 31 Oct 2014 10:29:18 +0000 (18:29 +0800)]
Add the optimized implementation of 18 math functions for x86 and x86_64 respectively
Change-Id: I31bf601448a9427f825517f3a0ff24de47f49bfa
Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com>
Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>
Nick Kralevich [Sun, 8 Mar 2015 00:18:04 +0000 (00:18 +0000)]
am
563fd91a: am
9e08606c: am
edc1d3e3: Merge "linker: Allow an app to update it\'s own LD_LIBRARY_PATH"
* commit '
563fd91a314958ae0fec09471056e6071e71f72a':
linker: Allow an app to update it's own LD_LIBRARY_PATH
Christopher Ferris [Sun, 8 Mar 2015 00:18:03 +0000 (00:18 +0000)]
am
0e2b8b80: am
5c329e45: am
9afb08dd: Merge "libm: Add hardware sqrt, ceil, floor and trunc for x86 & x86_64"
* commit '
0e2b8b800036c79bf05760e28896041028a2fa3c':
libm: Add hardware sqrt, ceil, floor and trunc for x86 & x86_64
Dmitriy Ivanov [Sun, 8 Mar 2015 00:18:02 +0000 (00:18 +0000)]
am
7d62778c: am
2bf9f30a: am
536ec735: Merge changes I796a4ce8,I6165d062,I66c95d90,Ia67fa11d
* commit '
7d62778c0f7b404961361e0a1745ff8f880ec805':
Add support for packed relocations.
Refactoring: introduce reloc_iterators
Generalize compression tool
Import relocation packer from chromium repo
Yabin Cui [Sun, 8 Mar 2015 00:18:01 +0000 (00:18 +0000)]
am
7db2acbb: am
2bb873ae: am
e86a86f9: Merge "Remove PTHREAD_ATTR_FLAG_MAIN_THREAD."
* commit '
7db2acbb694871da2b02ccf2261c01e0faf812ae':
Remove PTHREAD_ATTR_FLAG_MAIN_THREAD.
Yabin Cui [Sun, 8 Mar 2015 00:18:00 +0000 (00:18 +0000)]
am
39416d70: am
a1d1f658: am
45ee73a7: Merge "Rename fortify_sprintf_warnings.cpp to fortify_compilation_test.cpp."
* commit '
39416d701cdbcff68d7ed11720b61d8a4a9e66bd':
Rename fortify_sprintf_warnings.cpp to fortify_compilation_test.cpp.
Yabin Cui [Sun, 8 Mar 2015 00:17:59 +0000 (00:17 +0000)]
am
185d511b: am
af1ad422: am
fe4f2a67: Merge "Use pthread_once for g_uselocale_key creation."
* commit '
185d511bf827d864397e8ac2dd886ae19618f71d':
Use pthread_once for g_uselocale_key creation.
Nick Kralevich [Sun, 8 Mar 2015 00:08:43 +0000 (00:08 +0000)]
am
9e08606c: am
edc1d3e3: Merge "linker: Allow an app to update it\'s own LD_LIBRARY_PATH"
* commit '
9e08606c8353b543f414625a475aaab390de161f':
linker: Allow an app to update it's own LD_LIBRARY_PATH
Christopher Ferris [Sun, 8 Mar 2015 00:08:32 +0000 (00:08 +0000)]
am
5c329e45: am
9afb08dd: Merge "libm: Add hardware sqrt, ceil, floor and trunc for x86 & x86_64"
* commit '
5c329e45dc5b4216be673459bcc7c5abcce5f2d3':
libm: Add hardware sqrt, ceil, floor and trunc for x86 & x86_64
Dmitriy Ivanov [Sun, 8 Mar 2015 00:08:30 +0000 (00:08 +0000)]
am
2bf9f30a: am
536ec735: Merge changes I796a4ce8,I6165d062,I66c95d90,Ia67fa11d
* commit '
2bf9f30a3ae9892660b7f7f64fd4d60bae712ed6':
Add support for packed relocations.
Refactoring: introduce reloc_iterators
Generalize compression tool
Import relocation packer from chromium repo
Yabin Cui [Sun, 8 Mar 2015 00:08:29 +0000 (00:08 +0000)]
am
2bb873ae: am
e86a86f9: Merge "Remove PTHREAD_ATTR_FLAG_MAIN_THREAD."
* commit '
2bb873aee94db4f317a62480b07f6d4d1d33da6d':
Remove PTHREAD_ATTR_FLAG_MAIN_THREAD.
Yabin Cui [Sun, 8 Mar 2015 00:07:50 +0000 (00:07 +0000)]
am
a1d1f658: am
45ee73a7: Merge "Rename fortify_sprintf_warnings.cpp to fortify_compilation_test.cpp."
* commit '
a1d1f658b5ed0508a21c87008a13830530660eba':
Rename fortify_sprintf_warnings.cpp to fortify_compilation_test.cpp.
Yabin Cui [Sun, 8 Mar 2015 00:07:22 +0000 (00:07 +0000)]
am
af1ad422: am
fe4f2a67: Merge "Use pthread_once for g_uselocale_key creation."
* commit '
af1ad4220885bc37a347086cac15863fe9bbe16e':
Use pthread_once for g_uselocale_key creation.
Nick Kralevich [Sat, 7 Mar 2015 23:38:35 +0000 (23:38 +0000)]
am
edc1d3e3: Merge "linker: Allow an app to update it\'s own LD_LIBRARY_PATH"
* commit '
edc1d3e3c6266eadcd05a9aa7bcdec701ba060aa':
linker: Allow an app to update it's own LD_LIBRARY_PATH
Nick Kralevich [Sat, 7 Mar 2015 23:31:31 +0000 (23:31 +0000)]
Merge "linker: Allow an app to update it's own LD_LIBRARY_PATH"
Nick Kralevich [Sat, 7 Mar 2015 21:37:05 +0000 (13:37 -0800)]
linker: Allow an app to update it's own LD_LIBRARY_PATH
When the kernel executes a program which is setuid, setgid, has
file capabilities, or causes an SELinux domain transition, the
AT_SECURE flag is set. This flag instructs the dynamic linker to
prune any dangerous environment variables passed across security
boundaries.
For SELinux in particular, whether this flag is set depends on the
the "noatsecure" process permission. If that permission does not
exist, then AT_SECURE=1 whenever a domain transition occurs.
In https://android-review.googlesource.com/129971 , Android stopped
using noatsecure when executing init services. In
https://android-review.googlesource.com/130610 , init was flipped
back into SELinux enforcing mode, making ag/129971 active. The
combination of those two changes ensured that AT_SECURE=1 was
set when executing init spawned services.
In particular, AT_SECURE=1 is set when init executes zygote. Due to
the forking nature of zygote, AT_SECURE remains untouched when
executing zygote's children.
This causes problems for the code added in
https://android-review.googlesource.com/48409 . Specifically, if
AT_SECURE=1, an attempt to call android_update_LD_LIBRARY_PATH()
is silently ignored. This causes problems when art tries to adjust
the LD_LIBRARY_PATH for Android apps. Ultimately, apps are unable
to find shared libraries they depend on.
As discussed in bug
7896159, there's no security reason for
preventing an application from updating it's own LD_LIBRARY_PATH.
We only need to prune LD_LIBRARY_PATH when transitioning across
security boundaries, but not when we're entirely within a security
boundary.
Remove the AT_SECURE check within do_android_update_LD_LIBRARY_PATH().
It's unneeded and prevents an application from modifying it's own
LD_LIBRARY_PATH. This allows an application to specify a location
where it's dlopen()ed shared libraries should be loaded from.
There is no change to AT_SECURE handling in
__sanitize_environment_variables(). We continue to honor it there
to prevent using security sensitive environment variables across
an exec boundary.
Bug:
19559835
Change-Id: If4af2ee8e84265aaa0c93de8b281208b20d7942a
Christopher Ferris [Sat, 7 Mar 2015 17:13:22 +0000 (17:13 +0000)]
am
9afb08dd: Merge "libm: Add hardware sqrt, ceil, floor and trunc for x86 & x86_64"
* commit '
9afb08dd0984acea49da5aae21b41522cb805dac':
libm: Add hardware sqrt, ceil, floor and trunc for x86 & x86_64
Dmitriy Ivanov [Sat, 7 Mar 2015 17:13:21 +0000 (17:13 +0000)]
am
536ec735: Merge changes I796a4ce8,I6165d062,I66c95d90,Ia67fa11d
* commit '
536ec7359eb951655e389443aa918a4bb16b2d8b':
Add support for packed relocations.
Refactoring: introduce reloc_iterators
Generalize compression tool
Import relocation packer from chromium repo
Yabin Cui [Sat, 7 Mar 2015 17:13:21 +0000 (17:13 +0000)]
am
e86a86f9: Merge "Remove PTHREAD_ATTR_FLAG_MAIN_THREAD."
* commit '
e86a86f9f24df7028d2596c69ff008cf88e039e4':
Remove PTHREAD_ATTR_FLAG_MAIN_THREAD.
Christopher Ferris [Sat, 7 Mar 2015 16:46:26 +0000 (16:46 +0000)]
Merge "libm: Add hardware sqrt, ceil, floor and trunc for x86 & x86_64"