@@ -1023,9 +1023,6 @@ func (f *ScmpFilter) AddRuleExact(call ScmpSyscall, action ScmpAction) error {
10231023// AddRuleConditional adds a single rule for a conditional action on a syscall.
10241024// Returns an error if an issue was encountered adding the rule.
10251025// All conditions must match for the rule to match.
1026- // There is a bug in library versions below v2.2.1 which can, in some cases,
1027- // cause conditions to be lost when more than one are used. Consequently,
1028- // AddRuleConditional is disabled on library versions lower than v2.2.1
10291026func (f * ScmpFilter ) AddRuleConditional (call ScmpSyscall , action ScmpAction , conds []ScmpCondition ) error {
10301027 return f .addRuleGeneric (call , action , false , conds )
10311028}
@@ -1037,9 +1034,6 @@ func (f *ScmpFilter) AddRuleConditional(call ScmpSyscall, action ScmpAction, con
10371034// The rule will function exactly as described, but it may not function identically
10381035// (or be able to be applied to) all architectures.
10391036// Returns an error if an issue was encountered adding the rule.
1040- // There is a bug in library versions below v2.2.1 which can, in some cases,
1041- // cause conditions to be lost when more than one are used. Consequently,
1042- // AddRuleConditionalExact is disabled on library versions lower than v2.2.1
10431037func (f * ScmpFilter ) AddRuleConditionalExact (call ScmpSyscall , action ScmpAction , conds []ScmpCondition ) error {
10441038 return f .addRuleGeneric (call , action , true , conds )
10451039}
0 commit comments