Re: device_shutdown()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux