]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Wake up PIOCWAIT handler on the process exit in addition to the stop
authorkib <kib@FreeBSD.org>
Fri, 17 Nov 2006 14:52:38 +0000 (14:52 +0000)
committerkib <kib@FreeBSD.org>
Fri, 17 Nov 2006 14:52:38 +0000 (14:52 +0000)
commit5da2fd53cf2d5e1bbb6e88a0ebbbf7b24b4133bc
treeceab6664c981374fe24ec69ddb326a65741460bc
parentc1bbb4897db52a792d588b763572230221a4b6d3
Wake up PIOCWAIT handler on the process exit in addition to the stop
events. &p->p_stype is explicitely woken up on process exit for us.

Now, truss /nonexistent exits with error instead of waiting until killed
by signal.

Reported by: Nikos Vassiliadis nvass at teledomenet gr
Reviewed by: jhb
MFC after: 1 week
sys/fs/procfs/procfs_ioctl.c