On Thu, 12 Oct 2023 10:07:15 -0400, Paolo Bonzini wrote: > Do a basic sanity cheeck for the st_size and st_ino fields of > a guestmem file descriptor. The test would fail for example > if guestmem.c used the innocuous-sounding function > anon_inode_getfile() instead of the correct one, > anon_inode_getfile_secure(). > > > [...] Applied to kvm-x86 guest_memfd, thanks! [1/1] selftests/kvm: guestmem: check fstat results on guestmem fd https://github.com/kvm-x86/linux/commit/911b515af3ec -- https://github.com/kvm-x86/linux/tree/next