msgsnd in a module

seenutn_at_gmail.com
Date: 02/22/05

  • Next message: Greg Law: "Re: Who made this system call?"
    Date: 22 Feb 2005 04:28:04 -0800
    
    

    Hi,
       I am inserting a module(device driver) using insmod. I want to send
    a message from this module to an user process. For this I used msgsnd
    with buffer in the call as a local variable. I am getting an error
    "EFAULT" for this call. However this did not happen when I made the
    driver code as a part of kernel and not as a module. Any idea about
    what could be the problem and how to solve it?

    TIA

    Regards,
    Seenu.


  • Next message: Greg Law: "Re: Who made this system call?"

    Relevant Pages

    • Re: File access
      ... If you consider a kernel module which, in some event, ... chunk of data it needs to stall until the user process has finished. ... >> to pass the configuration to the driver. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: File access
      ... I have now implemented some code which uses a user process to ... pass the configuration to the driver. ... Could you please tell me where I could find this FAQ. ...
      (Linux-Kernel)
    • msgsnd in module
      ... I am inserting a module(device driver) using insmod. ... I want to send a message from this module to an user process. ... For this I used msgsnd with buffer in the call as a local ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: File access
      ... On Tue, 19 Aug 2003, Simon Haynes wrote: ... I have now implemented some code which uses a user process to ... > pass the configuration to the driver. ...
      (Linux-Kernel)
    • Re: create a user process from device driver
      ... Run a user process from the Explorer's Run key and make it ... communicating with a driver. ... Maxim Shatskih, Windows DDK MVP ... "swheeler" wrote in message ...
      (microsoft.public.development.device.drivers)