Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2022 02:42:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266885] [FUSEFS] fcntl(F_GETLK) overwrites flock->l_pid even if unlocked
Message-ID:  <bug-266885-227-NiQGk8jdin@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266885-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266885-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=3D266885

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D274f5099706f33bf69fa29546dd6c94fd=
e8eb001

commit 274f5099706f33bf69fa29546dd6c94fde8eb001
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2022-10-07 14:46:22 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2022-10-19 01:13:55 +0000

    fusefs: during F_GETLK, don't change l_pid if no lock is found

    PR:             266885
    Submitted by:   John Millikin <jmillikin@gmail.com>
    Sponsored by:   Axcient
    Reviewed by:    emaste
    Differential Revision: https://reviews.freebsd.org/D36905

    (cherry picked from commit 46fcf947c6c8db1e1ceb3cbd75b69d1d1e494929)

 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.=



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