Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2022 12:20:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262738] Teach lockf about locking file descriptors
Message-ID:  <bug-262738-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262738

            Bug ID: 262738
           Summary: Teach lockf about locking file descriptors
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: darius@dons.net.au

Created attachment 232656
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232656&action=
=3Dedit
Add support for locking FDs to lockf

Inspired by flock on Linux, teach lockf the trick of locking an already ope=
n FD
so sections of shell scripts can be locked (or just avoid having to wrap a
shell script in a lockf or shell instance).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262738-227>