summaryrefslogtreecommitdiffstats
path: root/security/Makefile
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2016-04-21 00:46:27 +0200
committerJames Morris <james.l.morris@oracle.com>2016-04-21 02:47:26 +0200
commit1284ab5b2dcb927d38e4f3fbc2e307f3d1af9262 (patch)
tree732acec00e94c88cbb11eb0a41384c64208facc1 /security/Makefile
parentYama: consolidate error reporting (diff)
downloadlinux-1284ab5b2dcb927d38e4f3fbc2e307f3d1af9262.tar.xz
linux-1284ab5b2dcb927d38e4f3fbc2e307f3d1af9262.zip
fs: define a string representation of the kernel_read_file_id enumeration
A string representation of the kernel_read_file_id enumeration is needed for displaying messages (eg. pr_info, auditing) that can be used by multiple LSMs and the integrity subsystem. To simplify keeping the list of strings up to date with the enumeration, this patch defines two new preprocessing macros named __fid_enumify and __fid_stringify to create the enumeration and an array of strings. kernel_read_file_id_str() returns a string based on the enumeration. Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> [kees: removed removal of my old version, constified pointer values] Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security/Makefile')
0 files changed, 0 insertions, 0 deletions