-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LibOS] Fix setting of
O_NONBLOCK
flag at the write end of pipe
Previously in Gramine we didn't save the `O_NONBLOCK` flag for the write end of the pipe. We only set the `O_NONBLOCK` flag for the PAL handle but this wasn't propagated to the LibOS (shim) handle when creating pipe. This commit fixes the corner case. Also, `pipe_nonblocking` regression test is updated to test this corner case. Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
- Loading branch information
1 parent
74420be
commit e50c01b
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters