From 073e085ca42e5cdfd7c7080df0b88f5ff5ed51f9 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 22 Jul 2021 12:00:28 -0700 Subject: [PATCH] libct/seccomp: ConvertStringToAction: fix doc As of commit caca840972 (Nov 12 2015) SCMP_ACT_TRACE is supported. Signed-off-by: Kir Kolyshkin --- libcontainer/seccomp/config.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libcontainer/seccomp/config.go b/libcontainer/seccomp/config.go index b54b7eead..2e5adfd3a 100644 --- a/libcontainer/seccomp/config.go +++ b/libcontainer/seccomp/config.go @@ -56,9 +56,7 @@ func ConvertStringToOperator(in string) (configs.Operator, error) { } // ConvertStringToAction converts a string into a Seccomp rule match action. -// Actions use the names they are assigned in Libseccomp's header, though some -// (notable, SCMP_ACT_TRACE) are not available in this implementation and will -// return errors. +// Actions use the names they are assigned in Libseccomp's header. // Attempting to convert a string that is not a valid action results in an // error. func ConvertStringToAction(in string) (configs.Action, error) {