Hi Sudheer,
I am porting an app which was originally written for AIX. I'm afraid I must
provide the same functionality as the AIX version. Do you have some info that
could help me with this?
Thanks for your help,
Gerry
> > Hi,
> > I am writing a pseudo device driver for a security application. I want
> > to define a new syscall to communicate with the driver. Can anyone point
> > me to a source that would have information on how to do this? I have
> > seen the LINUX HOWTO on the subject, but would like to find something HP
> > specific.
> > Thanks in advance,
> > Gerry
> Hi,
> You can add ioctl() routines on the driver code, which can be triggered by
> using ioctl() call from application programs. Otherwise you can use
> read/write entry entry points in that driver that can be invoked by their
> read/write system calls. These are the standard ways to communicate with
> device driver. I didn't get why you are going for new system calls?
> You can see sample code from HP-UX Device Driver guide from
> http://devresource.hp.com.
> Rgds
> Sudheer
> --
> Hewlett Packard India CSY(MPE-Kernel),
> Phone (O) 2251554 XTN 1466/ (R) 5520094