Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29622
b: refs/heads/master
c: ca195cf
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jun 24, 2006
1 parent 325e189 commit 6033297
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aca6ca10974aa78adfb47291722ce851160213e4
refs/heads/master: ca195cfec9fff622a61b1b72534e73360747f735
5 changes: 5 additions & 0 deletions trunk/arch/arm/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,11 @@ setup_frame(int usig, struct k_sigaction *ka, sigset_t *set, struct pt_regs *reg
if (!frame)
return 1;

/*
* Set uc.uc_flags to a value which sc.trap_no would never have.
*/
__put_user_error(0x5ac3c35a, &frame->uc.uc_flags, err);

err |= setup_sigframe(frame, regs, set);
if (err == 0)
err = setup_return(regs, ka, frame->retcode, frame, usig);
Expand Down

0 comments on commit 6033297

Please sign in to comment.