Re: RFC: permit link(2) to work across --bind mounts ?
From: Mark Lord
Date: Wed Dec 19 2007 - 11:44:48 EST
Al Viro wrote:
On Wed, Dec 19, 2007 at 02:43:26PM +0100, Bodo Eggert wrote:
Since nobody knows about this "security boundary" and everybody knows about
the annoying "can't link across bind-mountpoints bug",
... how about teaching people to RTFM? Starting, perhaps, with man 2 link?
..
Mmm.. that's a programmers' man page, not a user/admin page.
Something in mv(1) would be very useful to have.
And perhaps a mount flag to select desired behaviour,
since virtually everyone expects it to "just work" that way,
and it doesn't.
I'll happily generate a patch if we can agree on the correctness
of the sample patch I posted earlier, plus a suitable mount flag name.
Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/