Question regarding proc.p_procsig
rjh at who.net
Thu Jan 13 13:03:27 PST 2005
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
struct kinfo_proc *pinfo;
#define PROC_SIGIGNORE kp_proc.p_sigignore
buf->sigignore  = pinfo .PROC_SIGIGNORE.__bits;
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,
More information about the Kernel