1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/beam
Alexander Larsson b0228d94be beam: Make extracted Fds CloseOnExec
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)
2014-04-22 15:50:21 -07:00
..
data beam/data: Message.Parse creates a message from shell-style 'key=value' arguments 2014-04-22 15:50:20 -07:00
examples/beamsh beam/examples/beamsh: add a few example dockerscripts 2014-04-22 15:50:21 -07:00
MAINTAINERS
service.go Beam: change the prototype of SendPipe() to return a *net.UnixSocket 2014-04-22 15:50:14 -07:00
unix.go beam: Make extracted Fds CloseOnExec 2014-04-22 15:50:21 -07:00
unix_test.go Beam: basic test harness for the unix socket implementation. 2014-04-22 15:50:15 -07:00