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

Sandboxing #256

Merged
merged 2 commits into from
Jan 19, 2024
Merged

Sandboxing #256

merged 2 commits into from
Jan 19, 2024

Conversation

giann
Copy link
Collaborator

@giann giann commented Jan 19, 2024

Two new build flags:

  • -Dmemory_limit to give a memory usage limit.
  • -Dcycle_limit to give a VM cycles limit. This disables the JIT compiler until I figure out how to evaluate the amount of cpu usage of a compiled function.
  • Further sandboxing would require forbidding usage of standard libs like io, fs etc. Which is already possible by having a copy of buzz without those libs .dylib/.so files

@giann giann merged commit f619b85 into main Jan 19, 2024
3 checks passed
@giann giann deleted the sandbox branch January 19, 2024 14:53
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

Successfully merging this pull request may close these issues.

1 participant