public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd
@ 2022-12-20 17:09 Reiji Watanabe
  2022-12-20 17:09 ` [PATCH 1/1] " Reiji Watanabe
  2023-01-19 21:01 ` [PATCH 0/1] " Sean Christopherson
  0 siblings, 2 replies; 4+ messages in thread
From: Reiji Watanabe @ 2022-12-20 17:09 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, Sean Christopherson, Oliver Upton, Andrew Jones,
	Reiji Watanabe

kvm_vm_elf_load() and elfhdr_get() open one file each, but they
never close the opened file descriptor.  Fix those two functions
to close the file descriptor.

This patch is the same as the one included in the patch series [1],
with minor updates to the commit log (including adding Reviewed-bys
I got).

[1] https://lore.kernel.org/linux-arm-kernel/20220217034947.180935-1-reijiw@google.com/

Reiji Watanabe (1):
  KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd

 tools/testing/selftests/kvm/lib/elf.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.39.0.314.g84b9a713c41-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-19 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-20 17:09 [PATCH 0/1] KVM: selftests: kvm_vm_elf_load() and elfhdr_get() should close fd Reiji Watanabe
2022-12-20 17:09 ` [PATCH 1/1] " Reiji Watanabe
2023-01-04 15:00   ` Sean Christopherson
2023-01-19 21:01 ` [PATCH 0/1] " Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox