]> git.baikalelectronics.ru Git - kernel.git/commit
ima: wrap event related data to the new ima_event_data structure
authorRoberto Sassu <rsassu@suse.de>
Sat, 11 Apr 2015 15:09:50 +0000 (17:09 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 21 May 2015 17:59:28 +0000 (13:59 -0400)
commitb8032657c1a05d6cfb74572af942015205841920
tree0885bc7def9719d65c843b4b498deccd6c56dc2c
parent5e1f7ff034daad41e905d4053933d472b61ce0b9
ima: wrap event related data to the new ima_event_data structure

All event related data has been wrapped into the new 'ima_event_data'
structure. The main benefit of this patch is that a new information
can be made available to template fields initialization functions
by simply adding a new field to the new structure instead of modifying
the definition of those functions.

Changelog:
 - v2:
   - f_dentry replaced with f_path.dentry (Roberto Sassu)
   - removed declaration of temporary variables in template field functions
     when possible (suggested by Dmitry Kasatkin)

Signed-off-by: Roberto Sassu <rsassu@suse.de>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima.h
security/integrity/ima/ima_api.c
security/integrity/ima/ima_init.c
security/integrity/ima/ima_template_lib.c
security/integrity/ima/ima_template_lib.h