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

Audit ARM64 port #30

Open
sanxiyn opened this issue Jan 13, 2023 · 0 comments
Open

Audit ARM64 port #30

sanxiyn opened this issue Jan 13, 2023 · 0 comments

Comments

@sanxiyn
Copy link
Contributor

sanxiyn commented Jan 13, 2023

#29 did basic port to ARM64, but Linux on different architectures (like x86_64 and ARM64) can execute different syscalls for the same code, and Jail needs to take that into consideration.

At least one such case is known. For the following Python code:

import os
os.access('/', os.F_OK)

x86_64 executes access but ARM64 executes faccessat. Currently, access is checked for path but faccessat is not.

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

No branches or pull requests

1 participant