Re: making a system call from module?

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

 



On Fri, Jun 19, 2009 at 09:53:40AM -0700, krushnaal pai wrote:
> how to make a system call from module?

You can not directly, and should not.

> Also how can we include the c library headers in our modules,so as to use
> the open,read functions of c library?

Again, you should not do such a thing.

See the description of "reading and writing a file from within the
kernel" on the kernel newbies wiki for details on why this is a bad
thing.

thanks,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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