From nobody Fri Dec 15 18:57:47 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SsJPm1wB2z53wnL for ; Fri, 15 Dec 2023 18:57:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SsJPl6pnmz3NGJ for ; Fri, 15 Dec 2023 18:57:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702666668; a=rsa-sha256; cv=none; b=Tt3DqBugl4Y0pfszx/CPRJlwjjLwnu1DWhXYy+ZpumbbMC0JNuBaXmtiYxThHpsoXEPF0Y ShmUkq04u3PaAyQN4gVEDy6hJ/4dD0p4a7RAM7GUaOX2uSQrJvFvo+oPl9sZMhK8THPdvB 6LVL+sLIxMA580dwRi7bU7ISMrFS+6O3LEZp7+tdd2vN2CEriGEPyq9SG7fNJ6H6yP3og1 Fca8T4QADnUIlhr08u4aClfIoOv2h4y3cPcQBPhwt/CCovvtXon8gbgNVW8Li5DG9txNYF 9chG2bFnk3+rb9ygLrNd5E+ubPimtR6euI4AUc5i/hu9SBfXOuaXf/wJI4BnpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702666668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ejOVPJO3mM6SfuSG2xMQin8UtUSwKCwm8Q8IlnoNIf8=; b=weJi4jxzfEeiANQOJxWu5AmHDxF+B9rUvSWZk8ZYb2AaaZdQOddM8TaaernxUA9l3+jmHr WUxJLheFHscsL0GUSmY9+WfoY5Yt6EQtllKnM2jVXj7jRbkb5i8i/t6i3WYrjxCjMDk5DA 3F+yP29BTz6OLcMS2OWCo5WJEcsGBHGeJyIUxOA+EfZ86w/6bTfWZILmeA4X9VMBwhHcCJ 8gSlF+Z9lTffHcM5Fyz8TPbTNMgUBxSSJkg8nHf5wnropnRLGkhHqqQsJf9IhmPiZWQkOZ sMtjUeevzZU1PEtG+vWx3OP/uw/6bpj29ZRlT1FFfW9/WS4kE5vE6i1tB0/QZg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SsJPl5wllz7Wp for ; Fri, 15 Dec 2023 18:57:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BFIvlUT049469 for ; Fri, 15 Dec 2023 18:57:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BFIvlpF049468 for bugs@FreeBSD.org; Fri, 15 Dec 2023 18:57:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262738] usr.bin/lockf: Add support for locking file descriptors Date: Fri, 15 Dec 2023 18:57:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: easy, feature, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262738 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D663424957d8079d514d127ac8c2fb65b2= 47960be commit 663424957d8079d514d127ac8c2fb65b247960be Author: Kyle Evans AuthorDate: 2023-11-22 07:46:14 +0000 Commit: Kyle Evans 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 lock. PR: 262738 Reviewed by: 0mp, allanjude (both previous versions) Co-authored-by: Daniel O'Connor 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.=