Skip to content

Commit

Permalink
seccomp: fix go-specs for errnoRet
Browse files Browse the repository at this point in the history
commit 3bfcde2 introduced errnoRet
for seccomp syscalls but the Go specs were not implemented correctly.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed May 12, 2020
1 parent 2086147 commit f9df045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ type LinuxSeccompArg struct {
type LinuxSyscall struct {
Names []string `json:"names"`
Action LinuxSeccompAction `json:"action"`
ErrnoRet uint `json:"errno"`
ErrnoRet *uint `json:"errnoRet,omitempty"`
Args []LinuxSeccompArg `json:"args,omitempty"`
}

Expand Down

0 comments on commit f9df045

Please sign in to comment.