]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'ptrace/ptrace'
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Sep 2011 04:32:29 +0000 (14:32 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Sep 2011 04:32:29 +0000 (14:32 +1000)
1  2 
arch/openrisc/kernel/signal.c
arch/sparc/kernel/signal32.c
arch/sparc/kernel/signal_32.c
arch/sparc/kernel/signal_64.c
include/linux/sched.h
kernel/fork.c

Simple merge
Simple merge
index 04ede8f04add3f397ca46c8ebee249d85c92213c,f6b0faba399bdc52991d4c883937475d6b735e32..f1f8a03664bc1ff8661498c3bf08d4b11b4b7bd5
@@@ -202,17 -226,8 +200,14 @@@ asmlinkage void do_rt_sigreturn(struct 
        do_sigaltstack((const stack_t __user *) &st, NULL, (unsigned long)sf);
        set_fs(old_fs);
  
 +      err |= __get_user(rwin_save, &sf->rwin_save);
 +      if (!err && rwin_save) {
 +              if (restore_rwin_state(rwin_save))
 +                      goto segv;
 +      }
 +
        sigdelsetmask(&set, ~_BLOCKABLE);
-       spin_lock_irq(&current->sighand->siglock);
-       current->blocked = set;
-       recalc_sigpending();
-       spin_unlock_irq(&current->sighand->siglock);
+       set_current_blocked(&set);
        return;
  segv:
        force_sig(SIGSEGV, current);
Simple merge
Simple merge
diff --cc kernel/fork.c
index fa7beb3155e007c04114fcbc0ac02daad074f290,8104ace81678ea6e4790e7365d2e75908a4139a4..948271451ffe33fa40c884733027f8d0d2249a23
@@@ -998,8 -1026,8 +1026,7 @@@ static void copy_flags(unsigned long cl
  
        new_flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER);
        new_flags |= PF_FORKNOEXEC;
-       new_flags |= PF_STARTING;
        p->flags = new_flags;
 -      clear_freeze_flag(p);
  }
  
  SYSCALL_DEFINE1(set_tid_address, int __user *, tidptr)