This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: issue with SIGPROF signal handler on ARM
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Arvind Ayyangar" <arvind dot ayyangar at gmail dot com>
- Cc: libc-ports at sourceware dot org
- Date: Thu, 11 Oct 2007 09:55:45 -0400
- Subject: Re: issue with SIGPROF signal handler on ARM
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=LDf+0+io2/yYkEVE5tK1sjFgWdjMCnu6WFgPLTF3Rnc=; b=EVT30M3+y4Xg7/AW21HGL9Rk+Grw1D+u7R8tFJRm5xbSAwPN6FTyGO4ra0zcGKY3Tye4pslNOg4J8HlLUl5KtWSWs1QAFQjKB/QWfzSKxSOVcRfHjHKqmLe8E2oEnoFj/THYK1D/qA8HA83qm9wuEYIh+AJhMQwag89vX6qMg9o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ibh2r50EuDF8+zD2l3h+h9DyFoGMNeM1DBRmJ/+TpjxavFsi3RM4ZZqDgrERF5EeLaYRpzgpD1r6vEelz1sAqjmPmHXzWnHKHphiwuJ83EeC5D+Igz3PGODQVHE5QH7uHDRFx8JWn0lB6CeJpguIFXYU/H/YCkF4GwWAdch1vF4=
- References: <c34bb56f0710100535i6db080b3vf0222c95a815879f@mail.gmail.com> <119aab440710110643q4e637e4by7d565837b79159d9@mail.gmail.com> <c34bb56f0710110646p7863c3a6s92f9c9887c14e93a@mail.gmail.com>
On 10/11/07, Arvind Ayyangar <arvind.ayyangar@gmail.com> wrote:
> On 10/11/07, Carlos O'Donell <carlos@systemhalted.org> wrote:
> > > Does the kernel fill the register values in the k_sigcontext structure ?
> >
> > Yes, the kernel fills the register values in the sigcontext structure
> > passed to the signal handler.
>
> Does that mean the prototype for the signal handler needs to be
> changed in order for it to work correctly ?
If this used to work, and the kernel change was deliberate, and an ABI
break was expected, then yes, userspace should change to match the
kernel.
Cheers,
Carlos.