Re: cdefpriv usage (was: bsd versus linux device drivers)

From: vehemens <vehemens_at_verizon.net>
Date: Sat, 13 Sep 2008 21:51:17 -0700
On Thursday 11 September 2008 10:13:34 am vehemens wrote:
...
> Looks like the ioctl get randomly fails with ENOENT.

Turned out to be a bug in my code.

> Something else is going on with mmap get which fails with EBADF almost all
> of the time..

Looking at the man page and code, it appears that cdevpriv has not been 
implemented for mmap.

I'm still somewhat confused about what cdevpriv is supposed to do.  I was 
after per open private data association, and the code appears to only 
implement per thread open private data association.
Received on Sun Sep 14 2008 - 02:45:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC