pkg/beam
Alexander Larsson 071e5e5a65 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 Beam: a simple stream-oriented communication protocol for distributed systems. 2014-04-22 15:50:14 -07:00
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