Re: [PATCH v2] fs: define a string representation of the kernel_read_file_id enumeration

2016-04-20 Thread Kees Cook
On Mon, Apr 18, 2016 at 12:09 PM, Mimi Zohar wrote: > 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 wi

[PATCH v2] fs: define a string representation of the kernel_read_file_id enumeration

2016-04-18 Thread Mimi Zohar
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