Re: [PATCH] private mounts
From: Miklos Szeredi (miklos_at_szeredi.hu)
Date: 04/30/05
- Previous message: Coywolf Qi Hunt: "Re: 2.6.12-rc3-mm1"
- In reply to: Jamie Lokier: "Re: [PATCH] private mounts"
- Next in thread: Olivier Galibert: "Re: [PATCH] private mounts"
- Reply: Olivier Galibert: "Re: [PATCH] private mounts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: jamie@shareable.org Date: Sat, 30 Apr 2005 19:07:56 +0200
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Coywolf Qi Hunt: "Re: 2.6.12-rc3-mm1"
- In reply to: Jamie Lokier: "Re: [PATCH] private mounts"
- Next in thread: Olivier Galibert: "Re: [PATCH] private mounts"
- Reply: Olivier Galibert: "Re: [PATCH] private mounts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|