aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 8f0876f9f6dd..2c403a4c8bee 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2748,6 +2748,10 @@ int copy_siginfo_to_user(siginfo_t __user *to, const siginfo_t *from)
2748 if (from->si_code == BUS_MCEERR_AR || from->si_code == BUS_MCEERR_AO) 2748 if (from->si_code == BUS_MCEERR_AR || from->si_code == BUS_MCEERR_AO)
2749 err |= __put_user(from->si_addr_lsb, &to->si_addr_lsb); 2749 err |= __put_user(from->si_addr_lsb, &to->si_addr_lsb);
2750#endif 2750#endif
2751#ifdef SEGV_BNDERR
2752 err |= __put_user(from->si_lower, &to->si_lower);
2753 err |= __put_user(from->si_upper, &to->si_upper);
2754#endif
2751 break; 2755 break;
2752 case __SI_CHLD: 2756 case __SI_CHLD:
2753 err |= __put_user(from->si_pid, &to->si_pid); 2757 err |= __put_user(from->si_pid, &to->si_pid);