From f305e643dc56f776d247507701d730c89afaead1 Mon Sep 17 00:00:00 2001 From: Ma Shimiao Date: Mon, 14 Nov 2016 16:14:22 +0800 Subject: [PATCH] spec-go/config: comment fix Signed-off-by: Ma Shimiao --- specs-go/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs-go/config.go b/specs-go/config.go index bdcac8dc..0166f46b 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -505,7 +505,7 @@ const ( ActAllow LinuxSeccompAction = "SCMP_ACT_ALLOW" ) -// LinuxOperatorOperator used to match syscall arguments in Seccomp +// LinuxSeccompOperator used to match syscall arguments in Seccomp type LinuxSeccompOperator string // Define operators for syscall arguments in Seccomp @@ -519,7 +519,7 @@ const ( OpMaskedEqual LinuxSeccompOperator = "SCMP_CMP_MASKED_EQ" ) -// Arg used for matching specific syscall arguments in Seccomp +// LinuxSeccompArg used for matching specific syscall arguments in Seccomp type LinuxSeccompArg struct { Index uint `json:"index"` Value uint64 `json:"value"`