@@ -1028,9 +1028,6 @@ func (f *ScmpFilter) AddRuleExact(call ScmpSyscall, action ScmpAction) error {
10281028// AddRuleConditional adds a single rule for a conditional action on a syscall.
10291029// Returns an error if an issue was encountered adding the rule.
10301030// All conditions must match for the rule to match.
1031- // There is a bug in library versions below v2.2.1 which can, in some cases,
1032- // cause conditions to be lost when more than one are used. Consequently,
1033- // AddRuleConditional is disabled on library versions lower than v2.2.1
10341031func (f * ScmpFilter ) AddRuleConditional (call ScmpSyscall , action ScmpAction , conds []ScmpCondition ) error {
10351032 return f .addRuleGeneric (call , action , false , conds )
10361033}
@@ -1042,9 +1039,6 @@ func (f *ScmpFilter) AddRuleConditional(call ScmpSyscall, action ScmpAction, con
10421039// The rule will function exactly as described, but it may not function identically
10431040// (or be able to be applied to) all architectures.
10441041// Returns an error if an issue was encountered adding the rule.
1045- // There is a bug in library versions below v2.2.1 which can, in some cases,
1046- // cause conditions to be lost when more than one are used. Consequently,
1047- // AddRuleConditionalExact is disabled on library versions lower than v2.2.1
10481042func (f * ScmpFilter ) AddRuleConditionalExact (call ScmpSyscall , action ScmpAction , conds []ScmpCondition ) error {
10491043 return f .addRuleGeneric (call , action , true , conds )
10501044}
0 commit comments