From: Dmitry Kasatkin Date: Wed, 5 Nov 2014 15:01:12 +0000 (+0200) Subject: integrity: define a new function integrity_read_file() X-Git-Tag: omap-for-v3.19/fixes-rc1~83^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3c4abbfa97ed0b7aed36f18b32911ccf76d52c2;p=pandora-kernel.git integrity: define a new function integrity_read_file() This patch defines a new function called integrity_read_file() to read file from the kernel into a buffer. Subsequent patches will read a file containing the public keys and load them onto the IMA keyring. This patch moves and renames ima_kernel_read(), the non-security checking version of kernel_read(), to integrity_kernel_read(). Changes in v3: * Patch descriptions improved (Mimi) * Add missing cast (kbuild test robot) Changes in v2: * configuration option removed * function declared as '__init' Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed