Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756230Ab0FAVm4 (ORCPT ); Tue, 1 Jun 2010 17:42:56 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:54565 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754531Ab0FAVmz (ORCPT ); Tue, 1 Jun 2010 17:42:55 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=RovLssDtdO9444hYx6YZhZKXA3+zTnoJaW/iNz8WczcdXtXI6KedFMzna3nP3Enfe6 psMgK/T6Gd2h/tD/lLIlW5g6fu1xaIPgzfOUS0DGftZBgjPLNEnJ4BQLOa/06iseAtW8 ZipNYStmeoTCsu20wEY4pOZtUpKchclBJshMk= Message-ID: <4C057EF0.2030808@gmail.com> Date: Tue, 01 Jun 2010 14:43:12 -0700 From: "Justin P. Mattock" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091114 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: Matthew Garrett CC: x86@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH]X86:reboot.c Add some dmi entries to pci_reboot_dmi_table. References: <20100601192101.GA15086@srcf.ucam.org> <4C056839.8020605@gmail.com> <20100601200704.GA16091@srcf.ucam.org> <4C056AE6.3000409@gmail.com> <20100601202130.GA16391@srcf.ucam.org> <4C056E0C.2030709@gmail.com> <20100601203351.GA16575@srcf.ucam.org> <4C0572B4.6000201@gmail.com> <20100601211219.GA17719@srcf.ucam.org> <4C057AE9.9020307@gmail.com> <20100601212901.GA18390@srcf.ucam.org> In-Reply-To: <20100601212901.GA18390@srcf.ucam.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 39 On 06/01/2010 02:29 PM, Matthew Garrett wrote: > 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 >>> >>> 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. 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 > >> ahh!! I see now: >> grep 0x64 *.dsl > > No, that's unrelated. > alright!! Justin P. Mattock -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/