Age | Commit message (Collapse) | Author |
|
some changes here:
1. add Android.mk under test/bionic, so that tests under libc can be compiled
2. delete the -static ld flag for test_static_executable_destructor of host side,
otherwise we will get the "-pie and -static are incompatible" error
3. changes in c files for 64 bit compatibility
Change-Id: Ic6d3f55d7c82a639a0bbc9d8a5f713d6cf079117
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
|
|
|
|
/proc/pid/maps may report a zero-length memory region for a 4kB
PROT_GROWSDOWN region because it subtracts 4kB for the guard page.
Return 0 instead of -1 when this occurs, and set range_out to NULL
and len to 0. All existing callers of pm_process_pagemap_range
will not dereference range_out if len is 0.
Bug: 14683277
Change-Id: If405651ad034dda780b93fab2dc616e177a0b917
|
|
|
|
Bug: 14903517
Change-Id: I139ae922c6c9468606d3145f0c74361ed789d949
|
|
|
|
Enable this header to be cleanly included in C++ code.
Change-Id: Ie4ae60629661237ce07b49b17802f01bf95552d8
|
|
Add a return case for len == 0 and absolute == false
Change-Id: Ia36bd67ced6abbe7234eb7e485c1a2d8bd928ffe
Signed-off-by: Benoit Fradin <benoit.fradin@intel.com>
|
|
|
|
When an asec image is generated, the lost+found directory has no
security.selinux attribute set and thus shows up as unlabeled.
We already handle this correctly when building images from existing
directories with files, so we just need to do it here as well when
generating an otherwise empty initial image.
Change-Id: I6d449dcc67a5cbc2101718e34ea0e184936d7f0e
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|
|
|
Change-Id: Iaef4f2aebfc1258594fca64615cd52758ac23a75
|
|
|
|
Change-Id: If3d83ccc4a50eae503f15a9de948b8c21641d8de
|
|
|
|
- use %zu for size_t operands
- suppress unused argument warning messages
Change-Id: Ib39b8763414320d9e3a29408bc1b396ddb376293
|
|
|
|
- size_t format and comparisons
Change-Id: I00ad92ecf2566c7aa02b145e1b8679164b2c9f8a
|
|
|
|
Change-Id: I9c4f141b6c436611a3a85e692b4fb47104d4f783
|
|
|
|
Not actually a useful test, and we already test creating threads, including
error conditions in bionic as part of CTS.
Change-Id: If478b1e389c5cf65a9827da7f57efd696afc6523
|
|
|
|
Bionic already has a better test that's part of CTS.
Change-Id: I2e6bfb795d5fe1393432673a082338d85c083444
|
|
|
|
Change-Id: Ife11d1d526b92062090da231853f65329c0c8962
|
|
|
|
bionic now has all of these.
Change-Id: I0b65f019b88bc9ac7d33bd424361497320c66b7b
|
|
|
|
I've turned the strftime and strptime tests into CTS tests, and it's
not obvious what the other test was usefully testing.
Change-Id: I9d0ba08c6f2e2170e902e4a2aa379dd7289bdf6c
|
|
|
|
Change-Id: Id8d952d2ca634f86aaaf01e05c98524d9110b054
|
|
|
|
Change-Id: I06592a245c2229ca455156bab40eb1a815eef75b
|
|
|
|
bionic contains a superset of these tests, and the binoic tests are
part of CTS.
Change-Id: I9e05d44749c6d6c94271a150fd8b71a297d6ebca
|
|
|
|
Change-Id: I9140384e3cd557c1e346ed386800921632af9c28
|
|
|
|
You get the right ones for free, and this would be wrong on multi-arch.
Change-Id: I832ae5343bfa24a9c45a305afa62a0cf4ac75615
|
|
|
|
Bug: 13029951
Change-Id: Ibe50a503c2d3988813b362790b7fba83383fb51e
|
|
|
|
The s_flags field is used to indicate whether characters are signed
or unsigned, which differs between ARM and x86 targets. Setting
this value to 0 causes the correct value for the target to be
written back to the superblock on first mount, even if the fs is
marked read only.
Since this value is only used to ensure interoperability with 2.4
series kernels (which we don't need) in dirhash (which we don't
use), we'll just set it to 2 to prevent the write.
Change-Id: I92698235909791fb5f423cfd61ff5299307a8f97
|
|
|
|
Use uintptr_t for pointer arithmetic.
Change-Id: I69385fe67ce823f3b13d8dc73acf0a0ff5bb1e83
|
|
|
|
The block allocation algorithm was failing to allocate parts of large
files out of partially filled block groups. Update the allocation
algorithm to be a simpler best fit loop - if the remaining length to
allocate is larger than any single contiguous region, allocate the
largest single contiguous region and continue allocating, otherwise
allocate the smallest contiguous that can hold the length.
Change-Id: Idcc60df91ed0a266d3128ea46e86408a581d3f40
|
|
|