Re: [RFC][PATCH] rbind across namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-05-24 at 11:04, Mike Waychison wrote:
> Miklos Szeredi wrote:
> >>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.
> > 
> 
> Yes, I think something like that is workable :)
> 
> (we still have to fix up all the namespace->sem locking.  I have yet to 
> review Ram's patch.)

Yes. This patch is not fully ready yet. It still has to take care of
using the correct namespace sems for operations like umount/move etc.

Have been recently busy with shared subtree coding. Will work on this
to remove all the assumptions in the code that think 'a process can
access only its own namespace'. 
RP
> 
> Mike Waychison
> -
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux