File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -334,9 +334,9 @@ feature! {
334
334
/// # Safety
335
335
///
336
336
/// In a multithreaded program, only [async-signal-safe] functions like `pause`
337
- /// and `_exit` may be called by the child (the parent isn't restricted). Note
338
- /// that memory allocation may **not** be async-signal-safe and thus must be
339
- /// prevented.
337
+ /// and `_exit` may be called by the child (the parent isn't restricted) until
338
+ /// a call of `execve(2)`. Note that memory allocation may **not** be
339
+ /// async-signal-safe and thus must be prevented.
340
340
///
341
341
/// Those functions are only a small subset of your operating system's API, so
342
342
/// special care must be taken to only invoke code you can control and audit.
Original file line number Diff line number Diff line change @@ -265,9 +265,9 @@ impl ForkResult {
265
265
/// # Safety
266
266
///
267
267
/// In a multithreaded program, only [async-signal-safe] functions like `pause`
268
- /// and `_exit` may be called by the child (the parent isn't restricted). Note
269
- /// that memory allocation may **not** be async-signal-safe and thus must be
270
- /// prevented.
268
+ /// and `_exit` may be called by the child (the parent isn't restricted) until
269
+ /// a call of `execve(2)`. Note that memory allocation may **not** be
270
+ /// async-signal-safe and thus must be prevented.
271
271
///
272
272
/// Those functions are only a small subset of your operating system's API, so
273
273
/// special care must be taken to only invoke code you can control and audit.
You can’t perform that action at this time.
0 commit comments