From nobody Fri Oct 07 15:10:14 2022 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 4MkWvV0Z0nz4dx0L for ; Fri, 7 Oct 2022 15:10:14 +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 4MkWvT6W37z428R for ; Fri, 7 Oct 2022 15:10:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MkWvT5VwmzdWM for ; Fri, 7 Oct 2022 15:10:13 +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 297FADrc095943 for ; Fri, 7 Oct 2022 15:10:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 297FADOU095942 for bugs@FreeBSD.org; Fri, 7 Oct 2022 15:10:13 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 266885] [FUSEFS] fcntl(F_GETLK) overwrites flock->l_pid even if unlocked Date: Fri, 07 Oct 2022 15:10:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665155413; 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=AD+juPRN0FhZhl9FEaOLnzqwtFMuVRIEMiD3coVY7T0=; b=RdMEF7thzWLA1TCmEmFjstMVFw3t229aOKLzn8wKczRb6VWiOBhyB9L+N885VSDGNCuJAx iGd6nhgEdezwlSf4WKrygJEW6nTT45lJil/5kqcrCuCrwml+ygJUwg96u0IfqTaUK/e+SQ /AoqD/Du7oCWDbgaucRB+XKSpCibtRJc/ko1a3lhuEVtLsPTWMMfv2Kwzo8o0VR8MPkOqL hSTYTpjfm3f/SvLEn0/KW/TzQkoYbCXLYOYIpmwx9j4abobZY3B0ROk/1z3qxlSuMFDmv/ FB3PzDwP7ck3jAcrk8U/SyxS0daWFqvvoJFZPe6TNNKoBpXSPXalWafG+sJ4jA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665155413; a=rsa-sha256; cv=none; b=P7eMQna//UYe6hL/y3q4BQpKMUEZeE1Tml7UGDhjcDK14rCD+tehU1V+qRIRnX/YQkk/H9 ni91C9aWNX0ORMUSB4W6PxLwVWf/3GITp71oAUZGkIMQaiBUBR/lUeoKHOG/kOaD20f6eP Ykr3DseVFlZXx5MOuWasCTAyoWCq7XaGrVUSHUg8YGZek7k1LTKA5eN9GpmII/NUlMIxqi EBUq3vsBEFVd5MtAVToxu8Ns9vXmx80/4paymkHCvkHyZIVRyQQgdfWK5+/GBVxUm1DRKW jHL+iRRNvZDkEMK9PGU39hw7EFjiJT1FPLyXoj6beT68oD/y9iPUUYFFycgPgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266885 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D46fcf947c6c8db1e1ceb3cbd75b69d1d1= e494929 commit 46fcf947c6c8db1e1ceb3cbd75b69d1d1e494929 Author: Alan Somers AuthorDate: 2022-10-07 14:46:22 +0000 Commit: Alan Somers CommitDate: 2022-10-07 15:09:21 +0000 fusefs: during F_GETLK, don't change l_pid if no lock is found PR: 266885 MFC after: 2 weeks Submitted by: John Millikin Sponsored by: Axcient Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D36905 sys/fs/fuse/fuse_vnops.c | 2 +- tests/sys/fs/fusefs/locks.cc | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=