2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

Add 64bit capabilities

This commit is contained in:
John Johansen
2009-08-20 15:27:12 +00:00
parent 747d7da402
commit 6998f6fc3d
5 changed files with 52 additions and 22 deletions

View File

@@ -639,11 +639,11 @@ struct codomain *merge_policy(struct codomain *a, struct codomain *b)
a->flags.complain = a->flags.complain || b->flags.complain;
a->flags.audit = a->flags.audit || b->flags.audit;
a->capabilities = a->capabilities | b->capabilities;
a->audit_caps = a->audit_caps | b->audit_caps;
a->deny_caps = a->deny_caps | b->deny_caps;
a->quiet_caps = a->quiet_caps | b->quiet_caps;
a->set_caps = a->set_caps | b->set_caps;
a->capabilities |= b->capabilities;
a->audit_caps |= b->audit_caps;
a->deny_caps |= b->deny_caps;
a->quiet_caps |= b->quiet_caps;
a->set_caps |= b->set_caps;
if (a->network_allowed) {
size_t i;