☰
Debian Codegraph
@
0.9.0-1
/
/
landlock
/
path_opt_nonlinux.go
☽
☼
landlock/path_opt_nonlinux.go
code
plain
raw
Expat
2021 Günther Noack
debian/copyright
1
//go:build !linux
2
3
package landlock
4
5
import "errors"
6
7
func (r FSRule) addToRuleset(rulesetFD int, c Config) error {
8
return errors.New("Landlock is only supported on Linux")
9
}