Re: [PATCH v3 4/7] fs: Treat foreign mounts as nosuid

2015-11-17 Thread James Morris
On Tue, 17 Nov 2015, Seth Forshee wrote: > From: Andy Lutomirski > > If a process gets access to a mount from a different user > namespace, that process should not be able to take advantage of > setuid files or selinux entrypoints from that filesystem. Prevent > this by treating mounts from oth

[PATCH v3 4/7] fs: Treat foreign mounts as nosuid

2015-11-17 Thread Seth Forshee
From: Andy Lutomirski If a process gets access to a mount from a different user namespace, that process should not be able to take advantage of setuid files or selinux entrypoints from that filesystem. Prevent this by treating mounts from other mount namespaces and those not owned by current_use