From nobody Sun Nov 26 04:16:09 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 4SdFlG0vRdz52n8m for ; Sun, 26 Nov 2023 04:16:10 +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 4SdFlF6vc9z3NFs for ; Sun, 26 Nov 2023 04:16:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700972170; 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=0ZExklyDHJCNa/yYqxQ6emxjOR4ymi9iwvpScoKnAV0=; b=EtyUMeI9N70pbkeGFh5KcNFP5EuNtadcb/N1VkB00y2eW5df08u9d+zZmWZ4m976QUbF+G 0jGz/DSH66YyDnsLZcy19BkGFR6RnOEhz/FXX2/JitWZCMDVqSGqW/+r6B/Iv/jP9bpGy5 em2tjXhDblpU1J/nALs76OdMesEvQCoNajeqbS5WoRZtLIx2C+bQm5KfTss8OKSVvKeiq4 nah1Lv6Iivr0jSO3etUhDwzBMnp/dW/N3qJ1mVYwlqI1eyhYjxjY5hJANeMTDc1H8CtrJ1 M2Ok7dKfsSeVZatDfLNTX8Ha29K4qtTWWl4dt237sQ0X/hrTKHp7lHxnew1VAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700972170; a=rsa-sha256; cv=none; b=kY1gcD6t035mAvNmU28kFHpDY8jhqwg13SsFPL0owv2H7phHdFa+3EbbBnIjfwXHM8WgMd gB0MuxwtwxNKX30td7zITeay8krCu1BklT7mVcMvvQJ0UfBNPEIALOXXEPIsz3w9nOee4K N0Oj3Co7bsLbTZwdlBlIbKwZctAE2KWF7cTv4kELvESWYkZWQx5Pjswrt/yiWbx950or42 cEi2nueBS/EAXHcn7PB3BBSBtR114Mif6Gdl1xQ+isovC/q0t2ALjNM683FZ+yZiRqvuy3 sjLcUjBakUWhBWu58jOQKKIXsogg7+kdKJ9Ky6bXm0NIULsbjsVibSiV7uuEyw== 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 4SdFlF61JYzhJL for ; Sun, 26 Nov 2023 04:16:09 +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 3AQ4G9Ws020609 for ; Sun, 26 Nov 2023 04:16:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AQ4G9Tc020608 for bugs@FreeBSD.org; Sun, 26 Nov 2023 04:16:09 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: Sun, 26 Nov 2023 04:16:09 +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 #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D09a7fe0a5523d53ff6c26ddef9a947f29= 3e18c22 commit 09a7fe0a5523d53ff6c26ddef9a947f293e18c22 Author: Kyle Evans AuthorDate: 2023-11-22 07:46:14 +0000 Commit: Kyle Evans CommitDate: 2023-11-26 04:15:05 +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. Differential Revision: https://reviews.freebsd.org/D42718 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.=