am 12e3a501: am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
* commit '12e3a5019a8bedcdac27470da92f81b5f7fd7b5b':
Fix pthread_test to work with gtest 1.7.0.
* commit '12e3a5019a8bedcdac27470da92f81b5f7fd7b5b':
Fix pthread_test to work with gtest 1.7.0.
am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
* commit '037b10d05a789eb57878127ee4d69db1008e8c80':
Fix pthread_test to work with gtest 1.7.0.
* commit '037b10d05a789eb57878127ee4d69db1008e8c80':
Fix pthread_test to work with gtest 1.7.0.
Merge "Fix pthread_test to work with gtest 1.7.0."
Fix pthread_test to work with gtest 1.7.0.
Now we're building it correctly configured, gtest takes a couple of
TLS slots for itself.
Change-Id: I1c2c4e9e5f9c6e2e2e6ecd1214cfc16a5af5afed
Now we're building it correctly configured, gtest takes a couple of
TLS slots for itself.
Change-Id: I1c2c4e9e5f9c6e2e2e6ecd1214cfc16a5af5afed
am 3bd75303: am c75e7726: Merge "Remove a __system_property_get call from the DNS code."
* commit '3bd75303f96a0838d971f98f941ee90bee6ba17d':
Remove a __system_property_get call from the DNS code.
* commit '3bd75303f96a0838d971f98f941ee90bee6ba17d':
Remove a __system_property_get call from the DNS code.
am c75e7726: Merge "Remove a __system_property_get call from the DNS code."
* commit 'c75e7726ea5167ea03c512c7c35117762548d93f':
Remove a __system_property_get call from the DNS code.
* commit 'c75e7726ea5167ea03c512c7c35117762548d93f':
Remove a __system_property_get call from the DNS code.
Merge "Remove a __system_property_get call from the DNS code."
Remove a __system_property_get call from the DNS code.
Change-Id: I48082ad9eb1b56349c6746ab2c371728c8571a81
Change-Id: I48082ad9eb1b56349c6746ab2c371728c8571a81
am 7055c72a: am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
* commit '7055c72a989188dd5e0984cc8cf6a2c0b2ffcc81':
bionic: Change the type of soinfo's size to size_t
* commit '7055c72a989188dd5e0984cc8cf6a2c0b2ffcc81':
bionic: Change the type of soinfo's size to size_t
am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
* commit '4ea434e5d22c8e257de3ff517fdda1175917b3ec':
bionic: Change the type of soinfo's size to size_t
* commit '4ea434e5d22c8e257de3ff517fdda1175917b3ec':
bionic: Change the type of soinfo's size to size_t
Merge "bionic: Change the type of soinfo's size to size_t"
bionic: Change the type of soinfo's size to size_t
Some system functions like munmap expect soinfo's size to be size_t, but currently
it is unsigned. Change it to size_t to fit 64bit's portability.
Change-Id: I0bf6d522b38b0cd9bf1db05b004b5326217412a2
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Some system functions like munmap expect soinfo's size to be size_t, but currently
it is unsigned. Change it to size_t to fit 64bit's portability.
Change-Id: I0bf6d522b38b0cd9bf1db05b004b5326217412a2
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
am 4bc229eb: am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
* commit '4bc229eb0228d0cfb5b58e87124e5473f3513f06':
Fix 32-bit mmap/mmap64 handling of negative offsets.
* commit '4bc229eb0228d0cfb5b58e87124e5473f3513f06':
Fix 32-bit mmap/mmap64 handling of negative offsets.
am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
* commit '4449fe9675671264746af4876bd959af8e9fee82':
Fix 32-bit mmap/mmap64 handling of negative offsets.
* commit '4449fe9675671264746af4876bd959af8e9fee82':
Fix 32-bit mmap/mmap64 handling of negative offsets.
am 2d7f9616: am 652dd519: Merge "Remove libthread_db from bionic."
* commit '2d7f9616fda2366845af3443c15eb3405eff9b6e':
Remove libthread_db from bionic.
* commit '2d7f9616fda2366845af3443c15eb3405eff9b6e':
Remove libthread_db from bionic.
Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
am 652dd519: Merge "Remove libthread_db from bionic."
* commit '652dd5196df87bdeef7bff452f1a4857a96e3133':
Remove libthread_db from bionic.
* commit '652dd5196df87bdeef7bff452f1a4857a96e3133':
Remove libthread_db from bionic.
Fix 32-bit mmap/mmap64 handling of negative offsets.
We don't actually need to worry about sign extension if we reject
negative values ourselves. Previously it was possible to come up
with negative but aligned values that we would pass to the kernel;
in the case of mmap (as opposed to mmap64) we'd incorrectly turn
those into large positive offsets.
Change-Id: I2aa583e0f892d59bb77429aea8730b72db32dcb0
We don't actually need to worry about sign extension if we reject
negative values ourselves. Previously it was possible to come up
with negative but aligned values that we would pass to the kernel;
in the case of mmap (as opposed to mmap64) we'd incorrectly turn
those into large positive offsets.
Change-Id: I2aa583e0f892d59bb77429aea8730b72db32dcb0
Merge "Remove libthread_db from bionic."
Remove libthread_db from bionic.
The NDK statically links its own copy into gdb.
Bug: 11882807
Change-Id: I0c7ed8761c32df3cc3644258551bc7d2e263f47b
The NDK statically links its own copy into gdb.
Bug: 11882807
Change-Id: I0c7ed8761c32df3cc3644258551bc7d2e263f47b
am cbb439ad: am ba0c668f: Merge "bionic: Do not use magic number for portability"
* commit 'cbb439addbe9f04de28f291ebd163575933da177':
bionic: Do not use magic number for portability
* commit 'cbb439addbe9f04de28f291ebd163575933da177':
bionic: Do not use magic number for portability
am ba0c668f: Merge "bionic: Do not use magic number for portability"
* commit 'ba0c668feca851fd52359bee4174a232f27697b4':
bionic: Do not use magic number for portability
* commit 'ba0c668feca851fd52359bee4174a232f27697b4':
bionic: Do not use magic number for portability
Merge "bionic: Do not use magic number for portability"
bionic: Do not use magic number for portability
Do not use the magic number 0xFFFFFFFFU to represent the max value of an address
as it's not correct on 64bit platform. We should use UINTPTR_MAX instead.
Change-Id: I1fc6f5864a651b2eddea2333cb0788f9d9223270
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
Do not use the magic number 0xFFFFFFFFU to represent the max value of an address
as it's not correct on 64bit platform. We should use UINTPTR_MAX instead.
Change-Id: I1fc6f5864a651b2eddea2333cb0788f9d9223270
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
am f3ea7917: am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
* commit 'f3ea791757dacdab64c870ccfb820e3e36a8d854':
Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
* commit 'f3ea791757dacdab64c870ccfb820e3e36a8d854':
Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
* commit '6f23ce36ce580da3c1419856c71d7426dd64748d':
Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
* commit '6f23ce36ce580da3c1419856c71d7426dd64748d':
Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
am 22750476: am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."
* commit '227504768413a7802efcea3c80ee8fb6d78af9c5':
Use arch-specific variable to set up the x86 ld flags.
* commit '227504768413a7802efcea3c80ee8fb6d78af9c5':
Use arch-specific variable to set up the x86 ld flags.
am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."
* commit 'b32cc032030e7a9f50b28d6dba5a40a38e6e76cf':
Use arch-specific variable to set up the x86 ld flags.
* commit 'b32cc032030e7a9f50b28d6dba5a40a38e6e76cf':
Use arch-specific variable to set up the x86 ld flags.
Merge "Use arch-specific variable to set up the x86 ld flags."
Use arch-specific variable to set up the x86 ld flags.
Bug: 11654773
Change-Id: I9e9075bac1303cfa39b0f717dd74625ce1dd5fa5
Bug: 11654773
Change-Id: I9e9075bac1303cfa39b0f717dd74625ce1dd5fa5
Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
The various committees decided that everyone should get all these macros,
all the time.
Bug: 12708004
Change-Id: Ib56010dcba9b0656e5701546fefb7f78dc0bf916
The various committees decided that everyone should get all these macros,
all the time.
Bug: 12708004
Change-Id: Ib56010dcba9b0656e5701546fefb7f78dc0bf916
am 50228472: am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
* commit '502284727b0e856442c95713ba61a16e7d86a5c1':
Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
* commit '502284727b0e856442c95713ba61a16e7d86a5c1':
Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
10 years agoam 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compa...
am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
* commit '5acce960f40f51107301398f9cadff680a634951':
Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
* commit '5acce960f40f51107301398f9cadff680a634951':
Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
Change-Id: I0e66a73e849a01817d016a688d7291c2fb604e48
Change-Id: I0e66a73e849a01817d016a688d7291c2fb604e48
am 35377004: am 513f83bb: Merge "bionic: rename aarch64 target to arm64"
* commit '353770042f38b0d377425f036979f7b90ac7429d':
bionic: rename aarch64 target to arm64
* commit '353770042f38b0d377425f036979f7b90ac7429d':
bionic: rename aarch64 target to arm64
am 513f83bb: Merge "bionic: rename aarch64 target to arm64"
* commit '513f83bb7f6961d60eb10d2ab14fb31fed190bce':
bionic: rename aarch64 target to arm64
* commit '513f83bb7f6961d60eb10d2ab14fb31fed190bce':
bionic: rename aarch64 target to arm64
Merge "bionic: rename aarch64 target to arm64"
am 0661bbe2: am 69d242d2: Merge "Re-export libgcc\'s __aeabi_uidivmod and __popcount_tab"
* commit '0661bbe2570ff52382552d9c404159f7651101f3':
Re-export libgcc's __aeabi_uidivmod and __popcount_tab
* commit '0661bbe2570ff52382552d9c404159f7651101f3':
Re-export libgcc's __aeabi_uidivmod and __popcount_tab
am 69d242d2: Merge "Re-export libgcc\'s __aeabi_uidivmod and __popcount_tab"
* commit '69d242d21cb3c40f241eaf7aceecc27bfb9385fa':
Re-export libgcc's __aeabi_uidivmod and __popcount_tab
* commit '69d242d21cb3c40f241eaf7aceecc27bfb9385fa':
Re-export libgcc's __aeabi_uidivmod and __popcount_tab
Merge "Re-export libgcc's __aeabi_uidivmod and __popcount_tab"
Re-export libgcc's __aeabi_uidivmod and __popcount_tab
This is required to make the Nexus 10 graphics driver work on a system
compiled with gcc 4.9.
Change-Id: If3f3d488652a736d9ea3e583548d74fae3ffa902
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
This is required to make the Nexus 10 graphics driver work on a system
compiled with gcc 4.9.
Change-Id: If3f3d488652a736d9ea3e583548d74fae3ffa902
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
bionic: rename aarch64 target to arm64
Rename aarch64 build targets to arm64. The gcc toolchain is still
aarch64.
Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
Rename aarch64 build targets to arm64. The gcc toolchain is still
aarch64.
Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
am 06d38ccd: am 5b4884fa: Merge "Add "__noreturn" to assert and assert2"
* commit '06d38ccda067428e0fbd448ad21cd8140fbecc11':
Add "__noreturn" to assert and assert2
* commit '06d38ccda067428e0fbd448ad21cd8140fbecc11':
Add "__noreturn" to assert and assert2
am 5b4884fa: Merge "Add "__noreturn" to assert and assert2"
* commit '5b4884fac90753c68d401de73036c2de919958eb':
Add "__noreturn" to assert and assert2
* commit '5b4884fac90753c68d401de73036c2de919958eb':
Add "__noreturn" to assert and assert2
Merge "Add "__noreturn" to assert and assert2"
Add "__noreturn" to assert and assert2
These functions should print assertion violation messages and then
call abort(). They do really not return control flow afterwards.
Consider the declaration of the similar __assert_fail from glibc:
extern void __assert_fail (const char *__assertion,
const char *__file,
unsigned int __line,
const char *__function)
__THROW __attribute__ ((__noreturn__));
Bionic has __noreturn defined in sys/cdefs.h to be that GNU
noreturn attribute.
This patch has a practical value. Consider the following function:
void check(void* ptr) {
assert(ptr != NULL);
}
Without this patch applied, gcc (and presumably clang) shows even in
debug mode:
warning: unused parameter 'ptr' [-Wunused-parameter]
In release mode, NDEBUG is defined and assert() becomes a no-op, as
one should expect. Thus, the warning is shown correctly then.
Another code sample:
float array[2];
int i = 3;
...
assert(i < 2);
array[i] = 0;
gcc says,
warning: array subscript is below array bounds [-Warray-bounds]
In other words, without noreturn attribute, assertions do not
allow a compiler's static analyzer to properly understand
the preconditions.
Change-Id: I3be92e99787c528899cf243ed448c4730c00c45b
Signed-off-by: Vadim Markovtsev <gmarkhor@gmail.com>
These functions should print assertion violation messages and then
call abort(). They do really not return control flow afterwards.
Consider the declaration of the similar __assert_fail from glibc:
extern void __assert_fail (const char *__assertion,
const char *__file,
unsigned int __line,
const char *__function)
__THROW __attribute__ ((__noreturn__));
Bionic has __noreturn defined in sys/cdefs.h to be that GNU
noreturn attribute.
This patch has a practical value. Consider the following function:
void check(void* ptr) {
assert(ptr != NULL);
}
Without this patch applied, gcc (and presumably clang) shows even in
debug mode:
warning: unused parameter 'ptr' [-Wunused-parameter]
In release mode, NDEBUG is defined and assert() becomes a no-op, as
one should expect. Thus, the warning is shown correctly then.
Another code sample:
float array[2];
int i = 3;
...
assert(i < 2);
array[i] = 0;
gcc says,
warning: array subscript is below array bounds [-Warray-bounds]
In other words, without noreturn attribute, assertions do not
allow a compiler's static analyzer to properly understand
the preconditions.
Change-Id: I3be92e99787c528899cf243ed448c4730c00c45b
Signed-off-by: Vadim Markovtsev <gmarkhor@gmail.com>
am 22d8bd9b: am 12159420: Merge "Fix libdl build warnings, turn on -Werror."
* commit '22d8bd9b93223634e2d0bf5ec1cbddd888e96136':
Fix libdl build warnings, turn on -Werror.
* commit '22d8bd9b93223634e2d0bf5ec1cbddd888e96136':
Fix libdl build warnings, turn on -Werror.
am a17b7ba9: am c8d41263: Merge "Move _thread_created_hook to where it belongs."
* commit 'a17b7ba95d71d59ac5e04d2f01bb1839602912f9':
Move _thread_created_hook to where it belongs.
* commit 'a17b7ba95d71d59ac5e04d2f01bb1839602912f9':
Move _thread_created_hook to where it belongs.
am 12159420: Merge "Fix libdl build warnings, turn on -Werror."
* commit '12159420e1654f6896993eda39aea8b5e5586f80':
Fix libdl build warnings, turn on -Werror.
* commit '12159420e1654f6896993eda39aea8b5e5586f80':
Fix libdl build warnings, turn on -Werror.
am c8d41263: Merge "Move _thread_created_hook to where it belongs."
* commit 'c8d412637a8f98418866a75525de2ad6f8b12b6e':
Move _thread_created_hook to where it belongs.
* commit 'c8d412637a8f98418866a75525de2ad6f8b12b6e':
Move _thread_created_hook to where it belongs.
Merge "Fix libdl build warnings, turn on -Werror."
Merge "Move _thread_created_hook to where it belongs."
Fix libdl build warnings, turn on -Werror.
Change-Id: I71c39b77ac1e9a92482ce71a829449100945ec86
Change-Id: I71c39b77ac1e9a92482ce71a829449100945ec86
Move _thread_created_hook to where it belongs.
Change-Id: I643d761c78ccaae25270aeffa2afb811c4e2fcd7
Change-Id: I643d761c78ccaae25270aeffa2afb811c4e2fcd7
10 years agoam d0465f50: am d971f729: Merge "Make it possible for code to query the dynamic linke...
am d0465f50: am d971f729: Merge "Make it possible for code to query the dynamic linker\'s default search path."
* commit 'd0465f50aa570a295a1bdad0c379d529a614198e':
Make it possible for code to query the dynamic linker's default search path.
* commit 'd0465f50aa570a295a1bdad0c379d529a614198e':
Make it possible for code to query the dynamic linker's default search path.
am d971f729: Merge "Make it possible for code to query the dynamic linker\'s default search path."
* commit 'd971f7290529310df6f8d4ba8b3a30f629ba2946':
Make it possible for code to query the dynamic linker's default search path.
* commit 'd971f7290529310df6f8d4ba8b3a30f629ba2946':
Make it possible for code to query the dynamic linker's default search path.
Merge "Make it possible for code to query the dynamic linker's default search path."
am 7e997388: am b5e21103: Merge "AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()"
* commit '7e997388ba63f0b0b4c95542cfc5fbe6e3c93b4d':
AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()
* commit '7e997388ba63f0b0b4c95542cfc5fbe6e3c93b4d':
AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()
10 years agoam b5e21103: Merge "AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_c...
am b5e21103: Merge "AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()"
* commit 'b5e211031b69963a5f72ff369c66dc325a03e740':
AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()
* commit 'b5e211031b69963a5f72ff369c66dc325a03e740':
AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()
Merge "AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()"
Make it possible for code to query the dynamic linker's default search path.
We're not going to have init(1) set LD_LIBRARY_PATH globally on 64-bit.
This patch makes it possible for libnativehelper to set LD_LIBRARY_PATH
in each Java VM (to support System.loadLibrary) without also hard-coding
the default search path there.
Change-Id: If13961fae976e06dd80d5ef522f31e8b7eb01154
We're not going to have init(1) set LD_LIBRARY_PATH globally on 64-bit.
This patch makes it possible for libnativehelper to set LD_LIBRARY_PATH
in each Java VM (to support System.loadLibrary) without also hard-coding
the default search path there.
Change-Id: If13961fae976e06dd80d5ef522f31e8b7eb01154
am 490f1755: am ebc1c76d: Merge "Add -Bsymbolic to the ld flags when linking the dynamic linker."
* commit '490f1755d14536915f748a6513399a92f6e0b67f':
Add -Bsymbolic to the ld flags when linking the dynamic linker.
* commit '490f1755d14536915f748a6513399a92f6e0b67f':
Add -Bsymbolic to the ld flags when linking the dynamic linker.
am ebc1c76d: Merge "Add -Bsymbolic to the ld flags when linking the dynamic linker."
* commit 'ebc1c76d77dd604f16126e66b2171e8ee6fa1d22':
Add -Bsymbolic to the ld flags when linking the dynamic linker.
* commit 'ebc1c76d77dd604f16126e66b2171e8ee6fa1d22':
Add -Bsymbolic to the ld flags when linking the dynamic linker.
Merge "Add -Bsymbolic to the ld flags when linking the dynamic linker."
Add -Bsymbolic to the ld flags when linking the dynamic linker.
We don't need this on architectures other than aarch64, and
we're still investigating why we need it on aarch64, but it
doesn't seem unreasonable to have this flag set when linking
the dynamic linker anyway; it's clearly the intended behavior.
Change-Id: I4fa1b4ae543a818979934bf818eabac03bb9154f
We don't need this on architectures other than aarch64, and
we're still investigating why we need it on aarch64, but it
doesn't seem unreasonable to have this flag set when linking
the dynamic linker anyway; it's clearly the intended behavior.
Change-Id: I4fa1b4ae543a818979934bf818eabac03bb9154f
am a1595487: am ae189740: Merge "Add some more headers."
* commit 'a1595487faadaf48201ff8f91fdf59c8ae0e7b19':
Add some more headers.
* commit 'a1595487faadaf48201ff8f91fdf59c8ae0e7b19':
Add some more headers.
am ae189740: Merge "Add some more headers."
* commit 'ae189740de6b03f06a06214122183a3774f5cb62':
Add some more headers.
* commit 'ae189740de6b03f06a06214122183a3774f5cb62':
Add some more headers.
Merge "Add some more headers."
Add some more headers.
This patch adds trivial implementations of the missing sys headers
needed by strace. All strace needs are the constants and structures,
so this is enough for now. We can come back and add the functions
if/when we ever need them.
Change-Id: Idb87c1a8b6b1c62f6e16ae94f147e1169722b48e
This patch adds trivial implementations of the missing sys headers
needed by strace. All strace needs are the constants and structures,
so this is enough for now. We can come back and add the functions
if/when we ever need them.
Change-Id: Idb87c1a8b6b1c62f6e16ae94f147e1169722b48e
am 09a73562: am f784f036: Merge "Add extra libc stubs for mntent related functions."
* commit '09a735628269336d29f722ebcdeb3da9534f6020':
Add extra libc stubs for mntent related functions.
* commit '09a735628269336d29f722ebcdeb3da9534f6020':
Add extra libc stubs for mntent related functions.
am f784f036: Merge "Add extra libc stubs for mntent related functions."
* commit 'f784f0365d0c491cba7e6081a072b28ad357fef6':
Add extra libc stubs for mntent related functions.
* commit 'f784f0365d0c491cba7e6081a072b28ad357fef6':
Add extra libc stubs for mntent related functions.
Merge "Add extra libc stubs for mntent related functions."
Add extra libc stubs for mntent related functions.
This adds stubs for setmntent() and endmntent().
Change-Id: I6ccaa044145405cd7226c1c54a25d435c96a2308
This adds stubs for setmntent() and endmntent().
Change-Id: I6ccaa044145405cd7226c1c54a25d435c96a2308
am 2872e742: am 33c3e8d3: Merge "Add NT_PRSTATUS to <elf.h>."
* commit '2872e74298ab535b36e03630207d3d685e29d570':
Add NT_PRSTATUS to <elf.h>.
* commit '2872e74298ab535b36e03630207d3d685e29d570':
Add NT_PRSTATUS to <elf.h>.
am 33c3e8d3: Merge "Add NT_PRSTATUS to <elf.h>."
* commit '33c3e8d3b2312be3a3eb9d2632c4a570969e1624':
Add NT_PRSTATUS to <elf.h>.
* commit '33c3e8d3b2312be3a3eb9d2632c4a570969e1624':
Add NT_PRSTATUS to <elf.h>.
Merge "Add NT_PRSTATUS to <elf.h>."
Add NT_PRSTATUS to <elf.h>.
Needed by aarch64.
Bug: 12476126
Change-Id: I7764664459a06cf4f2a60e707bd968d321a78430
Needed by aarch64.
Bug: 12476126
Change-Id: I7764664459a06cf4f2a60e707bd968d321a78430
am fce55ed3: am 8e6bf35a: Merge "Add <sgidefs.h>."
* commit 'fce55ed319648f7b80303815ba25f5a5f48be2db':
Add <sgidefs.h>.
* commit 'fce55ed319648f7b80303815ba25f5a5f48be2db':
Add <sgidefs.h>.
am ea7c0ea6: am d29c75f0: Merge "Fix x86 user_regs_struct."
* commit 'ea7c0ea61462691f9466489176c00393641821bc':
Fix x86 user_regs_struct.
* commit 'ea7c0ea61462691f9466489176c00393641821bc':
Fix x86 user_regs_struct.
am 8e6bf35a: Merge "Add <sgidefs.h>."
* commit '8e6bf35a16532f9e90ce85b0674a0ff19dbef557':
Add <sgidefs.h>.
* commit '8e6bf35a16532f9e90ce85b0674a0ff19dbef557':
Add <sgidefs.h>.
am d29c75f0: Merge "Fix x86 user_regs_struct."
* commit 'd29c75f0907f1ea57b37ddbec0a41d8739ece6d8':
Fix x86 user_regs_struct.
* commit 'd29c75f0907f1ea57b37ddbec0a41d8739ece6d8':
Fix x86 user_regs_struct.
Merge "Add <sgidefs.h>."
Merge "Fix x86 user_regs_struct."
Fix x86 user_regs_struct.
I fixed x86-64 yesterday, but didn't fix x86 at the same time.
Change-Id: I5c081f5956dfedb9389af303369b841dd0fc1953
I fixed x86-64 yesterday, but didn't fix x86 at the same time.
Change-Id: I5c081f5956dfedb9389af303369b841dd0fc1953
Add <sgidefs.h>.
Change-Id: I543d502a81dcb8d5969f814b8a9a9c819bc4fa2c
Change-Id: I543d502a81dcb8d5969f814b8a9a9c819bc4fa2c
am c63fe9fa: am 6114ffb3: Merge "Add the glibc-compatible d_fileno."
* commit 'c63fe9fa49ee8b7ad17021c1bd418525f9ee0fd0':
Add the glibc-compatible d_fileno.
* commit 'c63fe9fa49ee8b7ad17021c1bd418525f9ee0fd0':
Add the glibc-compatible d_fileno.
am 6114ffb3: Merge "Add the glibc-compatible d_fileno."
* commit '6114ffb3e16c114c728c31b472263660e2d2210c':
Add the glibc-compatible d_fileno.
* commit '6114ffb3e16c114c728c31b472263660e2d2210c':
Add the glibc-compatible d_fileno.
Merge "Add the glibc-compatible d_fileno."
Add the glibc-compatible d_fileno.
d_ino is the POSIX name, but glibc also offers d_fileno, and
that's what strace is using.
Change-Id: I3fadbe7a64700b42e78c7f4631620e864d43147b
d_ino is the POSIX name, but glibc also offers d_fileno, and
that's what strace is using.
Change-Id: I3fadbe7a64700b42e78c7f4631620e864d43147b
am 56d790fc: am c65cbf97: Merge "Fix <sys/resource.h>."
* commit '56d790fceed92d7d970da8a1bb598bf7c78db7ee':
Fix <sys/resource.h>.
* commit '56d790fceed92d7d970da8a1bb598bf7c78db7ee':
Fix <sys/resource.h>.
am c65cbf97: Merge "Fix <sys/resource.h>."
* commit 'c65cbf97d9769025ad83d6e7f4e7daa58a273a4c':
Fix <sys/resource.h>.
* commit 'c65cbf97d9769025ad83d6e7f4e7daa58a273a4c':
Fix <sys/resource.h>.
Merge "Fix <sys/resource.h>."
Fix <sys/resource.h>.
The situation here is a bit confusing. On 64-bit, rlimit and rlimit64 are
the same, and so getrlimit/getrlimit64, setrlimit/setrlimit64,
and prlimit/prlimit64 are all the same. On 32-bit, rlimit and rlimit64 are
different. 32-bit architectures other than MIPS go one step further by having
an even more limited getrlimit system call, so arm and x86 need to use
ugetrlimit instead of getrlimit. Worse, the 32-bit architectures don't have
64-bit getrlimit- and setrlimit-equivalent system calls, and you have to use
prlimit64 instead. There's no 32-bit prlimit system call, so there's no
easy implementation of that --- what should we do if the result of prlimit64
won't fit in a struct rlimit? Since 32-bit survived without prlimit/prlimit64
for this long, I'm not going to bother implementing prlimit for 32-bit.
We need the rlimit64 functions to be able to build strace 4.8 out of the box.
Change-Id: I1903d913b23016a2fc3b9f452885ac730d71e001
The situation here is a bit confusing. On 64-bit, rlimit and rlimit64 are
the same, and so getrlimit/getrlimit64, setrlimit/setrlimit64,
and prlimit/prlimit64 are all the same. On 32-bit, rlimit and rlimit64 are
different. 32-bit architectures other than MIPS go one step further by having
an even more limited getrlimit system call, so arm and x86 need to use
ugetrlimit instead of getrlimit. Worse, the 32-bit architectures don't have
64-bit getrlimit- and setrlimit-equivalent system calls, and you have to use
prlimit64 instead. There's no 32-bit prlimit system call, so there's no
easy implementation of that --- what should we do if the result of prlimit64
won't fit in a struct rlimit? Since 32-bit survived without prlimit/prlimit64
for this long, I'm not going to bother implementing prlimit for 32-bit.
We need the rlimit64 functions to be able to build strace 4.8 out of the box.
Change-Id: I1903d913b23016a2fc3b9f452885ac730d71e001
am 8c6c9801: am 8276d287: Merge "Our dirent is a dirent64."
* commit '8c6c9801f175acbd7ebde6e2f855e0b47ae0f96e':
Our dirent is a dirent64.
* commit '8c6c9801f175acbd7ebde6e2f855e0b47ae0f96e':
Our dirent is a dirent64.
am 2ab8dd30: am 66f473ef: Merge "Add <sys/reg.h>."
* commit '2ab8dd30ef455973c94a7386c70f0d4627789bab':
Add <sys/reg.h>.
* commit '2ab8dd30ef455973c94a7386c70f0d4627789bab':
Add <sys/reg.h>.
am 8276d287: Merge "Our dirent is a dirent64."
* commit '8276d2875f64587e266567f5bb2c5e0c70ef0a5d':
Our dirent is a dirent64.
* commit '8276d2875f64587e266567f5bb2c5e0c70ef0a5d':
Our dirent is a dirent64.
am 66f473ef: Merge "Add <sys/reg.h>."
* commit '66f473ef3313a2af7b9639f134e107a804d1e164':
Add <sys/reg.h>.
* commit '66f473ef3313a2af7b9639f134e107a804d1e164':
Add <sys/reg.h>.
Merge "Our dirent is a dirent64."