]> bbs.cooldavid.org Git - net-next-2.6.git/commit
HWPOISON: Copy si_addr_lsb to user
authorAndi Kleen <ak@linux.intel.com>
Mon, 27 Sep 2010 18:32:19 +0000 (20:32 +0200)
committerAndi Kleen <ak@linux.intel.com>
Thu, 7 Oct 2010 07:41:25 +0000 (09:41 +0200)
commita337fdac7a5622d1e6547f4b476c14dfe5a2c892
tree2c4072b1188235f348f4ee58e18a027ec61ea4dc
parent67159813127309c1a65d86e40fa0368241fa668c
HWPOISON: Copy si_addr_lsb to user

The original hwpoison code added a new siginfo field si_addr_lsb to
pass the granuality of the fault address to user space. Unfortunately
this field was never copied to user space. Fix this here.

I added explicit checks for the MCEERR codes to avoid having
to patch all potential callers to initialize the field.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
kernel/signal.c