Skip to content

Commit 073e085

Browse files
committed
libct/seccomp: ConvertStringToAction: fix doc
As of commit caca840 (Nov 12 2015) SCMP_ACT_TRACE is supported. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 4071c3c commit 073e085

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libcontainer/seccomp/config.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ func ConvertStringToOperator(in string) (configs.Operator, error) {
5656
}
5757

5858
// ConvertStringToAction converts a string into a Seccomp rule match action.
59-
// Actions use the names they are assigned in Libseccomp's header, though some
60-
// (notable, SCMP_ACT_TRACE) are not available in this implementation and will
61-
// return errors.
59+
// Actions use the names they are assigned in Libseccomp's header.
6260
// Attempting to convert a string that is not a valid action results in an
6361
// error.
6462
func ConvertStringToAction(in string) (configs.Action, error) {

0 commit comments

Comments
 (0)