Repository navigation
0.27.1: riscv64; a frame chain without process_vm_readv - #59
Merged
Merged
Conversation
The riscv64 gate (ecall) beside aarch64's over the one architecture-independent table, renameat2 where the table has no renameat, the thread pointer tp with the storage beginning at it, _start setting the global pointer, the generic clone order, the asm-generic O_DIRECTORY and O_NOFOLLOW, a handler's record without a restorer (okl::handler_action builds every such record), the vDSO clock, the context's pc, sp and s0 with the frame record below the frame pointer, and riscv_flush_icache after publishing instructions. Where process_vm_readv answers ENOSYS a frame is read through a pipe of the read's own. tools/arch-check.sh builds and runs tests/arch/runs.cpp for i386 and, under qemu-user, riscv64.
…ails on the run's own status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
riscv64 joins x86_64, aarch64 and i386: the ecall gate over the architecture-independent table shared with aarch64 (no
renameat:renameat2without flags), the thread pointertpwith the storage beginning at it,_startsetting the global pointer, the genericcloneorder, the asm-genericO_DIRECTORY/O_NOFOLLOW, a handler's record without a restorer (every such record is built byokl::handler_action), the vDSO clock, the context'spc/sp/s0with the frame record below the frame pointer, andriscv_flush_icacheafter published instructions (the maintenance the kernel offers as a call).Where
process_vm_readvanswers ENOSYS (a kernel without CROSS_MEMORY_ATTACH; qemu-user, measured with 8.2.2) a frame is read through a pipe of the read's own, so samples and fault reports keep their chains.tools/arch-check.sh(formerlyword32-check.sh) builds the implementation standalone and runstests/arch/runs.cppfor i386 natively and riscv64 under qemu-user. Measured locally: every check holds on both, including a sample holding the frames above the work.