Re: [PATCH]X86:reboot.c Add some dmi entries topci_reboot_dmi_table.

From: Matthew Garrett
Date: Tue Jun 01 2010 - 17:29:16 EST


On Tue, Jun 01, 2010 at 02:26:01PM -0700, Justin P. Mattock wrote:
> On 06/01/2010 02:12 PM, Matthew Garrett wrote:
>> some level. How about the following (again, run as root):
>>
>> #include<sys/io.h>
>>
>> int main() {
>> iopl(3);
>> outb(0xfe, 0x64);
>> return 0;
>> }
>>

So, just to be clear, you run this as root and it immediately returns
you to the prompt? This seems unlikely.

> ahh!! I see now:
> grep 0x64 *.dsl

No, that's unrelated.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/