diff options
author | ed <ed@FreeBSD.org> | 2014-04-06 20:00:42 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2014-04-06 20:00:42 +0000 |
commit | b97204b78683cec60e82d9fdf03397b233227e60 (patch) | |
tree | 7b42edc8335a4a3f7447dba1d87b4cf9c47dae7d /usr.bin | |
parent | 6640f6589e011501a8a98b648f163e11836d168a (diff) | |
download | FreeBSD-src-b97204b78683cec60e82d9fdf03397b233227e60.zip FreeBSD-src-b97204b78683cec60e82d9fdf03397b233227e60.tar.gz |
Nit: fix locking of p->p_state in procdesc_close().
According to <sys/proc.h>, this field needs to be locked with either the
p_mtx or the p_slock. In this case the damage was quite small. Instead
of being reaped, the process would just be reparented to init, so it
could be reaped from there.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions