> One way to fix it would be to add a "how many users has this device" > ioctl. That would be simple and likely do the job in most cases, but > it also introduces races which isn't that nice.
Umm, no need to add an ioctl for this, just look at how "fuser" does this in a generic way (ok assuming /proc is mounted). Regards, Wolfram. -- video4linux-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/video4linux-list
