Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forkpty() should probably be unsafe #1388

Closed
tavianator opened this issue Feb 16, 2021 · 1 comment · Fixed by #1390
Closed

forkpty() should probably be unsafe #1388

tavianator opened this issue Feb 16, 2021 · 1 comment · Fixed by #1390

Comments

@tavianator
Copy link
Contributor

fork() is unsafe (for good reason; you're not allowed to do much in the child if the parent was multithreaded). OTOH, forkpty() is not unsafe even though the same reasoning should apply.

@asomers
Copy link
Member

asomers commented Feb 20, 2021

Yep, you're right. Care to submit a PR to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants