[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK1hOcN-FOY+wUa32vYekOn7dDaNFWoTce7H0pgVwHOWhYNbOQ@mail.gmail.com>
Date: Wed, 19 Sep 2012 18:06:11 +0200
From: Denys Vlasenko <vda.linux@...glemail.com>
To: Roland McGrath <roland@...k.frob.com>
Cc: Oleg Nesterov <oleg@...hat.com>, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Amerigo Wang <amwang@...hat.com>,
"Jonathan M. Foote" <jmfoote@...t.org>,
Pedro Alves <palves@...hat.com>
Subject: Re: [PATCH -mm v2 2/2] coredump: add a new elf note with siginfo of
the signal
On Tue, Sep 18, 2012 at 6:41 PM, Roland McGrath <roland@...k.frob.com> wrote:
>> But, somehow I forgot about compat tasks when we discussed this before.
>> Perhaps the code above should do
>>
>> if (is_compat_task())
>> copy_siginfo_to_user32(...);
>> else
>> copy_siginfo_to_user(...);
>>
>> ?
>
> compat_binfmt_elf.c will define a separate copy of this code via #include.
> So it just needs #define copy_siginfo_to_user copy_siginfo_to_user32 or
> something like that, as the various other types and functions are handled.
Sending a new version in a minute.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists