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

syscall: use pipe2 on GNU/Linux for O_CLOEXEC #2656

Closed
ianlancetaylor opened this issue Jan 4, 2012 · 5 comments
Closed

syscall: use pipe2 on GNU/Linux for O_CLOEXEC #2656

ianlancetaylor opened this issue Jan 4, 2012 · 5 comments
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Milestone

Comments

@ianlancetaylor
Copy link
Contributor

On GNU/Linux os.Pipe should use the pipe2 system call when available, passing in
O_CLOEXEC.  pipe2 is new as of Linux kernel version 2.6.27.  This can avoid a call to
syscall.ForkLock.RLock.  Also should use pipe2 in syscall.ForkExec.
@rsc
Copy link
Contributor

rsc commented Sep 12, 2012

Comment 2:

Labels changed: added go1.1.

@rsc
Copy link
Contributor

rsc commented Dec 10, 2012

Comment 3:

Labels changed: added size-m.

@rsc
Copy link
Contributor

rsc commented Dec 10, 2012

Comment 4:

Labels changed: added suggested.

@ianlancetaylor
Copy link
Contributor Author

Comment 5:

This issue was closed by revision e32d115.

Status changed to Fixed.

@ianlancetaylor
Copy link
Contributor Author

Comment 6:

This issue was updated by revision 98259b9.

R=golang-dev, iant, minux.ma, bradfitz
CC=golang-dev
https://golang.org/cl/7065063
Committer: Ian Lance Taylor 

@ianlancetaylor ianlancetaylor added fixed Suggested Issues that may be good for new contributors looking for work to do. labels Jan 11, 2013
@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@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.
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Projects
None yet
Development

No branches or pull requests

3 participants