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().


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.

freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to