summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-05-22 10:15:35 -0700
committerSean Christopherson <seanjc@google.com>2026-05-26 12:24:13 -0700
commit3e8a0b9912239026defe839291c669984c734650 (patch)
tree1ca0352051d83919ef496846ee4da2f82ef6a40d /scripts/git.orderFile
parent849d65e27bd62bca9a9383f7dfa14da711f4bebc (diff)
KVM: selftests: Add and use kvm_free_fd() to harden against fd goofs
Add a kvm_free_fd() macro to close and invalidate a file descriptor, and use it through the core infrastructure to harden against goofs where a selftest attempts to reuse a closed file descriptor. Cc: Bibo Mao <maobibo@loongson.cn> Cc: Fuad Tabba <tabba@google.com> Cc: Ackerley Tng <ackerleytng@google.com> Reviewed-by: Ackerley Tng <ackerleytng@google.com> Link: https://patch.msgid.link/20260522171535.3525890-3-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions