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.
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."