Date: Sun, 03 May 2020 23:11:39 +0000 From: bugzilla-noreply@freebsd.org To: testing@freebsd.org Subject: [Bug 240049] Flakey test case: lib.libc.gen.getmntinfo_test.getmntinfo_test Message-ID: <bug-240049-32464-bWgKBXTU4o@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240049-32464@https.bugs.freebsd.org/bugzilla/> References: <bug-240049-32464@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=3D240049 --- Comment #8 from Mateusz Guzik <mjg@FreeBSD.org> --- Is this testcase running in parallel with mount/unmount requests for someth= ing else? If not, what's "mount" output while the test is running? It is supposed to be an invariant that the fields tested here are set corre= ctly at mount time, but I see a potential for a race. Prior to my changes the ke= rnel kept overwriting these fields before copyout with expected values. VFS_STATFS(mp, &mp->mnt_stat) called on mount can easily inject transiently "bad" values due to memcpy. Note the rest of the buffer has arbitrary conte= nt. If I'm right, the code was already broken prior to my changes but not in a = way which could have been detected by this testcase. --=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-240049-32464-bWgKBXTU4o>