OSDN Git Service
Christopher Ferris [Mon, 9 Feb 2015 04:15:11 +0000 (04:15 +0000)]
am
e66b2780: am
6880ec44: am
d687905f: Merge "Display errors instead of running infinitely."
* commit '
e66b2780a77ecbe1eaa1273dd5555e261ef0dfd5':
Display errors instead of running infinitely.
Tao Bao [Mon, 9 Feb 2015 04:13:35 +0000 (04:13 +0000)]
am
5690237c: am
35947160: am
bc64d1d1: Merge "Switch kernel header parsing to python libclang"
* commit '
5690237c6f95afec3460f7f5e7d6c2ab6bfc608a':
Switch kernel header parsing to python libclang
Colin Cross [Mon, 9 Feb 2015 04:13:31 +0000 (04:13 +0000)]
am
fa8a43e6: am
0ef78e38: am
44e88db1: Merge "Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs"
* commit '
fa8a43e6dffab323f9c0b8ad91df8e6e76832b85':
Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs
Christopher Ferris [Sat, 7 Feb 2015 02:30:28 +0000 (02:30 +0000)]
am
6880ec44: am
d687905f: Merge "Display errors instead of running infinitely."
* commit '
6880ec44c339a720ebc9128fb6a11362ca7d5634':
Display errors instead of running infinitely.
Christopher Ferris [Sat, 7 Feb 2015 02:24:36 +0000 (02:24 +0000)]
am
d687905f: Merge "Display errors instead of running infinitely."
* commit '
d687905f11102a7f6bad461b6f501dc870c59999':
Display errors instead of running infinitely.
Christopher Ferris [Sat, 7 Feb 2015 02:18:39 +0000 (02:18 +0000)]
Merge "Display errors instead of running infinitely."
Christopher Ferris [Tue, 3 Feb 2015 23:16:03 +0000 (15:16 -0800)]
Display errors instead of running infinitely.
When there is an error detected, the code runs forever and then times
out without any indication of what happened. Change it so that error
messages are printed and the test fails.
Change-Id: Id3160fc2f394984de0157356594fd8b40de66b4a
Tao Bao [Fri, 6 Feb 2015 23:39:23 +0000 (23:39 +0000)]
am
35947160: am
bc64d1d1: Merge "Switch kernel header parsing to python libclang"
* commit '
35947160f96931a6464a9425b04f79232b389ed0':
Switch kernel header parsing to python libclang
Tao Bao [Fri, 6 Feb 2015 23:32:43 +0000 (23:32 +0000)]
am
bc64d1d1: Merge "Switch kernel header parsing to python libclang"
* commit '
bc64d1d1fd12a0b43bcfe3f88698f29185ab63e0':
Switch kernel header parsing to python libclang
Colin Cross [Fri, 6 Feb 2015 23:31:35 +0000 (23:31 +0000)]
am
0ef78e38: am
44e88db1: Merge "Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs"
* commit '
0ef78e3840b3bfcc07a13d7ffa69dfdd8313e80c':
Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs
Tao Bao [Fri, 6 Feb 2015 23:25:29 +0000 (23:25 +0000)]
Merge "Switch kernel header parsing to python libclang"
Colin Cross [Fri, 6 Feb 2015 22:53:18 +0000 (22:53 +0000)]
am
44e88db1: Merge "Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs"
* commit '
44e88db185cc65b49373dd76d8ed27264b7299ed':
Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs
Tao Bao [Wed, 28 Jan 2015 18:07:51 +0000 (10:07 -0800)]
Switch kernel header parsing to python libclang
Replace the tokenizer in cpp.py with libclang.
Bug:
18937958
Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
Colin Cross [Fri, 6 Feb 2015 22:45:59 +0000 (22:45 +0000)]
Merge "Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs"
Colin Cross [Fri, 6 Feb 2015 22:16:17 +0000 (14:16 -0800)]
Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs
Change-Id: If61d6faae5d91c3bbe198e733e5922cd877ba353
Yabin Cui [Thu, 5 Feb 2015 22:14:34 +0000 (22:14 +0000)]
am
b69e9f1f: am
da73dac7: am
bda85a12: Merge "Add path separator in bionic-unit-tests program path."
* commit '
b69e9f1fe1599c6e914586c5e3d16cedee94337a':
Add path separator in bionic-unit-tests program path.
Yabin Cui [Thu, 5 Feb 2015 22:08:49 +0000 (22:08 +0000)]
am
da73dac7: am
bda85a12: Merge "Add path separator in bionic-unit-tests program path."
* commit '
da73dac7acce09b76bd6d811c8be694e69acbd17':
Add path separator in bionic-unit-tests program path.
Yabin Cui [Thu, 5 Feb 2015 22:01:41 +0000 (22:01 +0000)]
am
bda85a12: Merge "Add path separator in bionic-unit-tests program path."
* commit '
bda85a12392b10555dc03ac377c8450b8f0790d6':
Add path separator in bionic-unit-tests program path.
Yabin Cui [Thu, 5 Feb 2015 21:55:18 +0000 (21:55 +0000)]
Merge "Add path separator in bionic-unit-tests program path."
Elliott Hughes [Thu, 5 Feb 2015 20:39:12 +0000 (20:39 +0000)]
am
ec56d962: am
87c44930: am
9dfb00c1: Merge "Use the libcxxabi __cxa_demangle."
* commit '
ec56d962add687914fd98f04732840613b62df8c':
Use the libcxxabi __cxa_demangle.
Elliott Hughes [Thu, 5 Feb 2015 20:39:12 +0000 (20:39 +0000)]
am
4aa6d06d: am
1ec1bbda: am
9a9b6357: Merge "Apparently, logd does need the NULs."
* commit '
4aa6d06d7b64493b3757abc584e3cc0437ebb948':
Apparently, logd does need the NULs.
Elliott Hughes [Thu, 5 Feb 2015 20:31:07 +0000 (20:31 +0000)]
am
87c44930: am
9dfb00c1: Merge "Use the libcxxabi __cxa_demangle."
* commit '
87c44930486af960de27996d94b742f19399b82b':
Use the libcxxabi __cxa_demangle.
Elliott Hughes [Thu, 5 Feb 2015 20:31:06 +0000 (20:31 +0000)]
am
1ec1bbda: am
9a9b6357: Merge "Apparently, logd does need the NULs."
* commit '
1ec1bbda7f254266653a0db470f6e5d699a0cad1':
Apparently, logd does need the NULs.
Elliott Hughes [Thu, 5 Feb 2015 20:26:21 +0000 (20:26 +0000)]
am
9dfb00c1: Merge "Use the libcxxabi __cxa_demangle."
* commit '
9dfb00c1d48545a2627c2aded62d3a79749351fb':
Use the libcxxabi __cxa_demangle.
Elliott Hughes [Thu, 5 Feb 2015 20:22:39 +0000 (20:22 +0000)]
am
9a9b6357: Merge "Apparently, logd does need the NULs."
* commit '
9a9b635745dc776dcfeec51d68b85ca7e8cdbe7d':
Apparently, logd does need the NULs.
Elliott Hughes [Thu, 5 Feb 2015 20:21:35 +0000 (20:21 +0000)]
Merge "Use the libcxxabi __cxa_demangle."
Yabin Cui [Thu, 5 Feb 2015 20:15:14 +0000 (20:15 +0000)]
am
78c9743d: am
ffcabed4: am
63826658: Merge "Add signal handling in bionic gtest main."
* commit '
78c9743de62463244bffeedeee557533e8f377f1':
Add signal handling in bionic gtest main.
Dimitry Ivanov [Thu, 5 Feb 2015 20:15:13 +0000 (20:15 +0000)]
am
e4c93e88: am
a1d3aa1f: am
8e5f9bc8: Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"
* commit '
e4c93e889475e4702092d2bebc1459b1f9a637d7':
linker: Use load_bias to adjust search address in elf_addr_lookup
Colin Cross [Thu, 5 Feb 2015 20:15:12 +0000 (20:15 +0000)]
am
08f6d7c9: am
427d438d: am
da2c0a70: Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680
* commit '
08f6d7c9eb5fbd921b44ab6a6c63b4eb9fa3ac95':
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
Fix typo in cpu variant makefile depenendency for arm64
Remove libc_static_common_src_files
Share LP32 makefile settings between arches
Yabin Cui [Thu, 5 Feb 2015 20:15:11 +0000 (20:15 +0000)]
am
c249e7d6: am
e760a1eb: am
17976019: Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."
* commit '
c249e7d6c9f9bfa8e9499eacbd0630bf3bff9ec4':
Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test.
Elliott Hughes [Thu, 5 Feb 2015 20:05:45 +0000 (20:05 +0000)]
Merge "Apparently, logd does need the NULs."
Elliott Hughes [Thu, 5 Feb 2015 20:05:34 +0000 (12:05 -0800)]
Use the libcxxabi __cxa_demangle.
Bug:
18930951
Change-Id: If2ea3633ac6dfd4ec975c0f16bdf3dd58e05c614
Elliott Hughes [Thu, 5 Feb 2015 20:02:04 +0000 (12:02 -0800)]
Apparently, logd does need the NULs.
Change-Id: I04b834e65c26c5821b952f78a0de7f92527cbdba
Yabin Cui [Thu, 5 Feb 2015 18:47:26 +0000 (18:47 +0000)]
am
ffcabed4: am
63826658: Merge "Add signal handling in bionic gtest main."
* commit '
ffcabed4bf8555e721c215a5140e2c8120add8af':
Add signal handling in bionic gtest main.
Dimitry Ivanov [Thu, 5 Feb 2015 18:47:07 +0000 (18:47 +0000)]
am
a1d3aa1f: am
8e5f9bc8: Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"
* commit '
a1d3aa1f9579eaf579f579b43f836635fc9a5674':
linker: Use load_bias to adjust search address in elf_addr_lookup
Colin Cross [Thu, 5 Feb 2015 18:47:07 +0000 (18:47 +0000)]
am
427d438d: am
da2c0a70: Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680
* commit '
427d438dd44bb79dad87d51ad60593872391e7a7':
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
Fix typo in cpu variant makefile depenendency for arm64
Remove libc_static_common_src_files
Share LP32 makefile settings between arches
Yabin Cui [Thu, 5 Feb 2015 18:47:06 +0000 (18:47 +0000)]
am
e760a1eb: am
17976019: Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."
* commit '
e760a1eb30804df478640b2176fc798ab6e7db9b':
Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test.
Yabin Cui [Thu, 5 Feb 2015 04:53:56 +0000 (20:53 -0800)]
Add path separator in bionic-unit-tests program path.
Bug:
19220800
Change-Id: I4245b1270363544cd5f083fe7ea7d9b11b46cdc0
Yabin Cui [Thu, 5 Feb 2015 04:24:43 +0000 (04:24 +0000)]
am
63826658: Merge "Add signal handling in bionic gtest main."
* commit '
63826658f4bcfff4f3a87fe651f22cc9b35fe8b9':
Add signal handling in bionic gtest main.
Yabin Cui [Thu, 5 Feb 2015 04:21:03 +0000 (04:21 +0000)]
Merge "Add signal handling in bionic gtest main."
Yabin Cui [Tue, 3 Feb 2015 03:14:05 +0000 (19:14 -0800)]
Add signal handling in bionic gtest main.
The two bugs are very closely related and code amount is very small,
So I think they may be fixed in one change.
Bug:
19128558
Bug:
19129994
Change-Id: I44a35398e64dfca7e9676428cb8f4026e8f6e488
Dimitry Ivanov [Thu, 5 Feb 2015 02:30:48 +0000 (02:30 +0000)]
am
8e5f9bc8: Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"
* commit '
8e5f9bc8a46872e3f0ac4799558fdfd5999f9c20':
linker: Use load_bias to adjust search address in elf_addr_lookup
Colin Cross [Thu, 5 Feb 2015 02:30:47 +0000 (02:30 +0000)]
am
da2c0a70: Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680
* commit '
da2c0a708ed6c0091f3f89fd8838292579dad800':
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
Fix typo in cpu variant makefile depenendency for arm64
Remove libc_static_common_src_files
Share LP32 makefile settings between arches
Yabin Cui [Thu, 5 Feb 2015 02:30:46 +0000 (02:30 +0000)]
am
17976019: Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."
* commit '
17976019a13a94ae428849bfe297f8e531f95013':
Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test.
Dimitry Ivanov [Thu, 5 Feb 2015 02:23:34 +0000 (02:23 +0000)]
Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"
Colin Cross [Thu, 5 Feb 2015 01:57:27 +0000 (01:57 +0000)]
Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680
* changes:
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
Fix typo in cpu variant makefile depenendency for arm64
Remove libc_static_common_src_files
Share LP32 makefile settings between arches
Colin Cross [Thu, 5 Feb 2015 01:40:29 +0000 (17:40 -0800)]
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
LOCAL_LDFLAGS_<arch> was being set for arm64, mips64, and x86_64.
Use LOCAL_LDFLAGS_64 instead.
Change-Id: Ib87855e8a7783f82461b707fffa7f1663e6be9c8
Colin Cross [Thu, 5 Feb 2015 01:38:27 +0000 (17:38 -0800)]
Fix typo in cpu variant makefile depenendency for arm64
cpu_variank_mk -> cpu_variant_mk
Change-Id: I4b46ae20de72ed2dc8820d62ac35ddc6b915a195
Colin Cross [Thu, 5 Feb 2015 01:37:23 +0000 (17:37 -0800)]
Remove libc_static_common_src_files
libc_static_common_src_files is never set after
c3f114037dbf028896310609fd28cf2b3da99c4d, remove the remaining
references to it.
Change-Id: I66364a5c1b031ad69d608f6f44244049192944f6
Colin Cross [Thu, 5 Feb 2015 01:35:49 +0000 (17:35 -0800)]
Share LP32 makefile settings between arches
Add <var>_32 to patch-up-arch-specific-flags, and move the LP32
cruft varaibles from the 32-bit arch specific makefiles into the
top level Android.mk.
Change-Id: Id3fcf6805d4af048c2524c94b1295416ebe7d057
Chris Dearman [Thu, 14 Nov 2013 01:22:33 +0000 (17:22 -0800)]
linker: Use load_bias to adjust search address in elf_addr_lookup
load_bias is the delta between a symbols address in memory and the value
contained in the symbol table.
Change-Id: I35c87b69025b64f7e4a1418ca766618f4533fb3e
Yabin Cui [Thu, 5 Feb 2015 01:14:32 +0000 (01:14 +0000)]
Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."
Yabin Cui [Wed, 4 Feb 2015 01:52:32 +0000 (17:52 -0800)]
Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test.
Bug:
19220800
Change-Id: Ie75c640183c4a41a499556fefb4f824a134a5fb1
Neil Fuller [Wed, 4 Feb 2015 18:59:01 +0000 (18:59 +0000)]
am
0abb17dd: am
6d632af3: am
2151f09f: Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."
* commit '
0abb17dd29cddb62c79e7770fddff203800846ff':
Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.
Yabin Cui [Wed, 4 Feb 2015 18:56:59 +0000 (18:56 +0000)]
am
5ace71de: am
dcf371f5: am
7e1b3d3e: Merge "Switch sem_t from bionic atomics to stdatomic.h."
* commit '
5ace71de3f6280f086ac4a1b9bb403b88472953a':
Switch sem_t from bionic atomics to stdatomic.h.
Neil Fuller [Wed, 4 Feb 2015 16:45:04 +0000 (16:45 +0000)]
am
6d632af3: am
2151f09f: Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."
* commit '
6d632af3b04e505a88aa0b73f95a873dcbd472f7':
Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.
Neil Fuller [Wed, 4 Feb 2015 16:39:06 +0000 (16:39 +0000)]
am
2151f09f: Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."
* commit '
2151f09fbfc2f6084366587df10132e93f4d818c':
Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.
Neil Fuller [Wed, 4 Feb 2015 16:33:01 +0000 (16:33 +0000)]
Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."
Fredrik Roubert [Wed, 4 Feb 2015 16:17:34 +0000 (17:17 +0100)]
Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.
This is now necessary to build .dat files that are useable for ICU4J as
well, and will need to be used for any future updates of the .dat file:
https://android.googlesource.com/platform/external/icu/+/
6b52738
Change-Id: Ifa3a7469a66ab932db20876697e45814f0c5ddc3
Yabin Cui [Wed, 4 Feb 2015 02:49:41 +0000 (02:49 +0000)]
am
dcf371f5: am
7e1b3d3e: Merge "Switch sem_t from bionic atomics to stdatomic.h."
* commit '
dcf371f5e7142e548b8f422bf45db14d15d86b62':
Switch sem_t from bionic atomics to stdatomic.h.
Yabin Cui [Wed, 4 Feb 2015 02:45:44 +0000 (02:45 +0000)]
am
7e1b3d3e: Merge "Switch sem_t from bionic atomics to stdatomic.h."
* commit '
7e1b3d3e68f7430322a88be06f6b53c358fd14bf':
Switch sem_t from bionic atomics to stdatomic.h.
Yabin Cui [Wed, 4 Feb 2015 02:42:15 +0000 (02:42 +0000)]
Merge "Switch sem_t from bionic atomics to stdatomic.h."
Yabin Cui [Fri, 30 Jan 2015 20:30:08 +0000 (12:30 -0800)]
Switch sem_t from bionic atomics to stdatomic.h.
Bug:
17572887
Change-Id: If66851ba9b831cdd698b9f1303289bb14448bd03
Yabin Cui [Tue, 3 Feb 2015 22:56:43 +0000 (22:56 +0000)]
am
70ad54d8: am
2d988187: am
11829be3: Merge "Add test about pthread_mutex_t owner tid limit."
* commit '
70ad54d8c0cdcffa476e671554afcfb5fd385090':
Add test about pthread_mutex_t owner tid limit.
Yabin Cui [Tue, 3 Feb 2015 22:40:46 +0000 (22:40 +0000)]
am
2d988187: am
11829be3: Merge "Add test about pthread_mutex_t owner tid limit."
* commit '
2d988187712f52773b89421d139b266c8b58f769':
Add test about pthread_mutex_t owner tid limit.
Yabin Cui [Tue, 3 Feb 2015 22:34:58 +0000 (22:34 +0000)]
am
11829be3: Merge "Add test about pthread_mutex_t owner tid limit."
* commit '
11829be3e1a9e9e2271ba64a78c327bde6e044eb':
Add test about pthread_mutex_t owner tid limit.
Yabin Cui [Tue, 3 Feb 2015 22:28:55 +0000 (22:28 +0000)]
Merge "Add test about pthread_mutex_t owner tid limit."
Nick Kralevich [Tue, 3 Feb 2015 20:39:28 +0000 (20:39 +0000)]
am
3ce62609: am
72c3071d: am
f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls are hidden."
* commit '
3ce62609f2693f167e1771f66cee0ed986f7aabb':
Ensure raw fchmod/fchmodat syscalls are hidden.
Nick Kralevich [Tue, 3 Feb 2015 20:32:59 +0000 (20:32 +0000)]
am
72c3071d: am
f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls are hidden."
* commit '
72c3071d548ee3bf3711abf13dce25042ccc3cea':
Ensure raw fchmod/fchmodat syscalls are hidden.
Nick Kralevich [Tue, 3 Feb 2015 20:24:53 +0000 (20:24 +0000)]
am
f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls are hidden."
* commit '
f00f484cb59c1d599242daecbf833397aa3ba5d8':
Ensure raw fchmod/fchmodat syscalls are hidden.
Yabin Cui [Tue, 3 Feb 2015 18:32:00 +0000 (10:32 -0800)]
Add test about pthread_mutex_t owner tid limit.
Bug:
19216648
Change-Id: I7b12955bdcad31c13bf8ec2740ff88ba15223ec0
Nick Kralevich [Tue, 3 Feb 2015 20:17:32 +0000 (20:17 +0000)]
Merge "Ensure raw fchmod/fchmodat syscalls are hidden."
Nick Kralevich [Tue, 3 Feb 2015 19:27:25 +0000 (11:27 -0800)]
Ensure raw fchmod/fchmodat syscalls are hidden.
In https://android-review.googlesource.com/#/c/127908/5/libc/SYSCALLS.TXT@116
Elliott said:
for LP64 these will be hidden. for LP32 we were cowards and left
them all public for compatibility (though i don't think we ever
dremeled to see whether it was needed). we don't have an easy
way to recognize additions, though, so we can't prevent adding
new turds.
Add a mechanism to prevent the adding of new turds, and use that
mechanism on the fchmod/fchmodat system calls.
Bug:
19233951
Change-Id: I98f98345970b631a379f348df57858f9fc3d57c0
Neil Fuller [Tue, 3 Feb 2015 15:05:45 +0000 (15:05 +0000)]
am
f0e556a2: am
4177bd8d: Fixes to the update-tzdata.py tool
* commit '
f0e556a2f96843b08dfdffc013a34730a0104eca':
Fixes to the update-tzdata.py tool
Neil Fuller [Tue, 3 Feb 2015 15:05:44 +0000 (15:05 +0000)]
am
d3ef8fbd: am
700eb048: Update tzdata to tzdata2015a
* commit '
d3ef8fbdf746588e5c4a1ef2961f25ceabec8e42':
Update tzdata to tzdata2015a
Neil Fuller [Tue, 3 Feb 2015 15:00:20 +0000 (15:00 +0000)]
am
4177bd8d: Fixes to the update-tzdata.py tool
* commit '
4177bd8d16e0dc2d0d541fc54f81518c57651e55':
Fixes to the update-tzdata.py tool
Neil Fuller [Tue, 3 Feb 2015 15:00:18 +0000 (15:00 +0000)]
am
700eb048: Update tzdata to tzdata2015a
* commit '
700eb048fb6df8805245097d73a87384108fdf67':
Update tzdata to tzdata2015a
Hans Boehm [Tue, 3 Feb 2015 03:00:28 +0000 (03:00 +0000)]
am
da3a4490: am
0cddad0f: am
d57bf449: Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."
* commit '
da3a449043036e29f9295eb71d85a9d2f3e9b204':
Switch pthread_mutex_t from bionic atomics to <stdatomic.h>.
Hans Boehm [Tue, 3 Feb 2015 02:53:31 +0000 (02:53 +0000)]
am
0cddad0f: am
d57bf449: Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."
* commit '
0cddad0fd17274575abe2e25484c909def51d7e3':
Switch pthread_mutex_t from bionic atomics to <stdatomic.h>.
Hans Boehm [Tue, 3 Feb 2015 02:48:20 +0000 (02:48 +0000)]
am
d57bf449: Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."
* commit '
d57bf449fe6c2dcf35d90d6e4098038ac8a24ecb':
Switch pthread_mutex_t from bionic atomics to <stdatomic.h>.
Hans Boehm [Tue, 3 Feb 2015 02:42:53 +0000 (02:42 +0000)]
Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."
Elliott Hughes [Tue, 3 Feb 2015 02:00:45 +0000 (02:00 +0000)]
am
ea31751e: am
aa916c8d: am
c5999c1e: Merge "Clean up SEEK_SET definitions."
* commit '
ea31751e4b61adeaad1cf186b1774df4591012e2':
Clean up SEEK_SET definitions.
Elliott Hughes [Tue, 3 Feb 2015 01:31:08 +0000 (01:31 +0000)]
am
aa916c8d: am
c5999c1e: Merge "Clean up SEEK_SET definitions."
* commit '
aa916c8db85b01389b929f060f232b3e06448e79':
Clean up SEEK_SET definitions.
Elliott Hughes [Tue, 3 Feb 2015 01:25:23 +0000 (01:25 +0000)]
am
c5999c1e: Merge "Clean up SEEK_SET definitions."
* commit '
c5999c1e0382c40286cc631c6a53e7781bc03154':
Clean up SEEK_SET definitions.
Elliott Hughes [Tue, 3 Feb 2015 01:21:16 +0000 (01:21 +0000)]
Merge "Clean up SEEK_SET definitions."
Yabin Cui [Fri, 30 Jan 2015 05:50:48 +0000 (21:50 -0800)]
Switch pthread_mutex_t from bionic atomics to <stdatomic.h>.
Bug:
17574456
Change-Id: I5ce3d3dc07e804e9ce55c42920f47531b56e04de
Nick Kralevich [Mon, 2 Feb 2015 22:17:41 +0000 (22:17 +0000)]
am
4c8a50ba: am
0cb8abc6: am
d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"
* commit '
4c8a50ba5d966981f8d88e61e0975cd8532b9db5':
Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support
Nick Kralevich [Mon, 2 Feb 2015 22:10:53 +0000 (22:10 +0000)]
am
0cb8abc6: am
d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"
* commit '
0cb8abc6207d7484ecbc9698064c1f24b9b668d5':
Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support
Nick Kralevich [Mon, 2 Feb 2015 22:07:35 +0000 (22:07 +0000)]
am
d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"
* commit '
d80ec66121b5af96c6b3d07ba34353b3d517f5b3':
Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support
Nick Kralevich [Mon, 2 Feb 2015 22:03:41 +0000 (22:03 +0000)]
Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"
Elliott Hughes [Mon, 2 Feb 2015 22:02:09 +0000 (14:02 -0800)]
Clean up SEEK_SET definitions.
If we lose the #ifndef, the compiler will tell us if the definitions
of SEEK_SET and friends ever get out of sync.
Change-Id: I357cabec7c9cd451c604342344f210bba20fb6bc
Nick Kralevich [Sun, 1 Feb 2015 03:57:46 +0000 (19:57 -0800)]
Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support
Many libc functions have an option to not follow symbolic
links. This is useful to avoid security sensitive code
from inadvertantly following attacker supplied symlinks
and taking inappropriate action on files it shouldn't.
For example, open() has O_NOFOLLOW, chown() has
lchown(), stat() has lstat(), etc.
There is no such equivalent function for chmod(), such as lchmod().
To address this, POSIX introduced fchmodat(AT_SYMLINK_NOFOLLOW),
which is intended to provide a way to perform a chmod operation
which doesn't follow symlinks.
Currently, the Linux kernel doesn't implement AT_SYMLINK_NOFOLLOW.
In GLIBC, attempting to use the AT_SYMLINK_NOFOLLOW flag causes
fchmodat to return ENOTSUP. Details are in "man fchmodat".
Bionic currently differs from GLIBC in that AT_SYMLINK_NOFOLLOW
is silently ignored and treated as if the flag wasn't present.
This patch provides a userspace implementation of
AT_SYMLINK_NOFOLLOW for bionic. Using open(O_PATH | O_NOFOLLOW),
we can provide a way to atomically change the permissions on
files without worrying about race conditions.
As part of this change, we add support for fchmod on O_PATH
file descriptors, because it's relatively straight forward
and could be useful in the future.
The basic idea behind this implementation comes from
https://sourceware.org/bugzilla/show_bug.cgi?id=14578 , specifically
comment #10.
Change-Id: I1eba0cdb2c509d9193ceecf28f13118188a3cfa7
Elliott Hughes [Mon, 2 Feb 2015 21:14:14 +0000 (21:14 +0000)]
am
671b7eb2: am
815fc9bc: am
c57b5c50: Merge "Small logging cleanup."
* commit '
671b7eb288df3816b108871b5349c79f86d23be8':
Small logging cleanup.
Elliott Hughes [Mon, 2 Feb 2015 20:54:27 +0000 (20:54 +0000)]
am
815fc9bc: am
c57b5c50: Merge "Small logging cleanup."
* commit '
815fc9bc9ecf96dd478c0800fdb9c4e9200320be':
Small logging cleanup.
Elliott Hughes [Mon, 2 Feb 2015 20:46:39 +0000 (20:46 +0000)]
am
c57b5c50: Merge "Small logging cleanup."
* commit '
c57b5c5094f915ff975a256e086d58e2e7cfedf1':
Small logging cleanup.
Elliott Hughes [Mon, 2 Feb 2015 20:36:29 +0000 (20:36 +0000)]
Merge "Small logging cleanup."
Elliott Hughes [Mon, 2 Feb 2015 20:24:46 +0000 (12:24 -0800)]
Small logging cleanup.
Don't send the trailing NUL bytes to the logger, call strlen if we already
know the length, or cast more specifically than we need to.
Change-Id: I68c9388a22bddea49120a1022dda8db8991360c1
Elliott Hughes [Mon, 2 Feb 2015 19:55:05 +0000 (19:55 +0000)]
am
c8820e61: am
6c1252de: am
530aaecc: Merge "Explicitly check that the reason fortify tests abort is fortify."
* commit '
c8820e61d1b6eafb7aad2095c6a1c742cf31ee15':
Explicitly check that the reason fortify tests abort is fortify.
Elliott Hughes [Mon, 2 Feb 2015 19:40:41 +0000 (19:40 +0000)]
am
6c1252de: am
530aaecc: Merge "Explicitly check that the reason fortify tests abort is fortify."
* commit '
6c1252decba273087411cd9e480d0422eabec6ef':
Explicitly check that the reason fortify tests abort is fortify.
Elliott Hughes [Mon, 2 Feb 2015 19:32:44 +0000 (19:32 +0000)]
am
530aaecc: Merge "Explicitly check that the reason fortify tests abort is fortify."
* commit '
530aaeccd875f708918f59cd5ff8b076c156adab':
Explicitly check that the reason fortify tests abort is fortify.