Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/installboot



In article <19121.1067789378%splode.eterna.com.au@localhost>
mrg%eterna.com.au@localhost wrote:

> for some platforms, it *must* be RAW_PART ('c'), but for some it can
> be on a per-partition basis.  i believe x86 is one of those.

Some platforms require to write some code in LABELSECTOR on installboot,
but MD bounds_check_with_label() doesn't allow it unless RAW_PART
is specified.
(If RAW_PART is specified, bounds_check_with_label() is not called)

On news68k, I changed bounds_check_with_label() to skip
the check on securelevel == 0, but Christoph Badura suggested
me to use proper ioctl() to write data in LABELSECTOR.

I don't know what is the right solution, though.
---
Izumi Tsutsui
tsutsui%ceres.dti.ne.jp@localhost



Home | Main Index | Thread Index | Old Index