aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2010-10-04 15:03:36 -0700
committerJohn Rigby <john.rigby@linaro.org>2011-07-25 14:36:13 -0600
commit2f52cc154cef9d0df1d75af72b9809d46b71dbf7 (patch)
tree6373702e3e1ac0ebcac0f910b940d11b3d44a770 /include
parent863ceee728857dfbcbe8c82983d67e9d73d864d1 (diff)
AppArmor: compatibility patch for v5 network controll
Add compatibility for v5 network rules. Signed-off-by: John Johansen <john.johansen@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/lsm_audit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/lsm_audit.h b/include/linux/lsm_audit.h
index 88e78dedc2e..c63979a4dec 100644
--- a/include/linux/lsm_audit.h
+++ b/include/linux/lsm_audit.h
@@ -124,6 +124,10 @@ struct common_audit_data {
u32 denied;
uid_t ouid;
} fs;
+ struct {
+ int type, protocol;
+ struct sock *sk;
+ } net;
};
} apparmor_audit_data;
#endif