[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aOQXhJyTXHt8Kw7F@google.com>
Date: Mon, 6 Oct 2025 12:24:52 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Ackerley Tng <ackerleytng@...gle.com>
Cc: Paolo Bonzini <pbonzini@...hat.com>, Christian Borntraeger <borntraeger@...ux.ibm.com>,
Janosch Frank <frankja@...ux.ibm.com>, Claudio Imbrenda <imbrenda@...ux.ibm.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, David Hildenbrand <david@...hat.com>,
Fuad Tabba <tabba@...gle.com>
Subject: Re: [PATCH v2 13/13] KVM: selftests: Verify that reads to
inaccessible guest_memfd VMAs SIGBUS
On Mon, Oct 06, 2025, Ackerley Tng wrote:
> Sean Christopherson <seanjc@...gle.com> writes:
>
> > Expand the guest_memfd negative testcases for overflow and MAP_PRIVATE to
> > verify that reads to inaccessible memory also get a SIGBUS.
> >
> > Opportunistically fix the write path to use the "val" instead of hardcoding
> > the literal value a second time, and to use TEST_FAIL(...) instead of
> > TEST_ASSERT(false, ...).
> >
>
> The change the use "val" isn't in this patch, and I think the
> TEST_FAIL() change was intended for another earlier patch.
Yep. I originally had the TEST_ASSERT => TEST_FAIL change in this patch, and
forgot all about the changelog when I added the SIGBUS "catch".
Thanks!
Powered by blists - more mailing lists