aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_thr.c
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2003-07-04 02:21:28 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2003-07-04 02:21:28 +0000
commita10d5f02c8a710b70123879ad60c4adfb5dcaa95 (patch)
treef2c38feec5f98da1c2e324b759b285fb28432eeb /sys/kern/kern_thr.c
parentc97325b0c83cd9c95e4f7c608870a4a948669f5b (diff)
downloadsrc-a10d5f02c8a710b70123879ad60c4adfb5dcaa95.tar.gz
src-a10d5f02c8a710b70123879ad60c4adfb5dcaa95.zip
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.
Notes
Notes: svn path=/head/; revision=117214
Diffstat (limited to 'sys/kern/kern_thr.c')
0 files changed, 0 insertions, 0 deletions