]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Filemon: Attach from the child to avoid racing with the parent attach.
authorbdrewery <bdrewery@FreeBSD.org>
Tue, 8 Mar 2016 18:05:02 +0000 (18:05 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Tue, 8 Mar 2016 18:05:02 +0000 (18:05 +0000)
commitf234bc3e5459e357aae04d83354e1218c51198fa
tree1af6dc38e793b77f7419ffce8ee679ccc8140b33
parentf255ec5f1bcbaa2c4bf17805c664f78a3fb3cbf6
Filemon: Attach from the child to avoid racing with the parent attach.

This is the same as how the bmake filemon usage works.

This also fixes failed attach not properly flushing the TTY.

MFC after: 1 week
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division
usr.bin/script/script.c