Subject: Re: CVS commit: src/sys/arch
To: None <firstname.lastname@example.org>
From: Izumi Tsutsui <email@example.com>
Date: 11/09/2006 01:00:31
> Im not sure if it's what you're asking, but we can't allow overwriting
> of the disklabel at securelevel > 0, because that would allow overwriting
> any other disk partition, which is forbidden for obvious reasons.
Overwriting LABELSECTOR via RAW_PART is always allowed, isn't it?
I'm wondering what will happen if we always allow overwriting
LABELSECTOR even via !RAW_PART.
(some people might become unhappy by miss operation on root partition?)
BTW, is there such securelevel (or kauth) checks on overwriting
disklabel (on ports other than current news68k and newsmips)?
Isn't it a check of raw write against mounted filesystems?