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

exec'd child process on Mac 10.6 inherit random fds #2587

Closed
bradfitz opened this issue Dec 19, 2011 · 1 comment
Closed

exec'd child process on Mac 10.6 inherit random fds #2587

bradfitz opened this issue Dec 19, 2011 · 1 comment

Comments

@bradfitz
Copy link
Contributor

What steps will reproduce the problem?
1. re-enable the test in os/exec/exec_test.go, in the "read3" helper process

Or, to see more:
2. instead of failing there, do: for { time.Sleep(1e9) }
3. lsof -p on the parent & child.
4. observe both the parent and child have stuff open like lp_test.go, which the child
should've never had opened.

Oddly, this passes on Mac 10.7.

It's fine on Linux, too.
@bradfitz
Copy link
Contributor Author

Comment 1:

This issue was closed by revision 1dfe3d1.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants