aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/init_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sys/linux/init_test.go')
-rw-r--r--sys/linux/init_test.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/linux/init_test.go b/sys/linux/init_test.go
index 45b6397f8..7e4753115 100644
--- a/sys/linux/init_test.go
+++ b/sys/linux/init_test.go
@@ -136,6 +136,22 @@ exit_group(0x1)
exit_group(0x1)
`,
},
+ {
+ `
+syz_open_procfs(0x0, &(0x7f0000000000)='io')
+syz_open_procfs(0x0, &(0x7f0000000000)='exe')
+syz_open_procfs(0x0, &(0x7f0000000000)='exe\x00')
+syz_open_procfs(0x0, &(0x7f0000000000)='/exe')
+syz_open_procfs(0x0, &(0x7f0000000000)='./exe\x00')
+`,
+ `
+syz_open_procfs(0x0, &(0x7f0000000000)='io')
+syz_open_procfs(0x0, &(0x7f0000000000)='net\x00')
+syz_open_procfs(0x0, &(0x7f0000000000)='net\x00')
+syz_open_procfs(0x0, &(0x7f0000000000)='net\x00')
+syz_open_procfs(0x0, &(0x7f0000000000)='net\x00')
+ `,
+ },
}
for i, test := range tests {
t.Run(fmt.Sprint(i), func(t *testing.T) {