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

Set errno for simulated program #410

Open
dANW34V3R opened this issue Apr 19, 2024 · 2 comments
Open

Set errno for simulated program #410

dANW34V3R opened this issue Apr 19, 2024 · 2 comments

Comments

@dANW34V3R
Copy link
Contributor

Currently we simulate system calls. On hardware these often set the errno variable which the user space program can inspect to gain information about what happened during the call. We do not set this value for any system call which may effect the behaviour of simulated programs. This should be implemented.

https://man7.org/linux/man-pages/man3/errno.3.html

"The error numbers that correspond to each symbolic name vary across UNIX systems, and even across different architectures on Linux."

@FinnWilkinson
Copy link
Contributor

This seems like a duplicate of Issue #328 ? Or at the very least these issues should be tackled together

@dANW34V3R
Copy link
Contributor Author

Yes, this looks like a duplicate. Feel free to close it

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

No branches or pull requests

2 participants