Re: Re: How does kernel thread create user process?

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

 



On 6/14/06, cheng long <kevinclcn@xxxxxxxxx> wrote:
> call_usermodehelper Must be called from process context.

Yes, It is. But It is not said it must be called from user mode.

you are right of course. this is kernel API. it can't be called from user space.
but when you call it from kernel space, you must be calling with a
process context.
e.g. calling from init_module is ok.
calling from the timer interrupt handler is not ok.

Ohad.

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