[PATCH] fs,net: Add MS_NOIPCCONNECT to block existing FIFOs and sockets

2014-05-01 Thread Andy Lutomirski
An MS_RDONLY mount disallows binding unix sockets and creating FIFOs, but it does not prevent opening existing FIFOs and connecting to unix sockets. Containers and other sandbox-like applications may want to block IPC to the outside world. Network namespaces can control access to abstract

[PATCH] fs,net: Add MS_NOIPCCONNECT to block existing FIFOs and sockets

2014-05-01 Thread Andy Lutomirski
An MS_RDONLY mount disallows binding unix sockets and creating FIFOs, but it does not prevent opening existing FIFOs and connecting to unix sockets. Containers and other sandbox-like applications may want to block IPC to the outside world. Network namespaces can control access to abstract