Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2023 16:51:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262738] usr.bin/lockf: Add support for locking file descriptors
Message-ID:  <bug-262738-227-mC3qKDs2uz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262738-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262738-227@https.bugs.freebsd.org/bugzilla/>

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

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D63b86eb6fa935ecf94b9a0f1842b56a22=
3f151be

commit 63b86eb6fa935ecf94b9a0f1842b56a223f151be
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:58:29 +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
    lock.

    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(-)

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



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