summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-21 00:08:45 +0000
committerGitHub <noreply@github.com>2021-02-21 00:08:45 +0000
commit7704f5d5d75a6c0067499280f027e0cc2510998d (patch)
tree1a9a5d1286e45c6aef101eceb69c687b2b7d439a /CHANGELOG.md
parent7e6096f12106aeeff742c50939a889848aefce85 (diff)
parentc6c851403b6bd16c93227c309abad3e95f5476bf (diff)
downloadnix-7704f5d5d75a6c0067499280f027e0cc2510998d.zip
Merge #1390
1390: pty: Make forkpty() unsafe r=asomers a=tavianator After the child returns from a fork() of a multi-threaded process, it is undefined behaviour to call non-async-signal-safe functions according to POSIX. Since forkpty() is implemented in terms of fork(), those restrictions should apply to it too. Fixes #1388 Co-authored-by: Tavian Barnes <tavianator@tavianator.com>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 35c8fd7a..00212924 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased] - ReleaseDate
### Added
+
### Changed
+- Made `forkpty` unsafe, like `fork`
+ (#[1390](https://github.com/nix-rust/nix/pull/1390))
+
### Fixed
### Removed