summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-13bionic libc tests: fix 64bit compilation issueslinaro-armv8-14.08Yongqin 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 4. remove other/test_vfprintf_leak.c test Change-Id: Ic6d3f55d7c82a639a0bbc9d8a5f713d6cf079117 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2014-07-24Merge "Rename micro bench 32 bit"Eric Rowe
2014-07-24Rename micro bench 32 bitEric Rowe
Rename micro_bench32 to micro_bench for backwards compatibility. Change-Id: I130f281967cffc3e337d27e84c4caa66d39d1385
2014-06-25Merge "f2fs_utils: make Mac builds happy (copy out mkf2fsuserimg.sh)"JP Abgrall
2014-06-25f2fs_utils: make Mac builds happy (copy out mkf2fsuserimg.sh)JP Abgrall
Change-Id: I8f911f2d084aee08f3f53da984d5c3d2a252cb05 Signed-off-by: JP Abgrall <jpa@google.com>
2014-06-25Merge "f2fs utils: set correct dependency on dynamic libf2fs"JP Abgrall
2014-06-24f2fs utils: set correct dependency on dynamic libf2fsJP Abgrall
Don't link against it anymore. Just let dlopen() deal with it correctly. The "config" struct will come from the f2fs_ioutils and libf2fs_fmt_host expects to have it global, so let link with -rdynamic and let dlopen() resolve it. Be more aggressive with linux-only builds. Bug: 15717498 Change-Id: I03ebebed1fc652170b44f809df42c1f8595216eb Signed-off-by: JP Abgrall <jpa@google.com>
2014-06-24f2fs utils: Add mkf2fsuserimg.sh and make_f2fsJP Abgrall
This is used to generate empty userdata.img files. Normally, "fastboot format userdata" should be used. Caveats: - It only builds an empty sparse image. - windows/mac unsupported Change-Id: I5fbd9724fdd3f4513e7c91f123fc5fffcb475012 Signed-off-by: JP Abgrall <jpa@google.com>
2014-06-24f2fs_utils: support new f2fs-tools f2fs_finalize_device API.JP Abgrall
Change-Id: Id5a6a7edc7871a6c0eb452ad7136732b9a730e6a Signed-off-by: JP Abgrall <jpa@google.com>
2014-06-24f2fs_utils: provide sparse io and dynamic load.JP Abgrall
This uses external/f2fs-tools LGPL v2.1 It provides low-level IO functions that f2fs-tools/mkfs expects for writing to the media. In this case we use the sparse lib. Change-Id: I8d141a0d4d14df9fe84d3b131484e9696fcd8870 Signed-off-by: JP Abgrall <jpa@google.com>
2014-06-25Merge topic 'f2fs'JP Abgrall
* changes: f2fs utils: Add mkf2fsuserimg.sh and make_f2fs f2fs_utils: support new f2fs-tools f2fs_finalize_device API. f2fs_utils: provide sparse io and dynamic load.
2014-06-24Merge "Create 32 bit and 64 bit versions of exes."Christopher Ferris
2014-06-24Create 32 bit and 64 bit versions of exes.Christopher Ferris
Change-Id: Ifc639b7ed97c75faf0ce52475e7c3ec0dc2dd9b9
2014-06-20Merge "Remove a useless so-called test for arc4random."Elliott Hughes
2014-06-20Remove a useless so-called test for arc4random.Elliott Hughes
Bug: 14499627 Change-Id: I01308d022da007f814f3fd8927341dfb3bf7e4cd
2014-06-17Merge changes Ic686b4cb,Ie4b6c7efColin Cross
* changes: procrank: support >4GB of memory from 32-bit procrank libpagemap: support 64-bit kernel from 32-bit libpagemap
2014-06-17procrank: support >4GB of memory from 32-bit procrankColin Cross
Use uint64_t for sizes. Change-Id: Ic686b4cbf4406aec1e9b01810924488bff63722e
2014-06-17libpagemap: support 64-bit kernel from 32-bit libpagemapColin Cross
Use uint64_t and lseek64 to handle 64-bit virtual addresses when libpagemap is compiled as a 32-bit library. Change-Id: Ie4b6c7ef05aac604011f3ee28b059d9dfcd63edb
2014-06-17Merge "fix libpagemap for x86_64"Colin Cross
2014-06-16fix libpagemap for x86_64Colin Cross
libpagemap was storing a virtual pfn in an int, which works on arm64 with 39 bits of virtual address space but fails on x86_64. Use an unsigned long instead. Fixes errors when running procrank on x86_64: warning: could not read usage for 1 Change-Id: I171c8ee49faa51accf3c1bb69059d549aee04979
2014-06-16Merge "Ignore wipe operation on non-block devices."David 'Digit' Turner
2014-06-13Ignore wipe operation on non-block devices.David 'Digit' Turner
The implementation of make_ext4fs() calls make_ext4fs_internal() by forcing the |wipe| parameter to true, which is problematic when the library is used within the emulator (the wipe operation will always fail on non-Linux platforms). This patch does the following: - Add a 'is_block_device_fd()' function to check that a file descriptor points to a real block device. - Modify the implementation of wipe_block_device() uses it to return silently when trying to wipe a non-block-device file. - Add a WIPE_IS_SUPPORTED flag in wipe.h that indicates whether block device wiping is supported on the current platform (for now, this is only the case on Linux). BUG=NONE Change-Id: I62b62b7c3e99b465c3b876154231e7c2fe541b23
2014-06-09Merge "Don't set LOCAL_MODULE_PATH for native test."Ying Wang
2014-06-09Don't set LOCAL_MODULE_PATH for native test.Ying Wang
The build system will set it up automatically. Change-Id: I528aa6c296f2ca8ffe8c74beca2cd49117b229e3
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