@@ -1013,9 +1013,6 @@ func (f *ScmpFilter) AddRuleExact(call ScmpSyscall, action ScmpAction) error {
10131013// AddRuleConditional adds a single rule for a conditional action on a syscall.
10141014// Returns an error if an issue was encountered adding the rule.
10151015// All conditions must match for the rule to match.
1016- // There is a bug in library versions below v2.2.1 which can, in some cases,
1017- // cause conditions to be lost when more than one are used. Consequently,
1018- // AddRuleConditional is disabled on library versions lower than v2.2.1
10191016func (f * ScmpFilter ) AddRuleConditional (call ScmpSyscall , action ScmpAction , conds []ScmpCondition ) error {
10201017 return f .addRuleGeneric (call , action , false , conds )
10211018}
@@ -1027,9 +1024,6 @@ func (f *ScmpFilter) AddRuleConditional(call ScmpSyscall, action ScmpAction, con
10271024// The rule will function exactly as described, but it may not function identically
10281025// (or be able to be applied to) all architectures.
10291026// Returns an error if an issue was encountered adding the rule.
1030- // There is a bug in library versions below v2.2.1 which can, in some cases,
1031- // cause conditions to be lost when more than one are used. Consequently,
1032- // AddRuleConditionalExact is disabled on library versions lower than v2.2.1
10331027func (f * ScmpFilter ) AddRuleConditionalExact (call ScmpSyscall , action ScmpAction , conds []ScmpCondition ) error {
10341028 return f .addRuleGeneric (call , action , true , conds )
10351029}
0 commit comments