> > From: Miod Vallat <[email protected]>
> > Date: Mon, 9 May 2016 18:08:03 +0000 (UTC)
> > 
> > > This is just a draft.
> > >
> > > Index: arch/hppa/hppa/machdep.c
> > 
> > > @@ -1329,11 +1330,31 @@ sys_sigreturn(struct proc *p, void *v, r
> > >   struct trapframe *tf = p->p_md.md_regs;
> > >   int error;
> > >  
> > > + if (PROC_PC(p) != (u_int64_t)p->p_p->ps_sigcode +
> > 
> > Why uint64_t here? This is a 32-bit platfoⅻm.
> 
> The right type to use here is probably vaddr_t.

Until you look at the inconsistancy of what PROC_PC accesses.


Reply via email to