WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] execve() in reboot.c ?

To: "Rik van Riel" <riel@xxxxxxxxxx>, "Vincent Hanquez" <vincent.hanquez@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] execve() in reboot.c ?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 25 Jul 2005 20:48:12 +0100
Cc: Jeremy Katz <katzj@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Mon, 25 Jul 2005 19:46:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWRTaGf0OaKiQ7oTtizVAMC2P15bQAA+Zqw
Thread-topic: [Xen-devel] execve() in reboot.c ?
 
> > > How about simply reusing whatever signal is sent to init when 
> > > ctrl-alt-del is pressed on PCs ?
> > 
> > SIGINT
> > 
> > That's not a good idea though, if somebody put nothing in the 
> > ctrlaltdel action, then it's not going to do anything.
> 
> But isn't that exactly what we want ?   A userspace configurable
> way to trigger a system reboot.

I kind of like this approach, but it does mean that we can't distinguish
between a poweroff and a reboot. Do we care?

As I recall, the current approach was copied from one of the other Linux
architectures. 

Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel