aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-extract
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2021-10-18 12:46:13 -0700
committerDmitry Vyukov <dvyukov@google.com>2021-11-18 14:32:23 +0100
commit985076f2cce88f048e83459b99954a86a3f50cf5 (patch)
tree9f53920457a310fd220d1ed725a58fda5346fa83 /sys/syz-extract
parentcafff8b6ce51d6d1fa82eb96612a943db3c03541 (diff)
sys/linux: add /dev/cpu/X/msr to dev_msr.txt
Diffstat (limited to 'sys/syz-extract')
-rw-r--r--sys/syz-extract/linux.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/syz-extract/linux.go b/sys/syz-extract/linux.go
index e4f8d1bfe..3fb4c5eb0 100644
--- a/sys/syz-extract/linux.go
+++ b/sys/syz-extract/linux.go
@@ -62,9 +62,10 @@ func (*linux) prepareArch(arch *Arch) error {
#define va_copy __builtin_va_copy
#define __va_copy __builtin_va_copy
`,
- "asm/a.out.h": "",
- "asm/prctl.h": "",
- "asm/mce.h": "",
+ "asm/a.out.h": "",
+ "asm/prctl.h": "",
+ "asm/mce.h": "",
+ "uapi/asm/msr.h": "",
} {
fullPath := filepath.Join(arch.buildDir, "syzkaller", hdr)
if err := osutil.MkdirAll(filepath.Dir(fullPath)); err != nil {