Diff for /linux/kernel/exit.c between versions 1.1.1.10 and 1.1.1.11

version 1.1.1.10, 2018/04/24 18:11:20 version 1.1.1.11, 2018/04/24 18:13:04
Line 1 Line 1
 /*  /*
  *  linux/kernel/exit.c   *  linux/kernel/exit.c
  *   *
  *  (C) 1991  Linus Torvalds   *  Copyright (C) 1991, 1992  Linus Torvalds
  */   */
   
 #define DEBUG_PROC_TREE  #define DEBUG_PROC_TREE
   
 #include <errno.h>  #include <linux/wait.h>
 #include <signal.h>  #include <linux/errno.h>
 #include <sys/wait.h>  #include <linux/signal.h>
   
 #include <linux/sched.h>  #include <linux/sched.h>
 #include <linux/kernel.h>  #include <linux/kernel.h>
 #include <linux/mm.h>  #include <linux/mm.h>
 #include <linux/tty.h>  #include <linux/tty.h>
   
 #include <asm/segment.h>  #include <asm/segment.h>
   
 int sys_close(int fd);  int sys_close(int fd);
Line 421  int sys_waitpid(pid_t pid,unsigned long  Line 421  int sys_waitpid(pid_t pid,unsigned long 
         if (stat_addr)          if (stat_addr)
                 verify_area(stat_addr,4);                  verify_area(stat_addr,4);
 repeat:  repeat:
           current->signal &= ~(1<<(SIGCHLD-1));
         flag=0;          flag=0;
         for (p = current->p_cptr ; p ; p = p->p_osptr) {          for (p = current->p_cptr ; p ; p = p->p_osptr) {
                 if (pid>0) {                  if (pid>0) {

Removed from v.1.1.1.10  
changed lines
  Added in v.1.1.1.11


unix.superglobalmegacorp.com