[Bug 262738] Teach lockf about locking file descriptors

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Mar 2022 12:20:57 UTC

            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=232656&action=edit
Add support for locking FDs to lockf

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

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