[Bug 191593] [fcntl] F_SETLK returns EDEADLK when it shouldn't - only F_SETLKW and waiting should return EDEADLK

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 5 02:27:46 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191593

--- Comment #4 from Adrian Chadd <adrian at freebsd.org> ---
I'm still verifying it. I've added some printf()s to see what triggers and
where.

Is it possible that the initial check will succeed but something will sneak in
between that check and actually trying to add the lock? The actual sx lock
isn't held for the duration of all of that.

I admit I'm not familiar at all in this code.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list