☰
Debian Codegraph
@
0.9.0-1
/
/
cmd
/
landlock-abi-version
/
main.go
☽
☼
cmd/landlock-abi-version/main.go
code
plain
raw
Expat
2021 Günther Noack
debian/copyright
1
package main
2
3
import (
4
"fmt"
5
6
ll "github.com/landlock-lsm/go-landlock/landlock/syscall"
7
)
8
9
func main() {
10
v, err := ll.LandlockGetABIVersion()
11
if err != nil {
12
fmt.Println("0")
13
} else { // success
14
fmt.Println(v)
15
}
16
}