Re: What is __KERNEL_SYSCALLS__ for?

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

 



Arjan van de Ven wrote:

once upon a time it was thought a needed evil to do system calls from
kernel space... but now a nice workaround has been found (in 2.6) and
it's no longer needed, so the evil hack is going away.

What exactly is that work-around?

I'm a little confused about making system calls from kernel space. Let's take sys_read() for example. Why can I just call sys_read() directly from my module?

--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx

--
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