• Roberto Sassu's avatar
    ima: wrap event related data to the new ima_event_data structure · 23b57419
    Roberto Sassu authored
    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: default avatarRoberto Sassu <rsassu@suse.de>
    Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
    23b57419
ima_template_lib.h 1.58 KB