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
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>
|
|
|
|
Change-Id: Ibdce3df36e4f5015fa559fb5d5afbf86fe23c123
|
|
|
|
Rename micro_bench32 to micro_bench for backwards compatibility.
Change-Id: I130f281967cffc3e337d27e84c4caa66d39d1385
|
|
|
|
Change-Id: I8f911f2d084aee08f3f53da984d5c3d2a252cb05
Signed-off-by: JP Abgrall <jpa@google.com>
|
|
|
|
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>
|
|
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>
|
|
Change-Id: Id5a6a7edc7871a6c0eb452ad7136732b9a730e6a
Signed-off-by: JP Abgrall <jpa@google.com>
|
|
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>
|
|
* 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.
|
|
|
|
Change-Id: Ifc639b7ed97c75faf0ce52475e7c3ec0dc2dd9b9
|
|
|
|
Bug: 14499627
Change-Id: I01308d022da007f814f3fd8927341dfb3bf7e4cd
|
|
* changes:
procrank: support >4GB of memory from 32-bit procrank
libpagemap: support 64-bit kernel from 32-bit libpagemap
|
|
Use uint64_t for sizes.
Change-Id: Ic686b4cbf4406aec1e9b01810924488bff63722e
|
|
Use uint64_t and lseek64 to handle 64-bit virtual addresses
when libpagemap is compiled as a 32-bit library.
Change-Id: Ie4b6c7ef05aac604011f3ee28b059d9dfcd63edb
|
|
|
|
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
|
|
|
|
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
|
|
|
|
The build system will set it up automatically.
Change-Id: I528aa6c296f2ca8ffe8c74beca2cd49117b229e3
|
|
|
|
|
|
/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
|