bin/114341: lockf(1) utility is severely broken

csjp at FreeBSD.org csjp at FreeBSD.org
Mon Sep 24 15:56:14 PDT 2007


Synopsis: lockf(1) utility is severely broken

State-Changed-From-To: open->analyzed
State-Changed-By: csjp
State-Changed-When: Mon Sep 24 22:51:39 UTC 2007
State-Changed-Why: 
I will take this PR. I made this change. Currently its behaving
the way it should be. If you want to use lockf for mutual
exclusion, then  you must use -k. There is no way it can
mutually exclude if you let lockf delete the lock object
from visibility to other processes.

This is also being tracked under another PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=116543


Responsible-Changed-From-To: freebsd-bugs->csjp
Responsible-Changed-By: csjp
Responsible-Changed-When: Mon Sep 24 22:51:39 UTC 2007
Responsible-Changed-Why: 
I will take this PR. I made this change. Currently its behaving
the way it should be. If you want to use lockf for mutual
exclusion, then  you must use -k. There is no way it can
mutually exclude if you let lockf delete the lock object
from visibility to other processes.

This is also being tracked under another PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=116543

http://www.freebsd.org/cgi/query-pr.cgi?pr=114341


More information about the freebsd-bugs mailing list