]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fixed corruption of the "blocked" list in lf_setlock() when tsleep()
authorBruce Evans <bde@FreeBSD.org>
Sun, 4 Jul 1999 14:43:01 +0000 (14:43 +0000)
committerBruce Evans <bde@FreeBSD.org>
Sun, 4 Jul 1999 14:43:01 +0000 (14:43 +0000)
commit1168ab0815384ac119ad4d153970d532bbc54d4e
tree955d94c927b6219efbf3ca4e356b533effbc7fe7
parent6d0cab65412645c4537149dacd8429e813e07af8
Fixed corruption of the "blocked" list in lf_setlock() when tsleep()
returns 0 after ptrace() attach and/or detach doesn't quite quite
deliver a signal.  Perhaps the process shouldn't be woken in this
case, but avoiding the problem is easy.

PR: 12247

Fixed a couple of places where mechanical fixing of compiler warnings
caused misspelling of NOLOCKF as NULL.
sys/kern/kern_lockf.c