mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
parser: rename rules.h perms_t to perm32_t
There are two distinct declarations of perms_t. rule.h: typedef uint32_t perms_t hfa.h: class perms_t these definitions clash when the front end and backend share more info. To avoid this rename rule.h to perm32_t, and move the definition into perms.h and use it in struct aa_perms. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -584,7 +584,7 @@ build:
|
||||
|
||||
static int warn_change_profile = 1;
|
||||
|
||||
static bool is_change_profile_perms(perms_t perms)
|
||||
static bool is_change_profile_perms(perm32_t perms)
|
||||
{
|
||||
/**
|
||||
* A change_profile entry will have the AA_CHANGE_PROFILE bit set.
|
||||
|
Reference in New Issue
Block a user