about summary refs log tree commit diff
path: root/src/libstd/sys/redox
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-02-03 11:17:59 +0100
committerRalf Jung <post@ralfj.de>2019-02-03 11:17:59 +0100
commite023403da2da17ba7320c53c415b960c93348247 (patch)
treea23fb2488bcf8f979fad0ce84cdf3ec723059ddd /src/libstd/sys/redox
parent33ee99b26a499027546f88a7f4eeddd8d4985c39 (diff)
downloadrust-e023403da2da17ba7320c53c415b960c93348247.tar.gz
rust-e023403da2da17ba7320c53c415b960c93348247.zip
POSIX requires async signal safety for fork in signal handlers, not in general
Diffstat (limited to 'src/libstd/sys/redox')
-rw-r--r--src/libstd/sys/redox/ext/process.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/sys/redox/ext/process.rs b/src/libstd/sys/redox/ext/process.rs
index 55824dc4c05..18aef768b5d 100644
--- a/src/libstd/sys/redox/ext/process.rs
+++ b/src/libstd/sys/redox/ext/process.rs
@@ -48,8 +48,7 @@ pub trait CommandExt {
     /// This also means that all resources such as file descriptors and
     /// memory-mapped regions got duplicated. It is your responsibility to make
     /// sure that the closure does not violate library invariants by making
-    /// invalid use of these duplicates.  Moreover, POSIX demands that you only
-    /// perform operations that are explicitly documented as async-signal-safe.
+    /// invalid use of these duplicates.
     ///
     /// When this closure is run, aspects such as the stdio file descriptors and
     /// working directory have successfully been changed, so output to these