On Sun, 2016-02-07 at 22:10 +0200, Petko Manolov wrote: > On 16-02-03 14:06:27, Mimi Zohar wrote: > > Option 3: incorportate the ima_hooks enumeration into kernel_read_file_id, > > perhaps changing the enumeration name. > > > > For now, duplicate the new READING_KEXEC_IMAGE/INITRAMFS in ima_hooks. > > > > Signed-off-by: Mimi Zohar <zohar at linux.vnet.ibm.com> > > Option 3 seems the right way to go, but for now: I'm just not sure. The kernel_read_file_id enumeration is in <linux/fs.h>. > Acked-by: Petko Manolov <petkan at mip-labs.com> Thank you. Mimi