Re: Hi, About function calls.

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

 



On 7/15/05, Bruce Yang <quicktime2004@xxxxxxxxxxx> wrote:
>   Could I call user space functions in my kernel space?

No.

>   If could not, how can I do it?

You can't call anything but you can communicate with a userspace
program. Communication can be done in several ways but kobjects (ans
sys filesystem), proc fileystem, netlink and even syscalls are those I
can think of at the moment.

>   Now I need use my module directly access some functions
>   in user space.

That cannot be done for fairly obvious reasons, it would compromise
security, among other things.

HTH

Martin Jambor

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