Skip to content

Commit f9df045

Browse files
committed
seccomp: fix go-specs for errnoRet
commit 3bfcde2 introduced errnoRet for seccomp syscalls but the Go specs were not implemented correctly. Signed-off-by: Giuseppe Scrivano <[email protected]>
1 parent 2086147 commit f9df045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ type LinuxSeccompArg struct {
669669
type LinuxSyscall struct {
670670
Names []string `json:"names"`
671671
Action LinuxSeccompAction `json:"action"`
672-
ErrnoRet uint `json:"errno"`
672+
ErrnoRet *uint `json:"errnoRet,omitempty"`
673673
Args []LinuxSeccompArg `json:"args,omitempty"`
674674
}
675675

0 commit comments

Comments
 (0)