summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2002-12-28 01:23:07 +0000
committerJulian Elischer <julian@FreeBSD.org>2002-12-28 01:23:07 +0000
commit93a7aa79d628bf2b11ed75cba6fc1d904e3a4dd4 (patch)
tree34088f29c02f6a4d56466e7db0deb792a033cebc /sys/kern/kern_fork.c
parent84cdcd85a03610d9a3113fbbc3a89da4e4298246 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index c63a839a5876..1a8e4d25904c 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -492,6 +492,7 @@ again:
/* Set up the thread as an active thread (as if runnable). */
ke2->ke_state = KES_THREAD;
ke2->ke_thread = td2;
+ ke2->ke_owner = td2;
td2->td_kse = ke2;
td2->td_flags &= ~TDF_UNBOUND; /* For the rest of this syscall. */