OSDN Git Service
Nick Kralevich [Thu, 2 Apr 2015 13:59:26 +0000 (13:59 +0000)]
am
3cc3f17a: Merge "linker: never mark pages simultaneously writable / executable"
* commit '
3cc3f17aa4b241da7303299032e4269fcf92a4e6':
linker: never mark pages simultaneously writable / executable
Nick Kralevich [Thu, 2 Apr 2015 13:29:48 +0000 (13:29 +0000)]
Merge "linker: never mark pages simultaneously writable / executable"
Dan Albert [Thu, 2 Apr 2015 01:13:18 +0000 (01:13 +0000)]
am
ab7c79e2: Merge "Don\'t export new/delete from libc shared libraries."
* commit '
ab7c79e22e5495a2aa171047a044ce1037e461a9':
Don't export new/delete from libc shared libraries.
Nick Kralevich [Wed, 1 Apr 2015 23:57:50 +0000 (16:57 -0700)]
linker: never mark pages simultaneously writable / executable
When the Android dynamic linker handles a text relocation,
it first relaxes the permissions on the segment being modified,
performs the modifications, and then restores the page permissions.
The relaxation worked by adding PROT_WRITE to whatever protection
bits were set in the section. In effect, the pages were getting set
to PROT_READ|PROT_WRITE|PROT_EXEC, modified, then restored to
PROT_READ|PROT_EXEC
The SELinux kernel code differentiates between 4 different kinds
of executable memory:
* Executable stack (execstack)
* Executable heap (execheap)
* File-based executable code which has been modified (execmod)
* All other executable memory (execmem)
The execmod capability is only triggered by the kernel when a
dirty but non-executable mmap()ed page becomes executable. When that
occurs, an SELinux policy check is done to see if the execmod capability
is provided by policy.
However, if the page is already executable, and PROT_WRITE is added
to the page, it's considered an execmem permission check, not an execmod
permission check.
There are certain circumstances where we may want to distinguish between
execmod and execmem. This change adjusts the dynamic linker to avoid
using RWX pages, so that an RX -> RW -> RX transition will properly
be detected as an execmod permission check instead of an execmem permission
check.
Bug:
20013628
Change-Id: I14d7be29170b156942f9809023f3b2fc1f37846c
Dan Albert [Wed, 1 Apr 2015 23:33:53 +0000 (23:33 +0000)]
Merge "Don't export new/delete from libc shared libraries."
Dan Albert [Wed, 1 Apr 2015 23:26:54 +0000 (16:26 -0700)]
Don't export new/delete from libc shared libraries.
This used to be handled by -fvisibility=hidden on libc_cxa, but that
was broken by the resolution of https://llvm.org/PR22419 (introduced
to Android in today's clang update).
Now we just use a version script that prevents these from being
re-exported from our shared libraries.
Change-Id: Ib290e1d0d7426e09ad17a91178162fff6dbdcfa9
Dimitry Ivanov [Wed, 1 Apr 2015 21:44:47 +0000 (21:44 +0000)]
am
202af3a2: Merge "Revert "Remove text-relocation support for lp32""
* commit '
202af3a23cb23e2571011ea76367ff3e88dfd48e':
Revert "Remove text-relocation support for lp32"
Dimitry Ivanov [Wed, 1 Apr 2015 21:28:28 +0000 (21:28 +0000)]
Merge "Revert "Remove text-relocation support for lp32""
Dimitry Ivanov [Wed, 1 Apr 2015 21:18:48 +0000 (21:18 +0000)]
Revert "Remove text-relocation support for lp32"
This reverts commit
cb00add1b382d1e3045876d7e1ccbee2fdce976b.
Bug:
20020312
Bug:
20013628
Change-Id: I8baa3d4b6c7fef50c9e2531257d5b96762099eb3
Elliott Hughes [Wed, 1 Apr 2015 19:48:51 +0000 (19:48 +0000)]
am
b023799a: Merge "Fix ftw tests when run as non-root."
* commit '
b023799a6027924aad13b0f91c0b5b7f1b9cfe2d':
Fix ftw tests when run as non-root.
Elliott Hughes [Wed, 1 Apr 2015 19:37:45 +0000 (19:37 +0000)]
am
d227d57d: Merge "Update README.md for running tests on the host."
* commit '
d227d57d50f7a5251dbbfa3f2b41d3fe882851fa':
Update README.md for running tests on the host.
Elliott Hughes [Wed, 1 Apr 2015 19:32:15 +0000 (19:32 +0000)]
Merge "Fix ftw tests when run as non-root."
Elliott Hughes [Wed, 1 Apr 2015 19:22:40 +0000 (12:22 -0700)]
Fix ftw tests when run as non-root.
Root can create subdirectories inside non-writable directories, but
other users can't.
Change-Id: I102fe610d1bd2733aebf184b544e58612465287d
Elliott Hughes [Wed, 1 Apr 2015 19:20:08 +0000 (19:20 +0000)]
Merge "Update README.md for running tests on the host."
Elliott Hughes [Wed, 1 Apr 2015 19:16:56 +0000 (12:16 -0700)]
Update README.md for running tests on the host.
Change-Id: Ib360d91bffd269e7acdb20ad33a7bd85345a1475
Dmitriy Ivanov [Wed, 1 Apr 2015 01:51:51 +0000 (01:51 +0000)]
am
61a35fa4: Merge "Remove text-relocation support for lp32"
* commit '
61a35fa40c898dc08c28c9da8b174ba5d5614579':
Remove text-relocation support for lp32
Mark Salyzyn [Wed, 1 Apr 2015 01:40:57 +0000 (01:40 +0000)]
am
8f41142c: Merge "stubs missing include for string.h"
* commit '
8f41142cd631bdd8bf02dcfbb599e5edbfcbd67e':
stubs missing include for string.h
Elliott Hughes [Wed, 1 Apr 2015 01:40:56 +0000 (01:40 +0000)]
am
72035734: Merge "Make ThreadLocalBuffer a class rather than a macro."
* commit '
72035734af2d8558a3ccd7e29626216e20aed6f2':
Make ThreadLocalBuffer a class rather than a macro.
Dmitriy Ivanov [Wed, 1 Apr 2015 01:37:46 +0000 (01:37 +0000)]
Merge "Remove text-relocation support for lp32"
Christopher Ferris [Wed, 1 Apr 2015 01:32:54 +0000 (01:32 +0000)]
am
89a4a541: Merge "Upgrade kernel headers to 3.18.10."
* commit '
89a4a54104d566bbfd226ed1e3abcf047b871690':
Upgrade kernel headers to 3.18.10.
Mark Salyzyn [Wed, 1 Apr 2015 00:55:18 +0000 (00:55 +0000)]
Merge "stubs missing include for string.h"
Elliott Hughes [Wed, 1 Apr 2015 00:51:56 +0000 (00:51 +0000)]
Merge "Make ThreadLocalBuffer a class rather than a macro."
Dmitriy Ivanov [Wed, 1 Apr 2015 00:28:24 +0000 (17:28 -0700)]
Remove text-relocation support for lp32
Bug:
20013628
Change-Id: Idaf8012f00ee1304d429c3b42f9ebc6b648c55b8
Mark Salyzyn [Tue, 31 Mar 2015 23:55:42 +0000 (16:55 -0700)]
stubs missing include for string.h
stubs.cpp gets string.h inherited from private/android_filesystem_config.h
it should not rely on this in the future. The intent is to move fs_config
function into libcutils and thus deprecate any need for string.h in this
include file.
Change-Id: I946ec1979ef5bbb34fbcb4a99bf2cd79280bb2a3
Christopher Ferris [Tue, 31 Mar 2015 22:37:04 +0000 (22:37 +0000)]
Merge "Upgrade kernel headers to 3.18.10."
Christopher Ferris [Tue, 31 Mar 2015 21:57:48 +0000 (14:57 -0700)]
Upgrade kernel headers to 3.18.10.
Change-Id: Iff1f1c830780585990856a5114b559c61282dcd6
Dmitriy Ivanov [Tue, 31 Mar 2015 20:28:51 +0000 (20:28 +0000)]
am
52a0f014: Merge "Fix long lines and replace macros with functions."
* commit '
52a0f01421fde3cd4f879b491a9f491d792fa2d5':
Fix long lines and replace macros with functions.
Dmitriy Ivanov [Tue, 31 Mar 2015 20:19:52 +0000 (20:19 +0000)]
Merge "Fix long lines and replace macros with functions."
Dmitriy Ivanov [Tue, 31 Mar 2015 01:43:38 +0000 (18:43 -0700)]
Fix long lines and replace macros with functions.
Change-Id: I4e1cab488d5b2c8e4289da617350a86e72a4ba12
Elliott Hughes [Tue, 31 Mar 2015 17:56:58 +0000 (10:56 -0700)]
Make ThreadLocalBuffer a class rather than a macro.
Bug:
19995392
Change-Id: I497c512648fbe66257da3fb3bcd5c9911f983705
Yabin Cui [Tue, 31 Mar 2015 04:36:45 +0000 (04:36 +0000)]
am
611fd2cc: Merge "Revert "Revert "add guard pages to the internal signal stacks"""
* commit '
611fd2cc91f79be6759f6e630e1e81998326dfe8':
Revert "Revert "add guard pages to the internal signal stacks""
Yabin Cui [Tue, 31 Mar 2015 04:24:07 +0000 (04:24 +0000)]
Merge "Revert "Revert "add guard pages to the internal signal stacks"""
Yabin Cui [Tue, 31 Mar 2015 03:03:57 +0000 (20:03 -0700)]
Revert "Revert "add guard pages to the internal signal stacks""
This reverts commit
a3125fd1396a09a7fc4872dc4653f342150a3deb.
And Fix the prctl() problem that cause system crash.
Change-Id: Icc8d12d848cfba881a7984ca2827fd81be41f9fd
Elliott Hughes [Tue, 31 Mar 2015 02:54:14 +0000 (02:54 +0000)]
am
8225ad63: Merge "Revert "add guard pages to the internal signal stacks""
* commit '
8225ad63fac7c5cc298884c101a344959b87dc39':
Revert "add guard pages to the internal signal stacks"
Elliott Hughes [Tue, 31 Mar 2015 02:54:11 +0000 (02:54 +0000)]
am
2746b928: Merge "Revert "Fix clang build breakage ("arithmetic on a pointer to void").""
* commit '
2746b9289abc0fd5e38b94fc96d101e5e242d9f2':
Revert "Fix clang build breakage ("arithmetic on a pointer to void")."
Elliott Hughes [Tue, 31 Mar 2015 02:42:50 +0000 (02:42 +0000)]
Merge "Revert "add guard pages to the internal signal stacks""
Elliott Hughes [Tue, 31 Mar 2015 02:42:39 +0000 (02:42 +0000)]
Revert "add guard pages to the internal signal stacks"
This reverts commit
595752f623ae88f7e4193a6e531a0805f1c6c4dc.
Change-Id: Iefa66e9049ca0424e53cd5fc320d161b93556dcb
Elliott Hughes [Tue, 31 Mar 2015 02:41:32 +0000 (02:41 +0000)]
Merge "Revert "Fix clang build breakage ("arithmetic on a pointer to void").""
Elliott Hughes [Tue, 31 Mar 2015 02:41:20 +0000 (02:41 +0000)]
Revert "Fix clang build breakage ("arithmetic on a pointer to void")."
This reverts commit
16c77212792808b9e4d8229e64c5b42f4327b6dc.
Change-Id: I568dee5400599693b1585ce6d4be7a0b5f37dc74
Elliott Hughes [Mon, 30 Mar 2015 21:45:37 +0000 (21:45 +0000)]
am
2d84d870: Merge "Fix clang build breakage ("arithmetic on a pointer to void")."
* commit '
2d84d870db0e6db54cf09441434bf2f5b28c6492':
Fix clang build breakage ("arithmetic on a pointer to void").
Elliott Hughes [Mon, 30 Mar 2015 21:35:56 +0000 (21:35 +0000)]
am
373748f4: Merge "add guard pages to the internal signal stacks"
* commit '
373748f4c66bb37e564716590e7b4fc8a64e0884':
add guard pages to the internal signal stacks
Elliott Hughes [Mon, 30 Mar 2015 21:34:07 +0000 (21:34 +0000)]
Merge "Fix clang build breakage ("arithmetic on a pointer to void")."
Elliott Hughes [Mon, 30 Mar 2015 21:33:02 +0000 (14:33 -0700)]
Fix clang build breakage ("arithmetic on a pointer to void").
Change-Id: Ia0953fc1cd0f8ea2d4423b3c6e34f6dc7a9f31e9
Elliott Hughes [Mon, 30 Mar 2015 21:24:35 +0000 (21:24 +0000)]
Merge "add guard pages to the internal signal stacks"
Daniel Micay [Sun, 29 Mar 2015 04:03:55 +0000 (00:03 -0400)]
add guard pages to the internal signal stacks
Signal handlers tend to be lean, but can still overflow the (tiny)
stack.
Change-Id: Ia21c6453d92a9f8d1536ad01ff26a1a84c05f8fb
Nick Kralevich [Fri, 27 Mar 2015 23:22:04 +0000 (23:22 +0000)]
am
203082b8: Merge "linker_environ: clear MALLOC_CONF when AT_SECURE=1"
* commit '
203082b8217cd853eee510ad371b382701960610':
linker_environ: clear MALLOC_CONF when AT_SECURE=1
Dmitriy Ivanov [Fri, 27 Mar 2015 23:22:02 +0000 (23:22 +0000)]
am
5c136382: Merge "Fix libstdc++.so hash-style."
* commit '
5c136382a6f1ad796a60463898d4c08fadead669':
Fix libstdc++.so hash-style.
Nick Kralevich [Fri, 27 Mar 2015 22:55:20 +0000 (22:55 +0000)]
Merge "linker_environ: clear MALLOC_CONF when AT_SECURE=1"
Nick Kralevich [Fri, 27 Mar 2015 21:01:00 +0000 (14:01 -0700)]
linker_environ: clear MALLOC_CONF when AT_SECURE=1
Clear JE_MALLOC_CONF and MALLOC_CONF
Change-Id: Ia76e263783194ecaa362e8ccafbe13a28a4a1ba6
Dmitriy Ivanov [Fri, 27 Mar 2015 22:46:52 +0000 (22:46 +0000)]
Merge "Fix libstdc++.so hash-style."
Dmitriy Ivanov [Fri, 27 Mar 2015 22:27:07 +0000 (15:27 -0700)]
Fix libstdc++.so hash-style.
Bug:
19059885
Bug:
19958712
Change-Id: I167457a54cc688d64912a50f5fb75e4e2f3e3937
Dmitriy Ivanov [Fri, 27 Mar 2015 21:41:56 +0000 (21:41 +0000)]
am
cd79a59b: Merge "Add test for thread_local keyword."
* commit '
cd79a59b18f8e81b5f37258f376a726dc8acb81a':
Add test for thread_local keyword.
Dmitriy Ivanov [Fri, 27 Mar 2015 20:07:33 +0000 (20:07 +0000)]
Merge "Add test for thread_local keyword."
Dmitriy Ivanov [Thu, 26 Mar 2015 18:07:04 +0000 (11:07 -0700)]
Add test for thread_local keyword.
For gcc only for the time being.
Bug:
19800080
Bug:
16696563
Change-Id: Ifaa59a131ca2d9030554cee7ce631dcb1d081938
Dmitriy Ivanov [Fri, 27 Mar 2015 00:01:30 +0000 (00:01 +0000)]
am
cfd794a9: Merge "Explain why we need objcopy for the linker"
* commit '
cfd794a96d0c4f1d97e54b701b408dafdb514d17':
Explain why we need objcopy for the linker
Dmitriy Ivanov [Thu, 26 Mar 2015 23:49:23 +0000 (23:49 +0000)]
Merge "Explain why we need objcopy for the linker"
Dmitriy Ivanov [Thu, 26 Mar 2015 23:47:18 +0000 (16:47 -0700)]
Explain why we need objcopy for the linker
Change-Id: I646673abc6095b56f72add493b60925375b75b78
Yabin Cui [Thu, 26 Mar 2015 18:27:10 +0000 (18:27 +0000)]
am
8f3eb5a4: Merge "Revert "Cause Fatal error when invalid pthread_id is detected.""
* commit '
8f3eb5a4e5dbbac1fb431e40e25eec07ecc24ee8':
Revert "Cause Fatal error when invalid pthread_id is detected."
Simon Baldwin [Thu, 26 Mar 2015 18:16:10 +0000 (18:16 +0000)]
am
7c01e3a9: Merge "Fix comment drift in assorted relocation packer modules."
* commit '
7c01e3a9ba80c85c7e7998d2347885e9a6e3bbf2':
Fix comment drift in assorted relocation packer modules.
Yabin Cui [Thu, 26 Mar 2015 18:14:22 +0000 (18:14 +0000)]
Merge "Revert "Cause Fatal error when invalid pthread_id is detected.""
Yabin Cui [Thu, 26 Mar 2015 18:13:07 +0000 (18:13 +0000)]
Revert "Cause Fatal error when invalid pthread_id is detected."
Some code like in https://buganizer.corp.google.com/u/0/issues/
19942911 need to change first.
This reverts commit
03324780aae9ff28c8acf52debf0ea39120e5ab8.
Change-Id: I13ff1e5b3d0672bae9cde234ffba32fbbf33d338
Dmitriy Ivanov [Thu, 26 Mar 2015 18:08:37 +0000 (18:08 +0000)]
am
f2d153f8: Merge "Initial implementation of __cxa_thread_atexit_impl"
* commit '
f2d153f836e529892854b91452fabd2c2fa79c05':
Initial implementation of __cxa_thread_atexit_impl
Simon Baldwin [Thu, 26 Mar 2015 18:01:13 +0000 (18:01 +0000)]
Merge "Fix comment drift in assorted relocation packer modules."
Dmitriy Ivanov [Thu, 26 Mar 2015 17:50:23 +0000 (17:50 +0000)]
Merge "Initial implementation of __cxa_thread_atexit_impl"
Simon Baldwin [Thu, 26 Mar 2015 17:13:19 +0000 (17:13 +0000)]
Fix comment drift in assorted relocation packer modules.
Some of the commentary in relocation packer code is relevant
only to the packing strategy employed by chromium, and no
longer applies here. This change fixes or deletes it.
Code comment change only; no functional effect.
Change-Id: Id229ee1d802bba608be15b79bc75bf90df557dab
Signed-off-by: Simon Baldwin <simonb@google.com>
Simon Baldwin [Thu, 26 Mar 2015 16:55:09 +0000 (16:55 +0000)]
am
7f8d91ea: Merge "Remove unused/unusable relocation packer files."
* commit '
7f8d91ea8e24e89db39ae868085913e763e04557':
Remove unused/unusable relocation packer files.
Simon Baldwin [Thu, 26 Mar 2015 16:41:00 +0000 (16:41 +0000)]
Merge "Remove unused/unusable relocation packer files."
Yabin Cui [Thu, 26 Mar 2015 04:36:16 +0000 (04:36 +0000)]
am
b9232c94: Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."
* commit '
b9232c94da831d485b3896580a3d1ac9abc46a4f':
Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.
Yabin Cui [Thu, 26 Mar 2015 04:21:15 +0000 (04:21 +0000)]
Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."
Yabin Cui [Thu, 26 Mar 2015 04:19:40 +0000 (04:19 +0000)]
am
69847bc2: Merge "Hide internal of pthread_mutex_t."
* commit '
69847bc298de62917663d22b6733ef75b57124fa':
Hide internal of pthread_mutex_t.
Yabin Cui [Thu, 26 Mar 2015 04:19:39 +0000 (04:19 +0000)]
am
fa3dcecc: Merge "Fix in error handling in pthread_create.cpp."
* commit '
fa3dcecc0fd7bbbf04234e41be690a5d33277870':
Fix in error handling in pthread_create.cpp.
Yabin Cui [Thu, 26 Mar 2015 02:59:00 +0000 (19:59 -0700)]
Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.
These macros are also not used in glibc. And we should use
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP instead.
Change-Id: I35195e2f499712dcde9305bbb93622d0f7ca874b
Yabin Cui [Thu, 26 Mar 2015 02:10:06 +0000 (02:10 +0000)]
Merge "Hide internal of pthread_mutex_t."
Dmitriy Ivanov [Thu, 26 Mar 2015 00:38:10 +0000 (17:38 -0700)]
Initial implementation of __cxa_thread_atexit_impl
This is initial implementations; does not yet handle
dlclose - undefined behavior, needs linker support to
handle it right.
Bug:
19800080
Bug:
16696563
Change-Id: I7a3e21ed7f7ec01e62ea1b7cb2ab253590ea0686
Yabin Cui [Sat, 21 Mar 2015 22:08:25 +0000 (15:08 -0700)]
Hide internal of pthread_mutex_t.
Bug:
19249079
Change-Id: Iffb79c8d861b698d474f212dc80c638fc2cf1620
Yabin Cui [Thu, 26 Mar 2015 00:26:59 +0000 (00:26 +0000)]
Merge "Fix in error handling in pthread_create.cpp."
Yabin Cui [Wed, 25 Mar 2015 23:18:21 +0000 (16:18 -0700)]
Fix in error handling in pthread_create.cpp.
It is due to a previous change "Let g_thread_list_lock only protect g_thread_list".
We need to add the newly created thread to thread_list even if
__init_thread fails, so the thread can exit successfully.
Change-Id: I0332df11acfdd181350bcc092b12d90d679057a4
Yabin Cui [Wed, 25 Mar 2015 23:04:27 +0000 (23:04 +0000)]
am
36d5b6f4: Merge "Cause Fatal error when invalid pthread_id is detected."
* commit '
36d5b6f47dd14fd9733d935174d2b8e0deb979c6':
Cause Fatal error when invalid pthread_id is detected.
Yabin Cui [Wed, 25 Mar 2015 22:53:49 +0000 (22:53 +0000)]
Merge "Cause Fatal error when invalid pthread_id is detected."
Yabin Cui [Wed, 25 Mar 2015 00:43:14 +0000 (17:43 -0700)]
Cause Fatal error when invalid pthread_id is detected.
This is a patch testing whether we can use abort() instead of
returning ESRCH for invalid pthread ids. It is an intermediate
step to remove g_thread_list/g_thread_list_lock.
Bug:
19636317
Change-Id: Idd8e4a346c7ce91e1be0c2ebcb78ce51c0d0a31d
Yabin Cui [Wed, 25 Mar 2015 20:28:51 +0000 (20:28 +0000)]
am
0c3b632b: Merge "Add O_APPEND flag for __libc_write_stderr."
* commit '
0c3b632bd6570064bab1055d2b8a51cfb85e60bb':
Add O_APPEND flag for __libc_write_stderr.
Yabin Cui [Wed, 25 Mar 2015 20:17:34 +0000 (20:17 +0000)]
Merge "Add O_APPEND flag for __libc_write_stderr."
Yabin Cui [Wed, 25 Mar 2015 19:36:18 +0000 (12:36 -0700)]
Add O_APPEND flag for __libc_write_stderr.
For DeathTests, we are testing the output of stderr to check if it is the
death we are expecting. To collect the output, Gtest redirects stderr to
a temporary file. But in __libc_write_stderr in libc_logging.cpp, we are
writing to stderr without a O_APPEND flag, so a new message will overwrite
a previous message.
The above situation makes almost all the DeathTests fail on host. Because
the expected message are always overwritten in host DeathTests. So I add
O_APPEND flag in __libc_write_stderr, which makes all host DeathTests pass.
Change-Id: Ic2f6044fdb181eebe132a6f170b57db43c5c3289
Christopher Ferris [Wed, 25 Mar 2015 18:59:06 +0000 (18:59 +0000)]
am
f6364486: Merge "Use ALIAS_SYMBOL for assembler aliasing."
* commit '
f6364486fb0fcd2891094a871041a3dc6c2334f8':
Use ALIAS_SYMBOL for assembler aliasing.
Christopher Ferris [Wed, 25 Mar 2015 17:52:49 +0000 (17:52 +0000)]
Merge "Use ALIAS_SYMBOL for assembler aliasing."
Simon Baldwin [Wed, 25 Mar 2015 16:14:30 +0000 (16:14 +0000)]
Remove unused/unusable relocation packer files.
Removes:
- src/run_length_encoder.h
artifact of the original packing tool, not used here
- test_data/generate_elf_file_unittest_relocs.sh
- test_data/generate_elf_file_unittest_relocs.py
test data generation for chromium/gyp, not usable here
- README.TXT
because it is now almost entirely outdated
Change-Id: Ic4cd372647d9a365dc52833a6cc1cf66f0c95ec9
Christopher Ferris [Wed, 25 Mar 2015 16:12:00 +0000 (09:12 -0700)]
Use ALIAS_SYMBOL for assembler aliasing.
Change-Id: I8d04d2da0a1ac440cc9044fc819c9a8eda5ff17d
Christopher Ferris [Wed, 25 Mar 2015 04:31:15 +0000 (04:31 +0000)]
am
f5e0ba94: Merge "Make gensyscalls.py use the ALIAS_SYMBOL macro."
* commit '
f5e0ba94d911ef2622ecfd3f7fabc4432a4806d3':
Make gensyscalls.py use the ALIAS_SYMBOL macro.
Christopher Ferris [Wed, 25 Mar 2015 04:20:45 +0000 (04:20 +0000)]
Merge "Make gensyscalls.py use the ALIAS_SYMBOL macro."
Christopher Ferris [Tue, 24 Mar 2015 23:50:46 +0000 (16:50 -0700)]
Make gensyscalls.py use the ALIAS_SYMBOL macro.
Change-Id: Ib94c0abb6fc85126ecc5ed3f1962b2b8b90b9952
Dmitriy Ivanov [Wed, 25 Mar 2015 00:55:44 +0000 (00:55 +0000)]
am
70cafb16: Merge "Replace fixed arrays with vectors"
* commit '
70cafb16ec9ab23ad65542534af5a1ac7d6e70e4':
Replace fixed arrays with vectors
Dmitriy Ivanov [Wed, 25 Mar 2015 00:45:19 +0000 (00:45 +0000)]
Merge "Replace fixed arrays with vectors"
Dmitriy Ivanov [Tue, 24 Mar 2015 01:43:02 +0000 (18:43 -0700)]
Replace fixed arrays with vectors
This effectively removes limit on length and count
of LD_LIBRARY_PATH and LD_PRELOAD entries.
Change-Id: Ie7ea34a50d99c4018f9dd1a33aaebc4049a7f424
Dan Albert [Tue, 24 Mar 2015 21:41:56 +0000 (21:41 +0000)]
am
ee4997ec: Merge "Convert result of a call to JSON."
* commit '
ee4997ecc3daeb9af110d932ddb27f969cc7271a':
Convert result of a call to JSON.
Dan Albert [Tue, 24 Mar 2015 21:28:30 +0000 (21:28 +0000)]
Merge "Convert result of a call to JSON."
Dan Albert [Tue, 24 Mar 2015 18:43:55 +0000 (11:43 -0700)]
Convert result of a call to JSON.
I still had the service that was relying on this running on top of
local changes, so this hadn't been a problem yet.
Change-Id: I63b45b8c7cf81972dbb7128013c1c777a2342d4c
Yabin Cui [Tue, 24 Mar 2015 02:51:53 +0000 (02:51 +0000)]
am
93d44ff2: Merge "Let g_thread_list_lock only protect g_thread_list."
* commit '
93d44ff2a6e0febe18d42d5690e85023545318b4':
Let g_thread_list_lock only protect g_thread_list.
Yabin Cui [Tue, 24 Mar 2015 02:39:50 +0000 (02:39 +0000)]
Merge "Let g_thread_list_lock only protect g_thread_list."
Yabin Cui [Thu, 19 Mar 2015 21:19:19 +0000 (14:19 -0700)]
Let g_thread_list_lock only protect g_thread_list.
As glibc/netbsd don't protect access to thread struct members by a global
lock, we don't want to do it either. This change reduces the
responsibility of g_thread_list_lock to only protect g_thread_list.
Bug:
19636317
Change-Id: I897890710653dac165d8fa4452c7ecf74abdbf2b
Dmitriy Ivanov [Tue, 24 Mar 2015 01:00:49 +0000 (01:00 +0000)]
am
32b039e4: Merge "RTLD_LAZY is not supported, use RTLD_NOW instead."
* commit '
32b039e46eee4d40b9979eab873a957e86fbf969':
RTLD_LAZY is not supported, use RTLD_NOW instead.