diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 11:42:45 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 12:18:35 +0300 |
commit | a71ada305801e940ff69c2c58489778760e5148b (patch) | |
tree | 4fc18f426bff2471c50b87c5b5c6df4749deee11 /security/apparmor/include/apparmorfs.h | |
parent | 34c426acb75cc21bdf84685e106db0c1a3565057 (diff) | |
download | linux-a71ada305801e940ff69c2c58489778760e5148b.tar.xz |
apparmor: add special .null file used to "close" fds at exec
Borrow the special null device file from selinux to "close" fds that
don't have sufficient permissions at exec time.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/apparmorfs.h')
-rw-r--r-- | security/apparmor/include/apparmorfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/apparmor/include/apparmorfs.h b/security/apparmor/include/apparmorfs.h index 5626bd48d7cb..eeeae5b0cc36 100644 --- a/security/apparmor/include/apparmorfs.h +++ b/security/apparmor/include/apparmorfs.h @@ -15,6 +15,8 @@ #ifndef __AA_APPARMORFS_H #define __AA_APPARMORFS_H +extern struct path aa_null; + enum aa_fs_type { AA_FS_TYPE_BOOLEAN, AA_FS_TYPE_STRING, |