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 ? > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- "Unix is user friendly not idiot friendly" KernelHacker ------------------------------------------------- This mail sent through IMP: http://webmail.students.itu.edu.tr -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/