cvs commit: src/sys/kern init_main.c

Robert Watson rwatson at FreeBSD.org
Fri Jan 16 12:29:24 PST 2004


rwatson     2004/01/16 12:29:23 PST

  FreeBSD src repository

  Modified files:
    sys/kern             init_main.c 
  Log:
  KASSERT() that initproc->p_pid is 1.  Very bad things happen if init's
  pid isn't 1, and it can actually occur if kthread_create() is called
  before SUB_SI_CREATE_INIT without RFHIGHPID.
  
  Discussed with: jhb
  
  Revision  Changes    Path
  1.240     +1 -0      src/sys/kern/init_main.c


More information about the cvs-src mailing list