open/close/ioctl api change?

看板FB_hackers作者時間18年前 (2007/06/25 20:31), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
actually it's the struct thread *tp where my problems are, this code works fine under 6.2, and did work till some days ago under current. static int iscsi_open(struct cdev *dev, int flags, int otype, struct thread *td) { .... debug(3, "td->td_proc=%p", td->td_proc); debug(3, "td->td_proc->p_pid=%d pid=%d", td->td_proc->p_pid, curproc->p_pid); .... the first debug prints out td->td_proc=0 and the next one panics. danny _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16VxMf00 (FB_hackers)