diff options
| author | Benjamin Lamowski <benjamin.lamowski@kernkonzept.com> | 2021-06-02 19:46:27 +0200 |
|---|---|---|
| committer | Benjamin Lamowski <benjamin.lamowski@kernkonzept.com> | 2022-03-09 11:53:27 +0100 |
| commit | c0dc41f5ff00474d0c692a18330bd32f44d15d67 (patch) | |
| tree | c1396fe300249da607c5ff110e66101ef600d553 /library/std/src/sys/unix/mod.rs | |
| parent | 898f379817602376442b814109e1abc42457fbbb (diff) | |
| download | rust-c0dc41f5ff00474d0c692a18330bd32f44d15d67.tar.gz rust-c0dc41f5ff00474d0c692a18330bd32f44d15d67.zip | |
L4Re does not support sanitizing standard streams
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.
Diffstat (limited to 'library/std/src/sys/unix/mod.rs')
| -rw-r--r-- | library/std/src/sys/unix/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/mod.rs b/library/std/src/sys/unix/mod.rs index 605cc499b3c..7423d90263d 100644 --- a/library/std/src/sys/unix/mod.rs +++ b/library/std/src/sys/unix/mod.rs @@ -80,6 +80,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 [ |
