Diff for /src/sys/kern/kern_prot.c between versions 1.15 and 1.16

version 1.15, 2004/03/05 16:57:15 version 1.16, 2004/05/03 16:06:26
Line 57 Line 57
 #include <sys/resourcevar.h>  #include <sys/resourcevar.h>
 #include <sys/thread2.h>  #include <sys/thread2.h>
 #include <sys/jail.h>  #include <sys/jail.h>
   #include <sys/lockf.h>
   
 static MALLOC_DEFINE(M_CRED, "cred", "credentials");  static MALLOC_DEFINE(M_CRED, "cred", "credentials");
   
Line 1108  change_ruid(uid_t ruid) Line 1109  change_ruid(uid_t ruid)
   
         cr = cratom(&p->p_ucred);          cr = cratom(&p->p_ucred);
         (void)chgproccnt(cr->cr_ruidinfo, -1, 0);          (void)chgproccnt(cr->cr_ruidinfo, -1, 0);
           lf_count_adjust(p, uifind(ruid));
         /* It is assumed that pcred is not shared between processes */          /* It is assumed that pcred is not shared between processes */
         cr->cr_ruid = ruid;          cr->cr_ruid = ruid;
         uireplace(&cr->cr_ruidinfo, uifind(ruid));          uireplace(&cr->cr_ruidinfo, uifind(ruid));

Removed from v.1.15  
changed lines
  Added in v.1.16