NetBSD Problem Report #60031
From www@netbsd.org Mon Feb 23 07:04:34 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "R13" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 803E81A9239
for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Feb 2026 07:04:34 +0000 (UTC)
Message-Id: <20260223070433.8D00A1A923C@mollari.NetBSD.org>
Date: Mon, 23 Feb 2026 07:04:33 +0000 (UTC)
From: yaneurabeya@gmail.com
Reply-To: yaneurabeya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] address race in
X-Send-Pr-Version: www-1.0
X-From4GNATS: "yaneurabeya@gmail.com via gnats" <gnats-admin@NetBSD.org>
>Number: 60031
>Category: misc
>Synopsis: [PATCH] address race in
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 23 07:05:00 +0000 2026
>Originator: Enji Cooper
>Release: n/a
>Organization:
>Environment:
n/a
>Description:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274615 was filed due to a bug in the kernel around updating struct stat for files. This was helpful but on reflection might not have actually addressed the underlying issue with the test.
Upon further inspection since I am updating our copy of tests/ in NetBSD, I stumbled on a local modification that seems unnecessary: https://reviews.freebsd.org/D55290 . This spawned a larger change to help better document what was failing and why as it's unclear what commands actually failed due to what commands are being called and what assertions are being checked.
>How-To-Repeat:
>Fix:
See https://patch-diff.githubusercontent.com/raw/NetBSD/src/pull/71.patch .
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.