diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-16 20:31:58 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-16 20:31:58 +0000 |
| commit | b9df5231cae6b5c6cc445bf0e041fe98f6602303 (patch) | |
| tree | 65eeb4add32e588f36f28e2a0bb819c17a67ff70 /sys/kern/kern_fork.c | |
| parent | cf9e5270089595eac4ec8c58dd4980841e00aecf (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_fork.c')
| -rw-r--r-- | sys/kern/kern_fork.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 0fbe915fa72a..9268592a1ccd 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -337,6 +337,9 @@ again: p2->p_flag |= P_JAILED; } + if (p2->p_args) + p2->p_args->ar_ref++; + if (flags & RFSIGSHARE) { p2->p_procsig = p1->p_procsig; p2->p_procsig->ps_refcnt++; |
