processes private data & vm_mmap

2002-11-30 Thread Nicolas Souchu
On Thu, Jun 28, 2001 at 07:48:21PM +0100, Doug Rabson wrote: > On Thu, 28 Jun 2001, Nicolas Souchu wrote: > > > Hi folks, > > > > I have a char driver that must be opened by more than one process. The minor > > index is not sufficient for this. Is there any process private data (void *) > > in the

Re: processes private data

2001-07-02 Thread Nicolas Souchu
On Fri, Jun 29, 2001 at 01:34:19PM +0100, Doug Rabson wrote: > > When you get a new struct file from falloc(), VFS has nothing to do with > it. As you can see from the streamsopen() code, you can change f_ops > (which by default points at &badfileops) and f_data (defaults to zero) to > point at y

Re: processes private data

2001-06-29 Thread Doug Rabson
On Fri, 29 Jun 2001, Nicolas Souchu wrote: > On Thu, Jun 28, 2001 at 07:48:21PM +0100, Doug Rabson wrote: > > On Thu, 28 Jun 2001, Nicolas Souchu wrote: > > > > > Hi folks, > > > > > > I have a char driver that must be opened by more than one process. The minor > > > index is not sufficient for t

Re: processes private data

2001-06-29 Thread Nicolas Souchu
On Thu, Jun 28, 2001 at 07:48:21PM +0100, Doug Rabson wrote: > On Thu, 28 Jun 2001, Nicolas Souchu wrote: > > > Hi folks, > > > > I have a char driver that must be opened by more than one process. The minor > > index is not sufficient for this. Is there any process private data (void *) > > in th

Re: processes private data

2001-06-29 Thread Terry Lambert
Drew Eckhardt wrote: > > In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: > >Hi folks, > > > >I have a char driver that must be opened by more than one > >process. The minor index is not sufficient for this. Is > >there any process private data (void *) in the devfs > >structure (or the

Re: processes private data

2001-06-28 Thread Doug Rabson
On Thu, 28 Jun 2001, Nicolas Souchu wrote: > Hi folks, > > I have a char driver that must be opened by more than one process. The minor > index is not sufficient for this. Is there any process private data (void *) > in the devfs structure (or the opposite) I could point to with the minor index >

Re: processes private data

2001-06-28 Thread Drew Eckhardt
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: >Hi folks, > >I have a char driver that must be opened by more than one process. The minor >index is not sufficient for this. Is there any process private data (void *) >in the devfs structure (or the opposite) I could point to with the min

processes private data

2001-06-28 Thread Nicolas Souchu
Hi folks, I have a char driver that must be opened by more than one process. The minor index is not sufficient for this. Is there any process private data (void *) in the devfs structure (or the opposite) I could point to with the minor index of my device? Nicholas -- AlcĂ´ve Technical Manager