Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11068
b: refs/heads/master
c: 1fcf1cc
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 204b21c commit 111f1d5
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 3c37026d43c47bec4710cbda286f4a17f416f5e6
refs/heads/master: 1fcf1cc742d01f786cda619fd49450b77b09e8c5
4 changes: 4 additions & 0 deletions trunk/arch/mips/kernel/signal32.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ __attribute_used__ noinline static void
_sys32_rt_sigreturn(nabi_no_regargs struct pt_regs regs)
{
struct rt_sigframe32 *frame;
mm_segment_t old_fs;
sigset_t set;
stack_t st;
s32 sp;
Expand Down Expand Up @@ -518,7 +519,10 @@ _sys32_rt_sigreturn(nabi_no_regargs struct pt_regs regs)

/* It is more difficult to avoid calling this function than to
call it and ignore errors. */
old_fs = get_fs();
set_fs (KERNEL_DS);
do_sigaltstack(&st, NULL, regs.regs[29]);
set_fs (old_fs);

/*
* Don't let your children do this ...
Expand Down

0 comments on commit 111f1d5

Please sign in to comment.