On Fri, Apr 27, 2001 at 11:43:45AM +0100, Doug Rabson wrote:
> This is great Alan. When this gets closer to working, I would like to try it
> out. I have a few ideas on how to simplify the authentication code in the
> drivers. The linux driver relies on being able to track each individual open
> call to the driver which isn't the way BSD drivers work so I try to look up
> the auth information using the current PID. I recently realised an
> alternative way of writing drivers in BSD which would make it possible to
> track each open call which would make life easier for DRM.
>
Definately could use your help when the compilation issues are out of the way.
One thing though. We use the copy_from_user and copy_to_user in linux, and
I've noticed you didn't do that in the original BSD drivers. You just passed
a pointer. Was there a reason for this ? From what I can see - we should
be using copyin/copyout ? Is this right (BSD kernel knowledge is very new!).
Alan.
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel