cachepc

Prime+Probe cache-based side-channel attack on AMD SEV-SNP protected virtual machines
git clone https://git.sinitax.com/sinitax/cachepc
Log | Files | Refs | Submodules | README | sfeed.txt

commit f027251bdf2a8f85a5fa44639a2f709d59bc51b2
parent c1f2064fda3711db4878376884c36979c7b470cc
Author: Louis Burda <quent.burda@gmail.com>
Date:   Tue,  7 Feb 2023 08:28:20 -0600

fixup! Add syscall to deinit events to prevent blocking on send

Diffstat:
Mtest/eviction.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/eviction.c b/test/eviction.c @@ -38,10 +38,10 @@ main(int argc, const char **argv) printf("\n"); print_counts_raw(counts); - close(fd); - ret = ioctl(fd, KVM_CPC_DEINIT, &arg); if (ret == -1) err(1, "KVM_CPC_DEINIT"); + close(fd); + return arg; }