|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.2 |
08-Jun-2025 |
christos |
branches: 1.2.4; try to fix the clang build: :pg_hi21: is a gas extension.
|
| 1.1 |
21-Apr-2025 |
riastradh |
t_signal_and_sp: Test makecontext and pthread_create stack alignment.
PR kern/59327: user stack pointer is not aligned properly
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.1 |
27-Feb-2025 |
riastradh |
branches: 1.1.4; Test whether exec/spawn will zero registers.
Currently implemented only for a handful of architectures; should extend this to all the others, and extend as appropriate if we find more register content is worth testing (like maybe vector registers, but they are managed differently anyway and less likely to leak).
VAX test contributed (and tested) by Kalvis Duckmanton, with some tweaks by me; the others written and tested by me. IA64 skipped, even though I suspect it _would_ leak if the kernel code ran as is, because I have no way to test it.
PR kern/59084: exec/spawn leaks register content
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.1 |
27-Feb-2025 |
riastradh |
branches: 1.1.4; Test whether exec/spawn will zero registers.
Currently implemented only for a handful of architectures; should extend this to all the others, and extend as appropriate if we find more register content is worth testing (like maybe vector registers, but they are managed differently anyway and less likely to leak).
VAX test contributed (and tested) by Kalvis Duckmanton, with some tweaks by me; the others written and tested by me. IA64 skipped, even though I suspect it _would_ leak if the kernel code ran as is, because I have no way to test it.
PR kern/59084: exec/spawn leaks register content
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.3 |
04-Jun-2025 |
christos |
branches: 1.3.4; try to fix the clang build: :pg_hi21: is a gas extension.
|
| 1.2 |
20-Apr-2025 |
riastradh |
t_signal_and_sp: Check sp on elf constructor/destructor entry too.
XXX Should maybe test both .ctors/.dtors and .init/fini_array, but for now I'm limiting this to whatever gcc uses by default for each architecture.
PR kern/59327: user stack pointer is not aligned properly
|
| 1.1 |
20-Apr-2025 |
riastradh |
Test stack pointer alignment in various scenarios.
1. elf entry point 2. main function 3. signal handler
Extend the test to amd64 while here -- fortunately both aarch64 and amd64 pass, but others, such as mips, will fail:
PR kern/59327: user stack pointer is not aligned properly
This extends the test that was previously written for:
PR kern/58149: aarch64: Cannot return from a signal handler if SP was misaligned when the signal arrived
With any luck, this will help us to systematically eradicate misaligned stack pointers as hypothesized to be the reason for:
PR port-mips/59236: Multiple segfaults in erlite3 boot
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.2 |
25-Apr-2025 |
riastradh |
branches: 1.2.4; t_execregs: On aarch64, make sure to align stack to 16 bytes.
Should avoid SIGBUS with strict alignment (SCTLR_EL0.A bit).
PR kern/59084: exec/spawn leaks register content
|
| 1.1 |
27-Feb-2025 |
riastradh |
Test whether exec/spawn will zero registers.
Currently implemented only for a handful of architectures; should extend this to all the others, and extend as appropriate if we find more register content is worth testing (like maybe vector registers, but they are managed differently anyway and less likely to leak).
VAX test contributed (and tested) by Kalvis Duckmanton, with some tweaks by me; the others written and tested by me. IA64 skipped, even though I suspect it _would_ leak if the kernel code ran as is, because I have no way to test it.
PR kern/59084: exec/spawn leaks register content
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.2 |
08-Jun-2025 |
christos |
branches: 1.2.4; try to fix the clang build: :pg_hi21: is a gas extension.
|
| 1.1 |
20-Apr-2025 |
riastradh |
Test stack pointer alignment in various scenarios.
1. elf entry point 2. main function 3. signal handler
Extend the test to amd64 while here -- fortunately both aarch64 and amd64 pass, but others, such as mips, will fail:
PR kern/59327: user stack pointer is not aligned properly
This extends the test that was previously written for:
PR kern/58149: aarch64: Cannot return from a signal handler if SP was misaligned when the signal arrived
With any luck, this will help us to systematically eradicate misaligned stack pointers as hypothesized to be the reason for:
PR port-mips/59236: Multiple segfaults in erlite3 boot
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.2 |
20-Apr-2025 |
riastradh |
Test stack pointer alignment in various scenarios.
1. elf entry point 2. main function 3. signal handler
Extend the test to amd64 while here -- fortunately both aarch64 and amd64 pass, but others, such as mips, will fail:
PR kern/59327: user stack pointer is not aligned properly
This extends the test that was previously written for:
PR kern/58149: aarch64: Cannot return from a signal handler if SP was misaligned when the signal arrived
With any luck, this will help us to systematically eradicate misaligned stack pointers as hypothesized to be the reason for:
PR port-mips/59236: Multiple segfaults in erlite3 boot
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.1 |
22-Apr-2024 |
pho |
branches: 1.1.2; Add a test for kern/58149
aarch64: Cannot return from a signal handler if SP was misaligned when the signal arrived
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.1 |
21-Apr-2025 |
riastradh |
branches: 1.1.4; t_signal_and_sp: Test makecontext and pthread_create stack alignment.
PR kern/59327: user stack pointer is not aligned properly
|