mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
parser: add rule merging for userns rules
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
53b99a82f6
commit
fd20c226e0
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ public:
|
||||||
virtual int expand_variables(void);
|
virtual int expand_variables(void);
|
||||||
virtual int gen_policy_re(Profile &prof);
|
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:
|
protected:
|
||||||
virtual void warn_once(const char *name) override;
|
virtual void warn_once(const char *name) override;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue