summaryrefslogtreecommitdiff
path: root/sys/include/vm/vm_vnode.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-24 02:33:11 -0400
committerIan Moffett <ian@osmora.org>2025-06-24 02:33:11 -0400
commitf2312b4af97185a266d1a145b90f36b4cdfb57b3 (patch)
tree441106d3fd6ee0c1df407d14ce545429e627f3b0 /sys/include/vm/vm_vnode.h
parent56e6e20dbc29fd1906f8616a5eb1fafb9637a61c (diff)
kernel: exit: Only kill leaf if not exiting
During an exit(), the parent needs to kill all of the child processes that depend on it. However, there might be an occurrence where one or more is already exiting and trying to kill such processes would be problematic and may result in issues like double frees. This commit ensures that the exiting parent only kills child processes that aren't already exiting themselves. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm/vm_vnode.h')
0 files changed, 0 insertions, 0 deletions