summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/path.h
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-05-22 12:06:52 +0200
committerJohn Johansen <john.johansen@canonical.com>2017-06-08 20:29:34 +0200
commit72c8a768641dc6ee8d1d9dcebd51bbec2817459b (patch)
treed0153542d088beddf662ffaeff25017c970093b7 /security/apparmor/include/path.h
parentapparmor: make internal lib fn skipn_spaces available to the rest of apparmor (diff)
downloadlinux-72c8a768641dc6ee8d1d9dcebd51bbec2817459b.tar.xz
linux-72c8a768641dc6ee8d1d9dcebd51bbec2817459b.zip
apparmor: allow profiles to provide info to disconnected paths
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/path.h')
-rw-r--r--security/apparmor/include/path.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/apparmor/include/path.h b/security/apparmor/include/path.h
index 0444fdde3918..78e4909dcc6a 100644
--- a/security/apparmor/include/path.h
+++ b/security/apparmor/include/path.h
@@ -27,7 +27,8 @@ enum path_flags {
};
int aa_path_name(const struct path *path, int flags, char **buffer,
- const char **name, const char **info);
+ const char **name, const char **info,
+ const char *disconnected);
#define MAX_PATH_BUFFERS 2