Treehugger Robot
9a08a468f4
Merge "Fix unistd.exec_argv0_null for new kernels." into android11-tests-dev am: 9d0912a7b2
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2078359
Change-Id: I0888d94e6b6f19b25bfb5b5482ba18e539ceed60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:10:51 +00:00
Automerger Merge Worker
19dce61545
Merge "Merge "Merge "Merge "Fix unistd.exec_argv0_null for new kernels." into android10-tests-dev am: 16457fd9d0" into android11-tests-dev am: ede618aef2" into android12-tests-dev am: ba0f5b9195" into android12L-tests-dev
2022-04-27 19:01:17 +00:00
Automerger Merge Worker
1fee8b5a67
Merge "Merge "Merge "Fix unistd.exec_argv0_null for new kernels." into android10-tests-dev am: 16457fd9d0" into android11-tests-dev am: ede618aef2" into android12-tests-dev am: ba0f5b9195
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2078358
Change-Id: Ia3d387780844a30feaaa65c55841f0577561620d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:01:15 +00:00
Automerger Merge Worker
6c73a7ac6f
Merge "Merge "Regression test for scudo crash in resizeTaggedChunk." into android12-tests-dev am: d8fa0f64af" into android12L-tests-dev
2022-04-27 19:01:09 +00:00
Treehugger Robot
377ae72607
Merge "Regression test for scudo crash in resizeTaggedChunk." into android12-tests-dev am: d8fa0f64af
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1901121
Change-Id: I49830085e20d8aa627b9322672aaaa4770ac5515
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:01:06 +00:00
Automerger Merge Worker
9ca3b55cc1
Merge "Merge "Skip the malloc_slack test on native bridge." into android12-tests-dev am: 1623704319" into android12L-tests-dev
2022-04-27 19:01:01 +00:00
Treehugger Robot
5e5acad528
Merge "Skip the malloc_slack test on native bridge." into android12-tests-dev am: 1623704319
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1854022
Change-Id: Id50dd0d3a8060ad7943a9f08401e88b05c75be4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:00:59 +00:00
Automerger Merge Worker
68fd586b3a
Merge "Merge "Merge "Merge "Fix possible issue with cfi_basic test." into android10-tests-dev am: 3144bf7b69" into android11-tests-dev am: 9ef57feced" into android12-tests-dev am: 05f451ff40" into android12L-tests-dev
2022-04-27 19:00:54 +00:00
Automerger Merge Worker
73d890772e
Merge "Merge "Merge "Fix possible issue with cfi_basic test." into android10-tests-dev am: 3144bf7b69" into android11-tests-dev am: 9ef57feced" into android12-tests-dev am: 05f451ff40
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1450415
Change-Id: I8bbdff9b63ebf8e0ee708c6c56fdf020c9f96c13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:00:53 +00:00
Automerger Merge Worker
f84b535bf1
Merge changes from topic "am-1f04af5ac4724e08a16e070a0669bd45" into android12L-tests-dev
...
* changes:
Merge changes from topic "am-921d9d6a4c2c43f5a9b3423f6a35dc3f" into android12-tests-dev am: 0f42ca9a3d
[automerger skipped] Merge "Remove stack address check in cfi_basic test." into android10-tests-dev am: c9608ab2e2
-s ours am: 83dd5914ae
-s ours am: f1f4c02d31
-s ours
2022-04-27 19:00:46 +00:00
Treehugger Robot
ef543c40bc
[automerger skipped] Merge "Remove stack address check in cfi_basic test." into android10-tests-dev am: c9608ab2e2
-s ours am: 83dd5914ae
-s ours am: f1f4c02d31
-s ours
...
am skip reason: skipped by user eugenis
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1371143
Change-Id: I936a873352937664f09b12a6f00c46de893fccf5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:00:43 +00:00
Automerger Merge Worker
a416c1197b
Merge changes from topic "am-921d9d6a4c2c43f5a9b3423f6a35dc3f" into android12-tests-dev am: 0f42ca9a3d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1371143
Change-Id: I962fc4b81e6ad9036be2aed88e6bc5cc58e69cad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:00:43 +00:00
Automerger Merge Worker
5b935518c3
Merge changes from topic "am-3cb4ee1e5c574467a4389675df3d49f9" into android12L-tests-dev
...
* changes:
Merge changes from topic "am-661a49b408184197ab5bda5c099811e2" into android12-tests-dev am: 80effeeac9
[automerger skipped] Merge "Fix linker path for emulated architecture" into android10-tests-dev am: ce45ee1184
-s ours am: 00653f6ae3
-s ours am: ebc90ae254
-s ours
2022-04-27 19:00:24 +00:00
Automerger Merge Worker
c1575522e8
Merge changes from topic "am-661a49b408184197ab5bda5c099811e2" into android12-tests-dev am: 80effeeac9
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1183110
Change-Id: Iff415cc90425d8727609998829f782fbc143a0bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:00:21 +00:00
Treehugger Robot
e1c9dbc5ba
[automerger skipped] Merge "Fix linker path for emulated architecture" into android10-tests-dev am: ce45ee1184
-s ours am: 00653f6ae3
-s ours am: ebc90ae254
-s ours
...
am skip reason: skipped by user levarum
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1183110
Change-Id: I4b1309e041e0ec2399d8c61777c04183b1e998f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:00:20 +00:00
Automerger Merge Worker
eec4191010
Merge changes from topic "am-bc40fdbdb974448fae6cea79ea66b3bd" into android12L-tests-dev
...
* changes:
Merge changes from topic "am-243d83f2e1834512a5f6c07cae7c3ce2" into android12-tests-dev am: e30b026c00
[automerger skipped] Merge "Fix Bionic dlfcn.dladdr_libc test case for 64bit binary translations" into android10-tests-dev am: 3382f346fc
-s ours am: 7fad99971d
-s ours am: b013f1698e
-s ours
2022-04-27 19:00:10 +00:00
Treehugger Robot
ed828cfb2e
[automerger skipped] Merge "Fix Bionic dlfcn.dladdr_libc test case for 64bit binary translations" into android10-tests-dev am: 3382f346fc
-s ours am: 7fad99971d
-s ours am: b013f1698e
-s ours
...
am skip reason: skipped by user rossyeh
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1164119
Change-Id: Iefbfb2034a76c1857fa205cc7d53230cacba75aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:00:07 +00:00
Automerger Merge Worker
ad542c160c
Merge changes from topic "am-243d83f2e1834512a5f6c07cae7c3ce2" into android12-tests-dev am: e30b026c00
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1164119
Change-Id: I78e626ce0389a9b719f1432a035e0f05359ace5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:00:07 +00:00
Automerger Merge Worker
45cb321127
Merge "Merge "Merge "Merge "Stop executing if skip occurs." into android10-tests-dev am: 1e4793561f" into android11-tests-dev am: 3596058918" into android12-tests-dev am: d55f2ce1ef" into android12L-tests-dev
2022-04-27 18:59:57 +00:00
Automerger Merge Worker
85814a6d2d
Merge "Merge "Merge "Stop executing if skip occurs." into android10-tests-dev am: 1e4793561f" into android11-tests-dev am: 3596058918" into android12-tests-dev am: d55f2ce1ef
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1126826
Change-Id: Ie9e151f8485c6fe17422edf3177bacf2c994f26e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 18:59:56 +00:00
Automerger Merge Worker
60d6cfe283
Merge "Merge changes from topic "am-b2f669f2672c49a5b83a262bba261f9f" into android12-tests-dev am: d8a59345e1" into android12L-tests-dev
2022-04-27 18:59:49 +00:00
Automerger Merge Worker
bb39074a2c
Merge changes from topic "am-b2f669f2672c49a5b83a262bba261f9f" into android12-tests-dev am: d8a59345e1
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1466626
Change-Id: I924a1f432dd6aa2efc86740c25c079451f14389e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 18:59:47 +00:00
Automerger Merge Worker
9f1eb8a943
Merge changes from topic "am-eea3e96d84c34ba68e8c9263fc0b0332" into android12L-tests-dev
...
* changes:
Merge "[automerger skipped] Merge changes I42a81210,I42ce2b5a,Id949c9e5 into android11-tests-dev am: 0d97015dbe
-s ours" into android12-tests-dev am: f414cb356b
[automerger skipped] Merge changes I42a81210,I42ce2b5a,Id949c9e5 into android11-tests-dev am: 0d97015dbe
-s ours am: 6c706660e9
-s ours
2022-04-27 18:59:41 +00:00
Automerger Merge Worker
7e774d1d32
Merge "[automerger skipped] Merge changes I42a81210,I42ce2b5a,Id949c9e5 into android11-tests-dev am: 0d97015dbe
-s ours" into android12-tests-dev am: f414cb356b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1431308
Change-Id: Ib4e18d83f42fbff9fc6f6ae119615ba8ad4065de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 18:59:38 +00:00
Treehugger Robot
9778932c7f
[automerger skipped] Merge changes I42a81210,I42ce2b5a,Id949c9e5 into android11-tests-dev am: 0d97015dbe
-s ours am: 6c706660e9
-s ours
...
am skip reason: skipped by user levarum
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1431308
Change-Id: I4c11e36bd5e77bc7e2f9dffb8aec8fb300888ebb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 18:59:37 +00:00
Treehugger Robot
9d0912a7b2
Merge "Fix unistd.exec_argv0_null for new kernels." into android11-tests-dev
2022-04-27 18:52:31 +00:00
Automerger Merge Worker
ba0f5b9195
Merge "Merge "Merge "Fix unistd.exec_argv0_null for new kernels." into android10-tests-dev am: 16457fd9d0" into android11-tests-dev am: ede618aef2" into android12-tests-dev
2022-04-27 18:44:33 +00:00
Automerger Merge Worker
1627acb5e4
Merge "Merge "Fix unistd.exec_argv0_null for new kernels." into android10-tests-dev am: 16457fd9d0" into android11-tests-dev am: ede618aef2
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2078358
Change-Id: I716eacb116e3a4a29acd1aa10ad96f43c583b56b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 18:44:30 +00:00
Automerger Merge Worker
ede618aef2
Merge "Merge "Fix unistd.exec_argv0_null for new kernels." into android10-tests-dev am: 16457fd9d0" into android11-tests-dev
2022-04-27 18:33:42 +00:00
Treehugger Robot
6c64caef7e
Merge "Fix unistd.exec_argv0_null for new kernels." into android10-tests-dev am: 16457fd9d0
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2078358
Change-Id: I70cff5fe0a62321c8d71d1e88f616a21b4879cf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 18:33:39 +00:00
Treehugger Robot
16457fd9d0
Merge "Fix unistd.exec_argv0_null for new kernels." into android10-tests-dev
2022-04-27 18:21:10 +00:00
Florian Mayer
68f8ad35f2
Merge "Do not use HWASan for heap_tagging_helper."
2022-04-27 18:14:59 +00:00
Elliott Hughes
478e63775b
Fix unistd.exec_argv0_null for new kernels.
...
There are other options here (see the code comment for details), but
this is the least effort/least disruptive for now.
Bug: 228898932, 227498625
Test: treehugger
Change-Id: I33be6fbfc022238de2f1846a69af1e712a9d6391
(cherry picked from commit bb1cc5a82c
)
2022-04-27 17:24:12 +00:00
Elliott Hughes
92d178ace0
Fix unistd.exec_argv0_null for new kernels.
...
There are other options here (see the code comment for details), but
this is the least effort/least disruptive for now.
Bug: 228898932, 227498625
Test: treehugger
Change-Id: I33be6fbfc022238de2f1846a69af1e712a9d6391
(cherry picked from commit bb1cc5a82c
)
2022-04-27 17:23:55 +00:00
Elliott Hughes
95577defec
Fix unistd.exec_argv0_null for new kernels.
...
There are other options here (see the code comment for details), but
this is the least effort/least disruptive for now.
Bug: 228898932, 227498625
Test: treehugger
Change-Id: I33be6fbfc022238de2f1846a69af1e712a9d6391
(cherry picked from commit bb1cc5a82c
)
2022-04-27 17:23:27 +00:00
Maciej Żenczykowski
520e2d3490
Merge "posix_spawn - implement support for POSIX_SPAWN_CLOEXEC_DEFAULT"
2022-04-26 22:45:51 +00:00
Florian Mayer
dedca05e47
Do not use HWASan for heap_tagging_helper.
...
This tests PROT_MTE semantics, so we should disable HWASan.
Test: atest CtsBionicTestCases on flame_hwasan
Bug: 230048274
Bug: 230047253
Bug: 230456730
Change-Id: Ibc59b959d0b8353915629919c5d466a21dbe1c5a
2022-04-26 22:30:21 +00:00
Florian Mayer
7587e20eaf
Merge "Fix missing null-terminator to exec call."
2022-04-23 01:16:16 +00:00
Elliott Hughes
6b8b22c7d1
Improve the "how to add a system call" documentation.
...
A few more clarifications based on experience...
Test: N/A
Change-Id: I74ffd89f5f2ac1266b057803c555cd7f7cb59128
2022-04-22 16:12:21 -07:00
Florian Mayer
7f6425c8c5
Fix missing null-terminator to exec call.
...
Change-Id: I4fcb11b7cfc9b744ad3320022c12ae2c93d3c401
2022-04-22 22:06:26 +00:00
Treehugger Robot
e164cccafb
Merge "Add memunreachable to hwasan-presubmit."
2022-04-22 19:28:06 +00:00
Florian Mayer
44e30ee19d
Add memunreachable to hwasan-presubmit.
...
The offending tests have been skipped, can enable the rest.
Bug: 229317612
Change-Id: I8eca4268f8d69b862da19f403be0fc25417ddf6e
2022-04-22 16:22:15 +00:00
Christopher Ferris
01ca48f10e
Merge "Set VIDEO_MAX_FRAME value back to 64."
2022-04-22 01:56:17 +00:00
Mitch Phillips
3865c8f942
Merge "[GWP-ASan] Provide runtime configuration through an env var + sysprop."
2022-04-21 18:12:43 +00:00
Christopher Ferris
9dfa2e55ed
Set VIDEO_MAX_FRAME value back to 64.
...
This value was changed from 64 to 32, but it really should not
have gone down. So fixing back to 64 manually, and then the
next kernel header update should remove the comment but leave
the value unchanged.
Bug: 228783882
Test: Compiles.
Change-Id: I2d81d7bc76fcaa905dce0abb094d61d02c481a5e
2022-04-21 10:42:09 -07:00
Maciej Żenczykowski
262b873dea
posix_spawn - implement support for POSIX_SPAWN_CLOEXEC_DEFAULT
...
This new posix_spawn attribute flag marks all file descriptors
(except stdin/out/err) as close-on-exec before executing any user
registered file actions (posix_spawn_file_actions_addopen/adddup2).
Test: TreeHugger
Bug: 229913920
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: If458100d6a253a9b0348d4e93a9a610225f89615
2022-04-21 07:09:55 -07:00
Dan Albert
3e25f8272f
Merge "Disable strict abigail checking pending asm fix."
2022-04-20 19:19:07 +00:00
Mitch Phillips
e6997d52de
[GWP-ASan] Provide runtime configuration through an env var + sysprop.
...
This patch introduces GWP-ASan system properties and environment
variables to control the internal sampling rates of GWP-ASan. This can
be used for:
1. "Torture testing" the system, i.e. running it under an extremely
high sampling rate under GWP-ASan.
2. Increasing sampling remotely to allow further crash report
collection of rare issues.
There are three sets of system properites:
1. libc.debug.gwp_asan.*.system_default: Default values for native
executables and system apps.
2. libc.debug.gwp_asan.*.app_default: Default values for non-system
apps, and
3. libc.debug.gwp_asan.*.<basename/app_name>: Default values for an
individual app or native process.
There are three variables that can be changed:
1. The allocation sampling rate (default: 2500) - using the environment
variable GWP_ASAN_SAMPLE_RATE or the libc.debug.gwp_asan.sample_rate.*
system property.
2. The process sampling rate (default: 128 for system apps/processes, 1
for opted-in apps) - using the environment variable
GWP_ASAN_PROCESS_SAMPLING or the libc.debug.gwp_asan.process_sampling.*
system property,
3. The number of slots available (default: 32) - using the environment
variable GWP_ASAN_MAX_ALLOCS or the libc.debug.gwp_asan.max_allocs.*
system property.
If not specified, #3 will be calculated as a ratio of the default
|2500 SampleRate : 32 slots|. So, a sample rate of "1250" (i.e. twice as
frequent sampling) will result in a doubling of the max_allocs to "64".
Bug: 219651032
Test: atest bionic-unit-tests
Change-Id: Idb40a2a4d074e01ce3c4e635ad639a91a32d570f
2022-04-20 11:26:00 -07:00
Florian Mayer
486fabd152
Merge "Add debuggerd_test to hwasan-presubmit."
2022-04-19 00:07:43 +00:00
Florian Mayer
ab36432f7b
Add debuggerd_test to hwasan-presubmit.
...
This passes now.
Bug: 229317612
Change-Id: Iaf26b5fafd33b19dd2e4dbb073bc3f76c7fffd66
2022-04-18 20:39:48 +00:00