aboutsummaryrefslogtreecommitdiffstats
path: root/security/apparmor/include
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-06-09 17:15:56 -0700
committerJohn Johansen <john.johansen@canonical.com>2017-06-10 17:11:45 -0700
commit064dc9472fa2bc31a7b178882bd7eff782c3d239 (patch)
treecb00df746773f501309f21d5da8dbf16664a0c96 /security/apparmor/include
parentapparmor: rework file permission to cache file access in file->ctx (diff)
downloadlinux-dev-064dc9472fa2bc31a7b178882bd7eff782c3d239.tar.xz
linux-dev-064dc9472fa2bc31a7b178882bd7eff782c3d239.zip
apparmor: mediate files when they are received
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-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"