libct/seccomp: ConvertStringToAction: fix doc

As of commit caca840972 (Nov 12 2015) SCMP_ACT_TRACE
is supported.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2021-07-22 12:00:28 -07:00
parent 4071c3cd57
commit 073e085ca4
+1 -3
View File
@@ -56,9 +56,7 @@ func ConvertStringToOperator(in string) (configs.Operator, error) {
} }
// ConvertStringToAction converts a string into a Seccomp rule match action. // ConvertStringToAction converts a string into a Seccomp rule match action.
// Actions use the names they are assigned in Libseccomp's header, though some // Actions use the names they are assigned in Libseccomp's header.
// (notable, SCMP_ACT_TRACE) are not available in this implementation and will
// return errors.
// Attempting to convert a string that is not a valid action results in an // Attempting to convert a string that is not a valid action results in an
// error. // error.
func ConvertStringToAction(in string) (configs.Action, error) { func ConvertStringToAction(in string) (configs.Action, error) {