Re: notifiers to user space

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

 



Hello,

On 3/12/07, Rajat Jain <rajat.noida.india@xxxxxxxxx> wrote:
On 3/11/07, Ramagudi Naziir <naziirr@xxxxxxxxx> wrote:
> Do anyone have an idea how to send a notifier to a user space application ?
I'm not sure if it would be useful, but the function
"call_usermodehelper()" (defined in include/linux/kmod.h) can be used
to execute a user space binary from the kernel space. It is used by
the hot-plug mechanism to notify user space about the new devices
added to the kernel.

I think that signals to udev is via NETLINK sockets.
How would you use call_usermodehelper ? invoke a script ?
It sounds unreliable and slow I think...

Thank You
naziir.

Thanks,

Rajat


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