[RFC PATCH v11 28/29] KVM: selftests: Add basic selftest for guest_memfd()

Sean Christopherson seanjc at google.com
Fri Aug 18 23:03:41 UTC 2023


On Mon, Aug 07, 2023, Ackerley Tng wrote:
> Sean Christopherson <seanjc at google.com> writes:
> > +	ret = fallocate(fd, FALLOC_FL_KEEP_SIZE, total_size + page_size, page_size);
> > +	TEST_ASSERT(ret, "fallocate beginning at total_size should fail");
> 
> This should be
> 
> TEST_ASSERT(ret, "fallocate beginning after total_size should fail");

Roger that, I'll push a fixup commit directly to kvm-x86/guest_memfd.  Thanks!



More information about the Linux-security-module-archive mailing list