DragonFly BSD
DragonFly kernel List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Question regarding proc.p_procsig


From: User Joerg <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jan 2005 04:29:45 +0000
Mail-followup-to: kernel@crater.dragonflybsd.org

On Thu, Jan 13, 2005 at 10:03:27PM +0100, Roland Hammerle wrote:
> 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.

Nope, this is wrong. And I won't tell you how to fix it, because it will
break in the foreseeable future again :)

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]