Question regarding proc.p_procsig

看板DFBSD_kernel作者時間21年前 (2005/01/14 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
Hi there, I've got a struct kinfo_proc. It is pointing to a struct proc that contains a pointer to a struct procsig. The pointer is not Null but dereferencing a member of that structure causes a signal 10. So I was wondering if the following code is even supposed to work in DragonFly: struct kinfo_proc *pinfo; #define PROC_SIGIGNORE kp_proc.p_sigignore buf->sigignore [0] = pinfo [0].PROC_SIGIGNORE.__bits[0]; where p_sigignore is p_procsig->ps_sigignore. The above code is from libgtop2 I am trying to make run on DragonFly. Thanks a lot, Roland
文章代碼(AID): #11vkZK00 (DFBSD_kernel)
文章代碼(AID): #11vkZK00 (DFBSD_kernel)