On Tue, Jul 08, 2003 at 10:36:30PM +0300, Suleyman O Turkyilmaz wrote: > Quoting Greg KH <greg@kroah.com>: > > > On Tue, Jul 08, 2003 at 09:00:00PM +0200, Jose Luis Alarcon wrote: > > > Hi all in the list. > > > > > > Can i invoke the device_shutdown() function since a program > > > in the user space?. What is the include needed? > > > > Call sys_reboot(). > > > doesn't user have to be root for this ? Yes, but the original question did not stipulate that you could not be root to do this :) greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/