Subject: Re: CVS commit: src/sys/arch
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 11/08/2006 10:30:02
On Wed, Nov 08, 2006 at 10:11:45PM +0900, Izumi Tsutsui wrote:
>
> BTW, is it really worth to check about overwriting disklabel
> in bounds_check_with_label()? I guess it's almost the only reason
> why RAW_PART shall be 3 (D partition) on ports which support MBR,
> and some ports (macppc etc.) don't have the check.

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.

-- 
  Thor Lancelot Simon	                                     tls@rek.tjls.com

  "We cannot usually in social life pursue a single value or a single moral
   aim, untroubled by the need to compromise with others."      - H.L.A. Hart