Port-xen archive

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

Re: some questions



On Sat, Jan 07, 2006 at 12:16:14PM +0100, Pavel Cahyna wrote:
> On Sat, Jan 07, 2006 at 11:54:55AM +0100, Manuel Bouyer wrote:
> > int
> > i386_iopl(l, args, retval)
> > {
> > [...]
> >     if (securelevel > 1)
> >             return EPERM;
> > 
> > Of course what I said relies on the kernel starting at securelevel 1, which
> > I said in a previous mail.
> 
> How does it help, if there is "securelevel > 1" and not 
> "securelevel >= 1" ?

Hum right. So let say we patch the kernel :)

> 
> Also, how do you start the kernel at securelevel 1?

gdb --write /usr/pkg/etc/xen/kernels/netbsd-XENU
set securelevel=1
quit

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index