Date: Wed, 22 Oct 1997 12:13:50 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, karpen@ocean.campus.luth.se Cc: current@FreeBSD.ORG Subject: Re: -STABLE reboots Message-ID: <199710220213.MAA22074@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> The problem is more serious in -current, since mount(2) is unprivileged, >> so even `mount /foo /foo' panics (if the mounter is root or owns /foo). > >Er... Isn't that easilly solvable by mount checking for the two arguments >being the same? Of course not, or it would have been fixed years ago. `mkdir foo; ln foo bar; mount foo bar' also panics. Checking inodes isn't enough either, since `mkdir foo foo/foo; mount foo/foo foo' also panics. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710220213.MAA22074>