summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/audit.h
diff options
context:
space:
mode:
authorJohn Johansen2017-06-10 02:15:56 +0200
committerJohn Johansen2017-06-11 02:11:45 +0200
commit064dc9472fa2bc31a7b178882bd7eff782c3d239 (patch)
treecb00df746773f501309f21d5da8dbf16664a0c96 /security/apparmor/include/audit.h
parentapparmor: rework file permission to cache file access in file->ctx (diff)
downloadkernel-qcow2-linux-064dc9472fa2bc31a7b178882bd7eff782c3d239.tar.gz
kernel-qcow2-linux-064dc9472fa2bc31a7b178882bd7eff782c3d239.tar.xz
kernel-qcow2-linux-064dc9472fa2bc31a7b178882bd7eff782c3d239.zip
apparmor: mediate files when they are received
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/audit.h')
-rw-r--r--security/apparmor/include/audit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/audit.h b/security/apparmor/include/audit.h
index 20fa6c77db05..99ed83cf6941 100644
--- a/security/apparmor/include/audit.h
+++ b/security/apparmor/include/audit.h
@@ -64,6 +64,7 @@ enum audit_type {
#define OP_GETATTR "getattr"
#define OP_OPEN "open"
+#define OP_FRECEIVE "file_receive"
#define OP_FPERM "file_perm"
#define OP_FLOCK "file_lock"
#define OP_FMMAP "file_mmap"