Re: [RFC][PATCH] rbind across namespaces

Miklos Szeredi
2005-05-24T17:56:38Z

> So you'd say 'mount /dev/foo /proc/self/fd/4' if 4 was an fd pointing to
> a directory in another namespace?
>
> That does require proc_check_root be removed. :\

Or just make an exception to self?

proc_check_root() could begin with:

if (current == proc_task(inode))
return 0;

For all other tasks it would still be effective.

Miklos