aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-07-11 16:01:30 -0700
committerPaolo Bonzini <[email protected]>2023-07-29 11:05:30 -0400
commit65f1f57f35e5e833c879a7afb9c862c603695917 (patch)
tree14e83307f5fcbd912678317df8ae3b7613baf53b /lib/test_fortify/write_overflow-strncpy-src.c
parent47d1be8a78fb587fe5a8f0873244476700171403 (diff)
KVM: selftests: Verify stats fd can be dup()'d and read
Expand the binary stats test to verify that a stats fd can be dup()'d and read, to (very) roughly simulate userspace passing around the file. Adding the dup() test is primarily an intermediate step towards verifying that userspace can read VM/vCPU stats before _and_ after userspace closes its copy of the VM fd; the dup() test itself is only mildly interesting. Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions