[lkml]   [2008]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: unprivileged mounts git tree
On Thu, 11 Sep 2008, (Eric W. Biederman)
> There is a weird corner case I'm trying to wrap my head around.
> unlink and rmdir do not work on dentries that are mount points
> in another mount namespace.
> Which is at least needed for the moment so we don't leak mounts.
> Once we have unprivileged mounts does that introduce a DOS attack?

Hmm, yes. That's a tough one...

I think if the dentry has only user mounts, unlink should go ahead and
on success dissolve any mounts on the dentry. Does that sound


 \ /
  Last update: 2008-09-11 16:47    [W:0.110 / U:2.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site