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

From: Justin P. Mattock
Date: Tue Jun 01 2010 - 17:56:13 EST


On 06/01/2010 02:48 PM, Matthew Garrett wrote:
On Tue, Jun 01, 2010 at 02:43:12PM -0700, Justin P. Mattock wrote:
On 06/01/2010 02:29 PM, Matthew Garrett wrote:
So, just to be clear, you run this as root and it immediately returns
you to the prompt? This seems unlikely.

yep.. with the above code
I (save to a file) then
non-root gcc reboot.c -o reboot
then su
./reboot
just bake to the command prompt

Are you running some sort of security policy that might block hardware
access? I'm going to have to find one of these machines to test with -
on everything I have here, the cf9 write and the keyboard controller
write both generate reboots. The worst case should be a hung machine,
not one that continues running...



yeah I just checked
/usr/sbin/sestatus has everything in permissive
mode. as for the system it's fedora 13

as for testing on this machine
if your in Ventura county let me know

Justin P. Mattock
--
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/