> But you don't need a new system call to bind an fd. > > "mount --bind /proc/self/fd/N mount_point" works, try it. Ahh, yes :) Still proc_check_root() has to be relaxed, to allow dereferencing link under a different namespace. Maybe the check should be skipped for capable(CAP_SYS_ADMIN) or similar. What do people think about that? Miklos - 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/
- Follow-Ups:
- Re: [PATCH] private mounts
- From: Jamie Lokier <[email protected]>
- Re: [PATCH] private mounts
- From: Olivier Galibert <[email protected]>
- Re: [PATCH] private mounts
- References:
- Re: [PATCH] private mounts
- From: Al Viro <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Jan Hudec <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Jamie Lokier <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Jamie Lokier <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Jamie Lokier <[email protected]>
- Re: [PATCH] private mounts
- Prev by Date: Re: 2.6.12-rc3-mm1
- Next by Date: Re: [PATCH] cifs: handle termination of cifs oplockd kernel thread
- Previous by thread: Re: [PATCH] private mounts
- Next by thread: Re: [PATCH] private mounts
- Index(es):