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
{{ message }}
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.
This will lead to some difficult to track down problems if the OS crashes when you have a flag set while making a syscall, while this behaviour is not documented
I'd recommend to clear the direction flag on the functions that would break and declare in the API that no assumptions about the direction flag have to be made after using said functions
or alternatively if the direction flag has a deterministic state after making a syscall we can just document it
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Some functions will break if the direction flag is set.
Should this be left to the app programmer to verify? Or should the OS save/restore the state of the flag on all calls?
The text was updated successfully, but these errors were encountered: