Re: pt_regs leak into userspace (was Re: [PATCH v3 20/71] ARC: Signal handling)

From: Jonas Bonn
Date: Mon Feb 11 2013 - 04:36:48 EST

On 11 February 2013 08:26, Vineet Gupta <Vineet.Gupta1@xxxxxxxxxxxx> wrote:

> The only downside of this patch is that userspace signal stack grows in size,
> since signal frame only cares about scratch regs (pt_regs), but has to accommodate
> unused placeholder for callee regs too by virtue of using user_regs_struct.

Is this really true? Don't setcontext and friends require that _all_
the registers be part of sigcontext?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at