Re: how to call system call from kernelspace

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

 




On Tue, Apr 27, 2010 at 7:55 AM, rahul patil <rahul.deshmukhpatil@xxxxxxxxx> wrote:
Though it is bad idea to call a system call from kernel space
is it possible any how to call a system call from kernel space?

Generally a better idea to user kernel interfaces directly instead of sys calls. Further most sys call functions are not exported so you can't call them from your kernel module. You'll have to EXPORT_SYMBOL them and recompile your kernel which is kind of ugly.

-Joel


[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