Re: hi ..reg Drivers

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

 



Hello Suresh,
I think you need to pass the pid of the process somehow 
to the driver.
Example:
If you are using ioctl to communicate with the device driver
use the parameters of ioctl function to pass data.

Regards ,
Shine Mohamed

On Wednesday 10 September 2003 14:21, Suresh P wrote:
> hi
>    its Suresh Potluri. i recently joined this group.
>    Its my first posting.
>    i have created one pseudo driver. two processes are accessing the device
> associated with the driver. two processes can access read & open entry
> points. In driver Read/Write Functions, i want to know on behalf of which
> process the driver read/write function is executing.
>   any help is gratefully .
> thanks in advance
>
> regards
> -potluri
>      +++++++++++++++++++++++++++++++ Disclaimer
> +++++++++++++++++++++++++++++++++++++++
>
>          This e-mail may contain privileged and confidential information
> and is intended only for the use of the specific individual(s) to whom it
> is addressed. If you are not an intended recipient of this e-mail, you are
> hereby notified that any unauthorized use, dissemination or copying of this
> e-mail or the information contained in it or attached to it is strictly
> prohibited. If you have received this e-mail in error, please delete it and
> immediately notify the undersigned by reply e-mail.
>       Hellosoft India Pvt. Ltd.                                            
>                          www.hellosoft.com
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>++++
>
>
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/

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