Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 04:09:06 +0200 (CEST)
From:      Mikael Karpberg <karpen@ocean.campus.luth.se>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        current@FreeBSD.ORG
Subject:   Re: -STABLE reboots
Message-ID:  <199710220209.EAA05605@ocean.campus.luth.se>
In-Reply-To: <199710220037.KAA17789@godzilla.zeta.org.au> from Bruce Evans at "Oct 22, 97 10:37:46 am"

next in thread | previous in thread | raw e-mail | index | archive | help
According to Bruce Evans:
> 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?

Or mount syscall (?) or mount_* programs checking if the arguments are the
same, or so? Or am I missing something?

  /Mikael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710220209.EAA05605>