You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This becomes a problem if some program has used dup2 to alter the file descriptor association. This is the case for dd. The fix is not so obvious but maybe there is a way to check if fd 0 is actually the host tty.
The text was updated successfully, but these errors were encountered:
There is a shortcut, which delegates read/readv of the file descriptor 0 (usually stdin) to a host read/readv:
sgx-lkl-musl/src/internal/syscall.h
Line 182 in 0408574
This becomes a problem if some program has used dup2 to alter the file descriptor association. This is the case for dd. The fix is not so obvious but maybe there is a way to check if fd 0 is actually the host tty.
The text was updated successfully, but these errors were encountered: