Skip to content

Commit f52fe68

Browse files
committed
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.
1 parent c69a01c commit f52fe68

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/unix

1 file changed

+1
-0
lines changed

library/std/src/sys/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ pub unsafe fn init(argc: isize, argv: *const *const u8) {
7676
target_os = "macos",
7777
target_os = "ios",
7878
target_os = "redox",
79+
target_os = "l4re",
7980
)))] {
8081
use crate::sys::os::errno;
8182
let pfds: &mut [_] = &mut [

0 commit comments

Comments
 (0)