[Bug 262738] usr.bin/lockf: Add support for locking file descriptors

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Dec 2023 18:57:47 UTC

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:


commit 663424957d8079d514d127ac8c2fb65b247960be
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2023-11-22 07:46:14 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2023-12-15 00:59:25 +0000

    lockf: allow locking file descriptors

    This is most useful inside a shell script, allowing one to lock just
    portions of a script rather than having to wrap the entire script in a

    PR:             262738
    Reviewed by:    0mp, allanjude (both previous versions)
    Co-authored-by: Daniel O'Connor <darius@dons.net.au>
    Sponsored by:   Klara, Inc.

    (cherry picked from commit 09a7fe0a5523d53ff6c26ddef9a947f293e18c22)

 usr.bin/lockf/lockf.1             |  63 ++++++++++++++++++-
 usr.bin/lockf/lockf.c             | 128 +++++++++++++++++++++++++++++++++-----
 usr.bin/lockf/tests/lockf_test.sh |  91 +++++++++++++++++++++++++++
 3 files changed, 266 insertions(+), 16 deletions(-)

You are receiving this mail because:
You are on the CC list for the bug.