summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-01bionic libc test: make it can be compiled for 64 bitlinaro-armv8-20140531Yongqin Liu
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>
2014-05-16Merge "The situation len = 0 and absolute = false need to be handled"Colin Cross
2014-05-15Merge "libpagemap: handle zero length memory regions"Colin Cross
2014-05-14libpagemap: handle zero length memory regionsColin Cross
/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
2014-05-14Merge "Remove a test for dead code."Elliott Hughes
2014-05-13Remove a test for dead code.Elliott Hughes
Bug: 14903517 Change-Id: I139ae922c6c9468606d3145f0c74361ed789d949
2014-05-06Merge "Add {BEGIN,END}_DECLS to header file."idea133-weekly-releaseTorne (Richard Coles)
2014-05-06Add {BEGIN,END}_DECLS to header file.Torne (Richard Coles)
Enable this header to be cleanly included in C++ code. Change-Id: Ie4ae60629661237ce07b49b17802f01bf95552d8
2014-04-30The situation len = 0 and absolute = false need to be handledBenoit Fradin
Add a return case for len == 0 and absolute == false Change-Id: Ia36bd67ced6abbe7234eb7e485c1a2d8bd928ffe Signed-off-by: Benoit Fradin <benoit.fradin@intel.com>
2014-04-27Merge "Label lost+found directories with SELinux security contexts."Nick Kralevich
2014-04-25Label lost+found directories with SELinux security contexts.Stephen Smalley
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>
2014-04-17Merge "directiotest: 64 bit compile issue"Mark Salyzyn
2014-04-16directiotest: 64 bit compile issueMark Salyzyn
Change-Id: Iaef4f2aebfc1258594fca64615cd52758ac23a75
2014-03-20Merge "qtaguid test: 64-bit compile issues"Mark Salyzyn
2014-03-20qtaguid test: 64-bit compile issuesMark Salyzyn
Change-Id: If3d83ccc4a50eae503f15a9de948b8c21641d8de
2014-03-20Merge "micro_bench: 64 bit compile issues"Mark Salyzyn
2014-03-20micro_bench: 64 bit compile issuesMark Salyzyn
- use %zu for size_t operands - suppress unused argument warning messages Change-Id: Ib39b8763414320d9e3a29408bc1b396ddb376293
2014-03-17Merge "librank: 64-bit compile issues"Mark Salyzyn
2014-03-17librank: 64-bit compile issuesMark Salyzyn
- size_t format and comparisons Change-Id: I00ad92ecf2566c7aa02b145e1b8679164b2c9f8a
2014-03-14Merge "ksmutils: 64 bit compile issues"Mark Salyzyn
2014-03-14ksmutils: 64 bit compile issuesMark Salyzyn
Change-Id: I9c4f141b6c436611a3a85e692b4fb47104d4f783
2014-03-11Merge "Remove test_thread_max."Elliott Hughes
2014-03-11Remove test_thread_max.Elliott Hughes
Not actually a useful test, and we already test creating threads, including error conditions in bionic as part of CTS. Change-Id: If478b1e389c5cf65a9827da7f57efd696afc6523
2014-03-11Merge "Remove test_pthread_getcpuclockid."Elliott Hughes
2014-03-11Remove test_pthread_getcpuclockid.Elliott Hughes
Bionic already has a better test that's part of CTS. Change-Id: I2e6bfb795d5fe1393432673a082338d85c083444
2014-03-11Merge "Remove obsolete system(3) test."Elliott Hughes
2014-03-11Remove obsolete system(3) test.Elliott Hughes
Change-Id: Ife11d1d526b92062090da231853f65329c0c8962
2014-03-11Merge "Remove obsolete benchmarks."Elliott Hughes
2014-03-11Remove obsolete benchmarks.Elliott Hughes
bionic now has all of these. Change-Id: I0b65f019b88bc9ac7d33bd424361497320c66b7b
2014-03-11Merge "Remove <time.h> tests."Elliott Hughes
2014-03-10Remove <time.h> tests.Elliott Hughes
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
2014-03-11Merge "Remove bench_locks, which is a subset of bench_pthread."Elliott Hughes
2014-03-10Remove bench_locks, which is a subset of bench_pthread.Elliott Hughes
Change-Id: Id8d952d2ca634f86aaaf01e05c98524d9110b054
2014-03-11Merge "Remove tests that are already better tested as part of CTS."Elliott Hughes
2014-03-10Remove tests that are already better tested as part of CTS.Elliott Hughes
Change-Id: I06592a245c2229ca455156bab40eb1a815eef75b
2014-03-10Merge "Remove timer tests."Elliott Hughes
2014-03-04Remove timer tests.Elliott Hughes
bionic contains a superset of these tests, and the binoic tests are part of CTS. Change-Id: I9e05d44749c6d6c94271a150fd8b71a297d6ebca
2014-02-27Merge "perm_checker: Add permission for /dev/socket/logd*"Mark Salyzyn
2014-02-27perm_checker: Add permission for /dev/socket/logd*Mark Salyzyn
Change-Id: I9140384e3cd557c1e346ed386800921632af9c28
2014-02-27Merge "Don't abuse KERNEL_HEADERS."Elliott Hughes
2014-02-27Don't abuse KERNEL_HEADERS.Elliott Hughes
You get the right ones for free, and this would be wrong on multi-arch. Change-Id: I832ae5343bfa24a9c45a305afa62a0cf4ac75615
2014-02-15Merge "ext4_utils: don't leave bad image file in case of error"JP Abgrall
2014-02-14ext4_utils: don't leave bad image file in case of errorJP Abgrall
Bug: 13029951 Change-Id: Ibe50a503c2d3988813b362790b7fba83383fb51e
2014-02-13Merge "Set s_flags to 2 to prevent a write on first mount."Geremy Condra
2014-02-13Set s_flags to 2 to prevent a write on first mount.Geremy Condra
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
2014-02-06Merge "kexecload: fix LP64 warnings"Colin Cross
2014-02-05kexecload: fix LP64 warningsColin Cross
Use uintptr_t for pointer arithmetic. Change-Id: I69385fe67ce823f3b13d8dc73acf0a0ff5bb1e83
2014-02-05Merge "make_ext4fs: fix block allocation to be best-fit"Colin Cross
2014-02-05make_ext4fs: fix block allocation to be best-fitColin Cross
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
2014-01-31Merge "Remove bogus semicolons"Ian Rogers