Age | Commit message (Collapse) | Author |
|
Change-Id: Ia7fd1c358b5e7a9bbc581f36403b6a81354edb53
|
|
Bug: 169893837
Merged-In: Ic7a83fb01a39113d408ed0c95d27f694d5a2649c
Change-Id: Ib15d857903753f890e6a75f2815a441359a81fc5
|
|
Bug: 169893837
Merged-In: Ic7a83fb01a39113d408ed0c95d27f694d5a2649c
Change-Id: I4494985e98790e8934f10c8ba6f6f2207b3050ab
|
|
Change-Id: I9ee20be01d8ce5e9560651fc3dcd9ceb8bdc1fe4
|
|
Revert submission 1403568-sysprop_trace
Reason for revert: makes property get/set non-reentrant
Reverted Changes:
I6f85f3f52:Add systrace tag for system property
Id2b93acb2:Adding system property tracing
Id78992d23:Add systrace tag for system property
I1ba9fc7bd:Add systrace tag for system property
Bug: 193050299
Test: build and boot a device
Change-Id: Ic7a83fb01a39113d408ed0c95d27f694d5a2649c
Merged-In: Ic7a83fb01a39113d408ed0c95d27f694d5a2649c
(cherry picked from commit 61a5a8380d6417e9b85bb2f6a4a694ef4222031f)
|
|
This reverts commit 1e1c7845aab0542306f61d8e8c880aca096ea336.
Reason for revert: makes property get/set non-reentrant
Bug: 193050299
Test: build and boot a device
Change-Id: If59e3dc25684a3c2b1d3ff74f995311afe6c6e89
Merged-In: If59e3dc25684a3c2b1d3ff74f995311afe6c6e89
(cherry picked from commit 3ec21f527acbaefb5f7a114125bc7a93baa780c7)
|
|
Change-Id: I01b1aa7bb566c94ce75543bb32c3bc11a8ed4c71
|
|
When the main thread is exiting, the code deleted the g_debug global
pointer and destroys the disable pthread key. Unfortunately, if
malloc debug was enabled in a way that requires a header for the pointer,
any frees that occur after the main thread is torn down result in calls
to the underlying allocator with bad pointers.
To avoid this, don't delete the g_debug pointer and don't destroy the
disable pthread key.
Added a new system test that allocates a lot of pointers and frees them
after letting the main thread finish.
Also, fix one test that can fail sporadically due to a lack of unwinding
information on arm32.
Bug: 189541929
Test: Passes new system tests.
Change-Id: I1cfe868987a8f0dc880a5b65de6709f44a5f1988
Merged-In: I1cfe868987a8f0dc880a5b65de6709f44a5f1988
(cherry picked from commit 33d73379aad3ed7dcbb9b10f945d3bc6264b79bd)
|
|
Change-Id: I7a90299f468d53e77ca2aa13bd51cf1e32afc025
|
|
|
|
Do not assume that tests start with Sync MTE; check the initial setting
and change test logic as appropriate.
Bug: 192480262
Test: bionic-unit-tests with MEMTAG_OPTIONS=(off|sync|async)
Merged-In: Id80301e6426af16f89bd80a7a7ab127b6fd60425
Change-Id: Id80301e6426af16f89bd80a7a7ab127b6fd60425
(cherry picked from commit 53df1f3772ad4843461e78540111b21e9061c051)
|
|
Change-Id: I962f8e41d20c67e3da5c8961decdb8ec6084783b
|
|
sc-dev
|
|
On devices where the performance of ASYNC mode is similar to SYNC
mode on certain CPUs, OEMs may choose to configure the kernel to
prefer SYNC mode on those CPUs by writing the value "sync" to the
sysfs node: /sys/devices/system/cpu/cpu<N>/mte_tcf_preferred
The kernel will only respect the per-CPU preference if the user program
allows this by specifying the preferred mode as a member of a set of
allowed modes. Since only kernels with r.android.com/1754670 support
specifying multiple modes, fall back to trying to specify a single
mode if that doesn't work.
Bug: 189966263
Change-Id: Ie7ada3b073178b7967f0819cbdadc2d8e3a2c648
Merged-In: Ie7ada3b073178b7967f0819cbdadc2d8e3a2c648
|
|
Change-Id: Id58902bbc81322f1fda3d785b50fc887f408260c
|
|
Bug: 191769584
Test: N/A
Merged-In: Ief77f95a04411528563787a9fc6d10738fc5688f
Change-Id: Ief77f95a04411528563787a9fc6d10738fc5688f
(cherry picked from commit d8d561c98457409c0003b37b9c1f84bb7d988e04)
|
|
Change-Id: Ibab7ca0b58947357708cd5e968481b36eeac4b99
|
|
Non-updatable APEXes are going to be only present on a dm-verity
protected read-only partition. For such APEXes there is no need in
embedding a hashtree.
This is a no-op change in preparation of switching default value of
generate_hashtree to true.
Bug: 190621617
Test: m
Change-Id: I426c1fce37ce63200810d69092660644e13291c2
Merged-In: I426c1fce37ce63200810d69092660644e13291c2
(cherry picked from commit 8f537e87621159b41a05c93c9a8caf09dd2261ad)
|
|
Change-Id: I6027045666625d7306ce335876785fc11b026005
|
|
|
|
This function doesn't return, but it does appear in stack traces. Avoid
using return PAC in this function because we may end up resetting IA,
which may confuse unwinders due to mismatching keys.
Bug: 189808795
Change-Id: I953da9078acd1d43eb7a47fb11f75caa0099fa12
Merged-In: I953da9078acd1d43eb7a47fb11f75caa0099fa12
|
|
|
|
The LD_CONFIG_FILE test needs to match how Bionic was compiled, and
Bionic only enables LD_CONFIG_FILE for debug builds (i.e. ro.build.type
is "user"). ro.debuggable can be forced on without recompiling Bionic.
Bug: http://b/140324381
Bug: http://b/189422994
Test: bionic unit tests
Change-Id: I139059a7f94d15a5447dab292927606a6bcc48ef
(cherry picked from commit 546723b2b804d8e12c2774c7338073184cf90075)
|
|
Change-Id: I3bc1782828818609c24ca0868cd6be6e40596420
|
|
We would dlopen heapprofd_client.so, which has a static initializer [1]
that passes a pointer to of its functions to heapprofd_client_api.so.
If we dlclose heapprofd_client.so, this pointer is dangling.
[1]: https://cs.android.com/android/platform/superproject/+/master:external/perfetto/src/profiling/memory/malloc_interceptor_bionic_hooks.cc?q=symbol:g_heap_id
This is a cherry-pick of 85c7838bd9cb40949c08d957499357547c7cd687.
Bug: 189332777
Change-Id: Ia4a9d9dd7c89eceec86c6fac5f4b66de85d7604e
|
|
Change-Id: I805d201ab030339b2241d82b81bd82435d927774
|
|
defbe6bfbd am: 7b89804d8a
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1705416
Change-Id: I83c0ee90b3763476f9497139cf838e70b3348dbc
|
|
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1705416
Change-Id: Iab72065969294c1259351272ba8eab78a5591f6d
|
|
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1705416
Change-Id: If4599131c1ba63f1c9eb938483b78b2375baac7a
|
|
|
|
Use accessors to for all the fields.
Test: build
Change-Id: I6ae458002e059ef2f9d73931cc68f2f698f85d7e
|
|
b1270fdd54 am: 98a50fa503 am: e7bc7bde23
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1695053
Change-Id: Id9d2a02f0f96760f52e4dd18a5a08763680bdbf1
|
|
b1270fdd54 am: 98a50fa503
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1695053
Change-Id: I6e0abad919598aa6ac097306bc19d2bd17dfc89d
|
|
b1270fdd54
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1695053
Change-Id: Ib41092b668a8b5bdf177c56fa1ac46ebf8759799
|
|
|
|
Change-Id: I84ba0fa929d72a877496d7ca28a67665b2270a60
|
|
13d267e77e am: fef6f7bcc5 am: 74e4a617aa
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1691208
Change-Id: I026d8a8c69ea9de5eb1b71a5f90b8cb2e16baf69
|
|
13d267e77e am: fef6f7bcc5
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1691208
Change-Id: I30175a55a06a40170294665fbd0f0e094b445aea
|
|
13d267e77e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1691208
Change-Id: Iacab3396fab8fe7dddb996c93adbc1bed5c3f001
|
|
|
|
Change-Id: I0a9faeaca704a2b61d578dcb18f04b4b637f98fa
|
|
20ab1b7b47 am: be2927bf2f am: e20122b90e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1652592
Change-Id: Icd962b28b78acfbc185ac71a30fe297ba53e5f41
|
|
20ab1b7b47 am: be2927bf2f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1652592
Change-Id: I6b57627bdae52e073f533a2713f05e4d9249a6a9
|
|
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1652592
Change-Id: I9ea5cd0ba509d44081f92fbf59163113a87f5f38
|
|
|
|
This CL adds an instruction to the _start label that clears the frame
pointer. This allows stack walking code to determine when it has
reached the end of the stack.
The __bionic_clone function is similarly modified, for architectures
that weren't already doing both.
Test: bionic-unit-tests
Test: CtsBionicTestCases
Change-Id: Iea3949f52c44f7931f9fff2d60d4d9e5c742c120
|
|
To take advantage of file-backed huge pages for the text segments of key
shared libraries (go/android-hugepages), the dynamic linker must load
candidate ELF files at an appropriately aligned address and mark
executable segments with MADV_HUGEPAGE.
This patches uses segments' p_align values to determine when a file is
PMD aligned (2MB alignment), and performs load operations accordingly.
Bug: 158135888
Test: Verified PMD aligned libraries are backed with huge pages on
supporting kernel versions.
Change-Id: Ia2367fd5652f663d50103e18f7695c59dc31c7b9
|
|
Change-Id: I7540c7ef02a7cd5b50cf3dc9442a1e3b5821070e
|
|
cb695228f9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1694549
Change-Id: Ie51fb5f053e3614d8b5d832a057feb33858e231e
|
|
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1694549
Change-Id: Iaa40067243b77b89c13a0f141d2631876940e2c3
|