On 05/29/15 14:24, Luigi Rizzo wrote:
Our current design uses devfs_set_cdevpriv() during the open()
handler, but for some reason a subsequent devfs_get_cdevpriv(p)
returns *p = NULL in additional threads created by the process
that did the open().
Hi,
Are you sure it is the same file handle passed around, that the FD's
were not cloned? The devfs_set_cdevpriv() is per "struct file" in the
kernel from my knowledge.
--HPS
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"