From f9df045810150d856c84d70df7eea25554ef5caa Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 12 May 2020 09:38:35 +0200 Subject: [PATCH] seccomp: fix go-specs for errnoRet commit 3bfcde28eab5d7e107ddd3771fc92399332932a8 introduced errnoRet for seccomp syscalls but the Go specs were not implemented correctly. Signed-off-by: Giuseppe Scrivano --- specs-go/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs-go/config.go b/specs-go/config.go index 6fa501c34..7b60f8bb3 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -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"` }