• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/sparc64/kernel/

Lines Matching refs:to

38  * expects it to look which is basically:
43 * Ptr to sigcontext area above
60 * to be valid.
70 * And the new one, intended to be used for Linux applications only
71 * (we have enough in there to work with clone).
105 int _sys_private; /* not to be passed to user */
157 int copy_siginfo_to_user32(compat_siginfo_t __user *to, siginfo_t *from)
161 if (!access_ok(VERIFY_WRITE, to, sizeof(compat_siginfo_t)))
167 to avoid security leaks, but must copy the generic
169 This routine must convert siginfo from 64bit to 32bit as well
171 err = __put_user(from->si_signo, &to->si_signo);
172 err |= __put_user(from->si_errno, &to->si_errno);
173 err |= __put_user((short)from->si_code, &to->si_code);
175 err |= __copy_to_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE);
179 err |= __put_user(from->si_tid, &to->si_tid);
180 err |= __put_user(from->si_overrun, &to->si_overrun);
181 err |= __put_user(from->si_int, &to->si_int);
184 err |= __put_user(from->si_utime, &to->si_utime);
185 err |= __put_user(from->si_stime, &to->si_stime);
186 err |= __put_user(from->si_status, &to->si_status);
188 err |= __put_user(from->si_pid, &to->si_pid);
189 err |= __put_user(from->si_uid, &to->si_uid);
192 err |= __put_user(from->si_trapno, &to->si_trapno);
193 err |= __put_user((unsigned long)from->si_addr, &to->si_addr);
196 err |= __put_user(from->si_band, &to->si_band);
197 err |= __put_user(from->si_fd, &to->si_fd);
201 err |= __put_user(from->si_pid, &to->si_pid);
202 err |= __put_user(from->si_uid, &to->si_uid);
203 err |= __put_user(from->si_int, &to->si_int);
213 int copy_siginfo_from_user32(siginfo_t *to, compat_siginfo_t __user *from)
218 if (copy_from_user(to, from, 3*sizeof(int)) ||
219 copy_from_user(to->_sifields._pad, from->_sifields._pad,
354 /* Note that scptr + 1 points to extramask */
462 /* It is more difficult to avoid calling this function than to
572 set_thread_wsaved(0); /* So process is allowed to execute. */
757 /* 5. return to kernel instructions */
873 /* 1. Link sfp->uc->gwins to our windows */
876 /* 2. Number of windows to restore at setcontext (): */
879 /* 3. We just pay attention to the gw->count field on setcontext */
880 set_thread_wsaved(0); /* So process is allowed to execute. */
883 * information to be passed to the signal handler, we don't provide
899 /* Arguments passed to signal handler */
984 /* Set the context for a svr4 application, this is Solaris way to sigreturn */
1018 /* note that nPC is ored a 1, this is used to inform entry.S */
1019 /* that we don't want it to mess with our PC and nPC */
1033 /* It is more difficult to avoid calling this function than to
1165 /* 5. return to kernel instructions */
1256 * want to handle. Thus you cannot kill init even with a SIGKILL even by
1303 /* if there's no signal to deliver, we just put the saved sigmask
1333 /* Now see if we want to update the new state. */