Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check masking in OS:GetRandomMmapAddr #375

Open
ghost opened this issue Dec 31, 2020 · 2 comments
Open

Check masking in OS:GetRandomMmapAddr #375

ghost opened this issue Dec 31, 2020 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Dec 31, 2020

Review the FIXME here:

  // FIXME(RISCV): We need more information from the kernel to correctly mask
  // this address for RISC-V.
  raw_addr &= uint64_t{0xFFFFFF0000};
@ghost ghost added the question Further information is requested label Dec 31, 2020
@luyahan
Copy link
Collaborator

luyahan commented Mar 17, 2021

Refer to Linux condig

Riscv64 use Sv39

@luyahan
Copy link
Collaborator

luyahan commented Feb 14, 2022

Linux Support SV39 and sv48. May be v8 should support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant