Commit c22baa01 authored by Paul Mackerras's avatar Paul Mackerras

PPC32: Use copy_siginfo_to_user to copy the siginfo stuff to

userspace rather than just plain __copy_to_user.
parent 083a97a1
...@@ -454,7 +454,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, ...@@ -454,7 +454,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka,
|| __put_user(&rt_sf->info, &rt_sf->pinfo) || __put_user(&rt_sf->info, &rt_sf->pinfo)
|| __put_user(&rt_sf->uc, &rt_sf->puc) || __put_user(&rt_sf->uc, &rt_sf->puc)
/* Put the siginfo */ /* Put the siginfo */
|| __copy_to_user(&rt_sf->info, info, sizeof(*info)) || copy_siginfo_to_user(&rt_sf->info, info)
/* Create the ucontext */ /* Create the ucontext */
|| __put_user(0, &rt_sf->uc.uc_flags) || __put_user(0, &rt_sf->uc.uc_flags)
|| __put_user(0, &rt_sf->uc.uc_link) || __put_user(0, &rt_sf->uc.uc_link)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment