Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336142
b: refs/heads/master
c: afd3f96
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Nov 29, 2012
1 parent 8ff54d3 commit 67e4ec5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9dc87c7b5b0a2db407e086f45cf08ca78208cc16
refs/heads/master: afd3f96dc34357584763c2dc453192c78a9dbce0
7 changes: 2 additions & 5 deletions trunk/arch/score/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ score_rt_sigreturn(struct pt_regs *regs)
{
struct rt_sigframe __user *frame;
sigset_t set;
stack_t st;
int sig;

/* Always make any pending restarted system calls return -EINTR */
Expand All @@ -168,12 +167,10 @@ score_rt_sigreturn(struct pt_regs *regs)
else if (sig)
force_sig(sig, current);

if (__copy_from_user(&st, &frame->rs_uc.uc_stack, sizeof(st)))
goto badframe;

/* It is more difficult to avoid calling this function than to
call it and ignore errors. */
do_sigaltstack((stack_t __user *)&st, NULL, regs->regs[0]);
if (do_sigaltstack(&frame->rs_uc.uc_stack, NULL, regs->regs[0]) == -EFAULT)
goto badframe;
regs->is_syscall = 0;

__asm__ __volatile__(
Expand Down

0 comments on commit 67e4ec5

Please sign in to comment.