Skip to content

Commit

Permalink
L4Re does not support sanitizing standard streams
Browse files Browse the repository at this point in the history
L4Re provides limited POSIX support which includes support for
standard I/O streams, and a limited implementation of the standard file
handling API. However, because as a capability based OS it strives to
only make a local view available to each application, there are
currently no standardized special files like /dev/null that could serve
to sanitize closed standard FDs.

For now, skip any attempts to sanitize standard streams until a more
complete POSIX runtime is available.
  • Loading branch information
atopia committed Jun 9, 2021
1 parent c69a01c commit f52fe68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/sys/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ pub unsafe fn init(argc: isize, argv: *const *const u8) {
target_os = "macos",
target_os = "ios",
target_os = "redox",
target_os = "l4re",
)))] {
use crate::sys::os::errno;
let pfds: &mut [_] = &mut [
Expand Down

0 comments on commit f52fe68

Please sign in to comment.