parser: add rule merging for userns rules

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2023-07-05 03:32:44 -07:00
parent 53b99a82f6
commit fd20c226e0

View file

@ -42,6 +42,12 @@ public:
virtual int expand_variables(void);
virtual int gen_policy_re(Profile &prof);
virtual bool is_mergeable(void) { return true; }
virtual int cmp(rule_t const &rhs) const
{
return perms_rule_t::cmp(rhs);
};
protected:
virtual void warn_once(const char *name) override;
};