blob: fe7c0191e971dbb24cada164f733de2735ce9c8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2024 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
package vminfo
import (
"github.com/google/syzkaller/prog"
)
type openbsd struct {
nopChecker
}
func (openbsd) syscallCheck(ctx *checkContext, call *prog.Syscall) string {
switch call.CallName {
case "openat":
return supportedOpenat(ctx, call)
default:
return ""
}
}
|