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

Provided system calls needs improvement #21

Open
fwsGonzo opened this issue Feb 12, 2022 · 2 comments
Open

Provided system calls needs improvement #21

fwsGonzo opened this issue Feb 12, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@fwsGonzo
Copy link
Owner

The provided system calls that comes with the emulator needs to be improved upon to handle basic tasks like reading files and such. Unfortunately, there is a stigma to allowing an emulator full system access, and sanitizing files and paths is not an easy task - especially designing the API and not making so that nobody wants to touch it.

That said, the emulator is not a sandbox. It is a reference implementation that should be able to run basic programs. Any isolation and tight integration into other programs falls out of that scope.

Also, the multi-threading needs to be improved so that it can run basic Go programs.

@fwsGonzo fwsGonzo added the enhancement New feature or request label Feb 12, 2022
@fwsGonzo
Copy link
Owner Author

System calls are now part of the library itself, and many filesystem system calls are supported. There is also basic sockets support; enough for a TCP listener and basic read and write.

@fwsGonzo
Copy link
Owner Author

There is now just enough syscall emulation for a Golang hello world program

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

No branches or pull requests

1 participant