cvs commit: src/sys/kern kern_prot.c
Olivier Houchard
cognet at FreeBSD.org
Thu Jul 3 19:21:29 PDT 2003
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
More information about the cvs-src
mailing list