]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - security/apparmor/include/policy.h
UBUNTU: SAUCE: apparmor: af_unix mediation
[mirror_ubuntu-artful-kernel.git] / security / apparmor / include / policy.h
index 4364088a0b9e2188b6353e815cca6c1b3e70fc25..26660a1a50b0b2156dec8ae3c5a4cd00bbb7ef26 100644 (file)
@@ -226,7 +226,7 @@ static inline unsigned int PROFILE_MEDIATES_SAFE(struct aa_profile *profile,
 static inline unsigned int PROFILE_MEDIATES_AF(struct aa_profile *profile,
                                               u16 AF) {
        unsigned int state = PROFILE_MEDIATES(profile, AA_CLASS_NET);
-       u16 be_af = cpu_to_be16(AF);
+       __be16 be_af = cpu_to_be16(AF);
 
        if (!state)
                return 0;