Re: [PATCH v3 11/22] ima: define a new hook to measure and appraise a file already in memory

2016-02-10 Thread Dmitry Kasatkin
On Wed, Feb 3, 2016 at 9:06 PM, Mimi Zohar wrote: > This patch defines a new IMA hook ima_post_read_file() for measuring > and appraising files read by the kernel. The caller loads the file into > memory before calling this function, which calculates the hash followed by > the normal IMA policy ba

[PATCH v3 11/22] ima: define a new hook to measure and appraise a file already in memory

2016-02-03 Thread Mimi Zohar
This patch defines a new IMA hook ima_post_read_file() for measuring and appraising files read by the kernel. The caller loads the file into memory before calling this function, which calculates the hash followed by the normal IMA policy based processing. Changelog v3: - rename ima_hash_and_proces