From 31a30fc092d1c25b565a00465f075408677e8c54 Mon Sep 17 00:00:00 2001 From: Vikram Narayanan Date: Wed, 27 Oct 2021 00:52:34 -0700 Subject: sys/linux: neutralize ioctl for /dev/msr --- sys/linux/init_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sys/linux/init_test.go') diff --git a/sys/linux/init_test.go b/sys/linux/init_test.go index 201ce762b..ed4cf03a1 100644 --- a/sys/linux/init_test.go +++ b/sys/linux/init_test.go @@ -130,6 +130,19 @@ syz_open_dev$tty1(0xc, 0x4, 0x5) syz_open_dev$tty1(0xc, 0x4, 0x4) syz_open_dev$tty1(0xc, 0x4, 0x4) syz_open_dev$tty1(0xc, 0x4, 0x1) +`, + }, + { + In: `syz_open_dev$MSR(0x0, 0x0, 0x0)`, + }, + { + In: ` +ioctl$X86_IOC_RDMSR_REGS(0xa, 0xc02063a0, 0x0) +ioctl$X86_IOC_RDMSR_REGS(0xa, 0xc02063a1, 0x0) +`, + Out: ` +ioctl$X86_IOC_RDMSR_REGS(0xa, 0xc02063a0, 0x0) +ioctl$X86_IOC_RDMSR_REGS(0xa, 0xc02063a0, 0x0) `, }, }) -- cgit mrf-deployment