Re: Who creates task_struct for ____call_usermodehelper()?

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

 



__call_usermodehelper creates a kernel thread by calling kernel_thread (which in turn calls do_fork that creates a new task_struct). Then the child (____call_usermodehelper) calls execve to actually run the program.

Regards,
- Ratnadeep

On 5/10/07, Tetsuo Handa <penguin-newbie@xxxxxxxxxxxxxxxxxxx> wrote:
Hello.

The kernel sometimes calls usermode applications using call_usermodehelper().
But who creates a task_struct for calling ____call_usermodehelper()?

(1) a process that triggered call_usermodehelper()
(2) a kernel thread that handles event queues (keventd ? khelper?)
(3) both (1) and (2)
(4) neither (1) nor (2)

Regards.

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