[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120913155259.GA2267@redhat.com>
Date: Thu, 13 Sep 2012 17:52:59 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Denys Vlasenko <vda.linux@...glemail.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Amerigo Wang <amwang@...hat.com>,
Roland McGrath <roland@...k.frob.com>
Subject: Re: [PATCH 2/2] coredump: add a new elf note with siginfo fields
of the signal
forgot to mention...
On 09/13, Oleg Nesterov wrote:
>
> Not sure this is right. I think fill_siginfo_note() should either do
> memcpy() and let userspace to decode this (raw) info, or this layout
> should be unified with copy_siginfo_to_user().
And note that we simply do not know what this siginfo contains if
si_code < 0. Again, please look at copy_siginfo_to_user().
> Note also that we do not expose the upper bits of si_code to user-space,
> probably coredump should do the same, I dunno.
If it was sent by kernel, I meant.
Oleg.
--
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