mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
979277c7a01c855abbc1638bd1a99cfd1bc63cb1
Grab forklock to make sure no forks accidentally inherit the new fds before they are made CLOEXEC There is a slight race condition between ReadMsgUnix returns and when we grap the lock, so this is not perfect. Unfortunately There is no way to pass MSG_CMSG_CLOEXEC to recvmsg() nor any way to implement non-blocking i/o in go, so this is hard to fix. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
Description
Languages
Markdown
94.9%
HTML
2.4%
JavaScript
0.8%
CSS
0.7%
Go
0.7%
Other
0.2%