diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 00:42:18 -0800 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 01:16:37 -0800 |
commit | d97d51d253e08e059bba40002407ec3d188feafb (patch) | |
tree | 93e8b0a9a0ecac62c0ed40be548b84fd91a4cef7 /security/apparmor/include/context.h | |
parent | 121d4a91e3c12ddfb167edafb9aa64cc5cc3a406 (diff) | |
download | op-kernel-dev-d97d51d253e08e059bba40002407ec3d188feafb.zip op-kernel-dev-d97d51d253e08e059bba40002407ec3d188feafb.tar.gz |
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 6bf6579..a0acc23 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); |