diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 11:42:18 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 12:16:37 +0300 |
commit | d97d51d253e08e059bba40002407ec3d188feafb (patch) | |
tree | 93e8b0a9a0ecac62c0ed40be548b84fd91a4cef7 /security/apparmor/include/context.h | |
parent | 121d4a91e3c12ddfb167edafb9aa64cc5cc3a406 (diff) | |
download | linux-d97d51d253e08e059bba40002407ec3d188feafb.tar.xz |
apparmor: rename PFLAG_INVALID to PFLAG_STALE
Invalid does not convey the meaning of the flag anymore so rename it.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/context.h')
-rw-r--r-- | security/apparmor/include/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/context.h b/security/apparmor/include/context.h index 6bf65798e5d1..a0acc2390fae 100644 --- a/security/apparmor/include/context.h +++ b/security/apparmor/include/context.h @@ -152,7 +152,7 @@ static inline struct aa_profile *aa_current_profile(void) struct aa_profile *profile; BUG_ON(!cxt || !cxt->profile); - if (PROFILE_INVALID(cxt->profile)) { + if (profile_is_stale(cxt->profile)) { profile = aa_get_newest_profile(cxt->profile); aa_replace_current_profile(profile); aa_put_profile(profile); |