Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 19:21:28 -0700 (PDT)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_prot.c
Message-ID:  <200307040221.h642LSTJ015258@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cognet      2003/07/03 19:21:28 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_prot.c 
  Log:
  In setpgrp(), don't assume a pgrp won't exist if the provided pgid is the same
  as the target process' pid, it may exist if the process forked before leaving
  the pgrp.
  Thix fixes a panic that happens when calling setpgid to make a process
  re-enter the pgrp with the same pgid as its pid if the pgrp still exists.
  
  Revision  Changes    Path
  1.174     +13 -12    src/sys/kern/kern_prot.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307040221.h642LSTJ015258>