Debian Codegraph @

cmd/landlock-abi-version/main.go

raw
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 }