Re: [V4L] races in v4l read + write in 2.4

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



In lists.linux.v4l, you wrote:
> > It is still impossible to support multiple opens as the driver's can't hook
> > data into file->private_data (neither directly nor indirectly) and therefore
> > can't disturgish the filehandles.
> 
> So you need to pass file into the video4linux functions. Thats probably
> smart anyway

<other mail>
> If this was to be done what good is videodev.c ?

videodev.c just handles minor number registration. Everything else it tried to
help with was an error
</other mail>

Hmm, remove all the function pointers from struct video_device and replace
them with a struct file_operations, then make the videodev functions simply
pass throuth stuff untouched?  What about backward compatibility?

  Gerd

-- 
Protecting the children is a good way to get a lot of adults who cant
stand up for themselves.		-- seen in some sig on /.





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux