Treehugger Robot
d3cc9e91d7
Merge "Update a comment to be more intention-revealing." am: 502c290a29
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2299424
Change-Id: I0fb7a90de41917d36c7f62e5f3a13a670c38f281
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-12 02:00:28 +00:00
Treehugger Robot
502c290a29
Merge "Update a comment to be more intention-revealing."
2022-11-12 01:37:31 +00:00
Elliott Hughes
89719df107
Update sys_ptrace_test.cpp for riscv64.
...
We'll want to come back to this once either Zcmp's push/pop instructions
or V's vector loads/stores are available. But for now, we have no >64b
stores.
But at least this builds.
Test: treehugger
Change-Id: I9503e890cacb198f4ba987bfc92f6eff21c290b0
2022-11-12 00:08:17 +00:00
Elliott Hughes
fc03503f67
Update a comment to be more intention-revealing.
...
And also inclusive of riscv64.
Test: treehugger
Change-Id: I27280e1d934ce3bb47026820b75850c824801022
2022-11-11 22:52:04 +00:00
Treehugger Robot
c24dc389d4
Merge "Simplify the malloc_debug unwind." am: cf74c0c020
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2298342
Change-Id: I06b46c31befc9c5ddda5e57c568d08c9bd68c1a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-11 22:33:06 +00:00
Treehugger Robot
cf74c0c020
Merge "Simplify the malloc_debug unwind."
2022-11-11 22:05:24 +00:00
Edward Liaw
fdc005d39c
Merge "TEST_MAPPING: add CTS bionic test to kernel-presubmit" am: 5c41b06529
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2299392
Change-Id: I291d7c1607daab4701f69e4d3fe91dbaa252d577
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-11 21:49:31 +00:00
Edward Liaw
5c41b06529
Merge "TEST_MAPPING: add CTS bionic test to kernel-presubmit"
2022-11-11 21:26:55 +00:00
Elliott Hughes
69528daecb
Merge "Add a hack for a RISC-V bug." am: c272332747
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2298684
Change-Id: I3dea5d1c20bbbb3a4c0139b81e1bc1cbc480e75a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-11 20:52:28 +00:00
Elliott Hughes
c272332747
Merge "Add a hack for a RISC-V bug."
2022-11-11 20:19:31 +00:00
Edward Liaw
4a8d7d79e2
TEST_MAPPING: add CTS bionic test to kernel-presubmit
...
Bug: 258819618
Test: atest :kernel-presubmit
Change-Id: I6290d694137d1c4f3ea0a004562320ce4068463c
Signed-off-by: Edward Liaw <edliaw@google.com>
2022-11-11 18:46:19 +00:00
Elliott Hughes
ec9ff04075
Add a hack for a RISC-V bug.
...
I can't find this documented anywhere, other than people observing that
RISC-V appears to behave in this way. See the LLVM commit making a
similar change to similar code, for example: https://reviews.llvm.org/D87579 .
Unsatisfying, but it works, and I suspect we're all too far down this
copy & paste hole to get back out now. See also psabi bug
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/issues/18 for
more discussion.
Change-Id: I9e9d60bf859715895370861b2024deeb1d330577
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>
Signed-off-by: Xia Lifang <lifang_xia@linux.alibaba.com>
Signed-off-by: Chen Guoyin <chenguoyin.cgy@linux.alibaba.com>
Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
Signed-off-by: Lu Xufan <luxufan@iscas.ac.cn>
Test: treehugger
2022-11-11 17:12:57 +00:00
Elliott Hughes
eeaf9edb0b
Simplify the malloc_debug unwind.
...
It's hard to find the start of the previous instruction for riscv64
(given the C extension), and discussion with the ART folks cast doubt
on the comment's claim that we do this correctly for arm32 anyway.
So, rather than add complexity for riscv64, let's simplify this routine
for everyone. I suspect we could probably get away with just `--ip` for
all architectures, but since it's trivial to at least maintain plausible
alignment, I've stuck with the correct "at least" byte counts instead.
(See the discussion on
https://lists.riscv.org/g/sig-android/topic/detecting_16_bit_vs_32_bit/94813787
for more about riscv64 specifically.)
Test: treehugger
Change-Id: Ie43451d329470b3ece8779d11eb705d24d01c3d7
2022-11-10 21:35:03 +00:00
Elliott Hughes
88c683a9e8
Merge "Remove strtoq() and strtouq()." am: ebe850e01c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2295477
Change-Id: I1c2c0f4d4171625f2d8e9eff091ebe73489e3472
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-10 20:40:23 +00:00
Treehugger Robot
c29c53f2a1
Merge "Update the README.md" am: 4f8ead4a63
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2295378
Change-Id: I1ede6ae6732499c7d3a9bd63a3c30bfec3ffdfd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-10 20:39:26 +00:00
zijunzhao
7ececf1140
Nullability check for regex module.
...
Bugs: b/245972273
Test: None
Change-Id: Ie2c0f3dcbbe1dcbe04d4a6acfac445d556f0c38d
2022-11-10 20:32:47 +00:00
Elliott Hughes
ebe850e01c
Merge "Remove strtoq() and strtouq()."
2022-11-10 19:42:02 +00:00
Treehugger Robot
4f8ead4a63
Merge "Update the README.md"
2022-11-10 19:40:47 +00:00
zijunzhao
a3696c13cf
Update the README.md
...
1. Update the link for device test.
2. Reformat the file.
Bugs: None
Test: None
Change-Id: I88b928d7b2247fb31e8adbd92a19f944cf0bafd4
2022-11-10 00:01:15 +00:00
Treehugger Robot
dba9325d55
Merge "Use the same union in riscv64's ucontext." am: e71efc5ca6
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2294860
Change-Id: I7693d4a49aabf4ebcc4bf4519a18a16b4e8b0e40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-09 22:50:40 +00:00
Treehugger Robot
e71efc5ca6
Merge "Use the same union in riscv64's ucontext."
2022-11-09 22:21:25 +00:00
Treehugger Robot
a9f5c494b6
Merge "Failures to parse SYSCALLS.TXT-like files should be errors." am: 315373dcab
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2290938
Change-Id: Ic88bbfabe08d7e7e5a755e323ab466de1a4b4faf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-09 17:51:32 +00:00
Treehugger Robot
315373dcab
Merge "Failures to parse SYSCALLS.TXT-like files should be errors."
2022-11-09 17:19:13 +00:00
Elliott Hughes
8e826775fb
Use the same union in riscv64's ucontext.
...
We don't need this (any more than arm64 does), because riscv64 is too
new to have had a too-small sigset_t, but it's useful for source code
compatibility with code that needs to build on arm32/x86 too.
Test: treehugger
Change-Id: Ied5f64d9094bc7d31c059f82f9e4ffe9b8ca4061
2022-11-09 16:38:00 +00:00
Elliott Hughes
a33c6664e1
Merge "Sync with upstream NetBSD." am: ebd2f76c9b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2290937
Change-Id: Ieab39ba997d5f87b4ada8fea79e6a5b96ac5234a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-09 16:23:23 +00:00
Elliott Hughes
00211554a7
Remove strtoq() and strtouq().
...
These have been aliases for strtoll() and strtoull() since L, by
accident. We've never exposed them in the headers, and they're unused by
any apps. Let's fix the inconsistency between libc.so and its headers by
removing the aliases.
Bug: https://github.com/android/ndk/issues/1803
Test: treehugger
Change-Id: I87de7831c04b3e450a44e9f0386cacb73793e393
2022-11-09 16:15:05 +00:00
Elliott Hughes
ebd2f76c9b
Merge "Sync with upstream NetBSD."
2022-11-09 16:03:31 +00:00
Automerger Merge Worker
a42733c219
Merge "Merge "Disable MemtagNoteTest#SEGV for native bridge" into android13-tests-dev am: 2934645119" am: b1638983e6
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2290233
Change-Id: I9a719b87f5175ced2f8ceed5150b819ec8154b11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-09 07:08:54 +00:00
Automerger Merge Worker
b1638983e6
Merge "Merge "Disable MemtagNoteTest#SEGV for native bridge" into android13-tests-dev am: 2934645119"
2022-11-09 06:25:24 +00:00
Treehugger Robot
fd0b800d11
Merge "Disable MemtagNoteTest#SEGV for native bridge" into android13-tests-dev am: 2934645119
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2290233
Change-Id: I4dc944e20df86d16f51e1c168ba44e2a19801b84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-09 06:25:21 +00:00
Treehugger Robot
2934645119
Merge "Disable MemtagNoteTest#SEGV for native bridge" into android13-tests-dev
2022-11-09 05:55:07 +00:00
Elliott Hughes
69a3932e77
Merge "Disable MemtagNoteTest#SEGV for native bridge" am: 2d5217ced1
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2291713
Change-Id: I8c46e7842b08db9f2d57039c652ab88a1f9d7e2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-08 22:14:48 +00:00
Elliott Hughes
2d5217ced1
Merge "Disable MemtagNoteTest#SEGV for native bridge"
2022-11-08 21:34:18 +00:00
Treehugger Robot
b75ed73c54
Merge "Fix a typo." am: ee267053bc
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2290027
Change-Id: Ia609cf85e298974fd4b6f50aac09c58d1e5baa5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-08 19:56:07 +00:00
Treehugger Robot
ee267053bc
Merge "Fix a typo."
2022-11-08 19:30:09 +00:00
Elliott Hughes
1c1dfb82f4
Failures to parse SYSCALLS.TXT-like files should be errors.
...
Previously we'd output a diagnostic but just blindly carry on.
Test: ran locally without my previous fix
Change-Id: I99a2411eae5bd72d97b6a4335c699d1e44d7b55a
2022-11-08 17:13:59 +00:00
dimitry
2cc2910e70
Disable MemtagNoteTest#SEGV for native bridge
...
This commit disables MemtagNoteTest#SEGV when running
on native bridge.
Bug: http://b/242170715
Test: run arm64 Bionic tests on T Emulator
Change-Id: I8ae99c5ba22f09a8d7e751f8bb4938894abe231f
2022-11-08 05:50:07 +00:00
Elliott Hughes
c8bf923bf0
Fix a typo.
...
No, I don't know why this is a warning rather than an error. I'll fix
that.
Test: treehugger
Change-Id: Ib3cb50fc4817e3fd418d2d721bda3819b0683b7c
2022-11-08 02:52:29 +00:00
Elliott Hughes
88e4e60a75
Sync with upstream NetBSD.
...
Test: treehugger
Change-Id: Ia82ba4a0c00a47377240e5d9a85dc30deb5ce3b7
2022-11-08 02:51:48 +00:00
Florian Mayer
f5f4112b07
[MTE] test for exception cleanup.
...
This depends on the LLVM change https://reviews.llvm.org/D135639 .
Test: adb shell /data/local/tmp/stack_tagging_helper exception_cleanup
Bug: 174878242
Change-Id: Ia1dfdbe482b40c174acaf6c1ac4ad054470d10b8
2022-11-07 18:17:44 -08:00
dimitry
dd64a6e28a
Disable MemtagNoteTest#SEGV for native bridge
...
This commit disables MemtagNoteTest#SEGV when running
on native bridge.
Bug: http://b/242170715
Test: run arm64 Bionic tests on T Emulator
Change-Id: I8ae99c5ba22f09a8d7e751f8bb4938894abe231f
2022-11-07 18:39:42 +01:00
Christopher Ferris
9f930ddaf6
Merge "Update to v6.0 kernel headers." am: 09db6416bc
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2238481
Change-Id: I134c41c6555e911407e0003374a008e9f0bc3a73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 01:58:48 +00:00
Christopher Ferris
09db6416bc
Merge "Update to v6.0 kernel headers."
2022-11-03 01:20:02 +00:00
Automerger Merge Worker
72b7c44e8a
Merge "Merge "Fix-up for change in pwd/grp ids for PRNG seeder daemon" into android13-tests-dev am: d06e75b7e3" am: 5ac1ad606a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2273426
Change-Id: Ib38b1a43cf470ac7882f22ca9a209b49eed44695
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 08:52:20 +00:00
Automerger Merge Worker
5ac1ad606a
Merge "Merge "Fix-up for change in pwd/grp ids for PRNG seeder daemon" into android13-tests-dev am: d06e75b7e3"
2022-10-31 07:54:42 +00:00
Orion Hodson
974b15e0ab
Merge "Fix-up for change in pwd/grp ids for PRNG seeder daemon" into android13-tests-dev am: d06e75b7e3
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2273426
Change-Id: I4d17c2c68d9661530371c53d109410397edbe7c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 07:54:37 +00:00
Orion Hodson
d06e75b7e3
Merge "Fix-up for change in pwd/grp ids for PRNG seeder daemon" into android13-tests-dev
2022-10-31 07:34:05 +00:00
Treehugger Robot
4eeafde0d2
Merge "Remove fallback C sqrt/sqrtf." am: d8b0171e35
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2276977
Change-Id: I7f10e02e7d0a7392e56fcedae199afa35b8c7aeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-29 00:02:19 +00:00
Treehugger Robot
d8b0171e35
Merge "Remove fallback C sqrt/sqrtf."
2022-10-28 23:07:49 +00:00
Elliott Hughes
e0942db080
Remove fallback C sqrt/sqrtf.
...
Everyone uses assembler.
Test: treehugger
Change-Id: Id88b029e7d3558f203223d5153ec6098c7230d64
2022-10-28 20:18:17 +00:00