• Peter Moody's avatar
    ima: audit log hashes · e7c568e0
    Peter Moody authored
    This adds an 'audit' policy action which audit logs file measurements.
    
    Changelog v6:
     - use new action flag handling (Dmitry Kasatkin).
     - removed whitespace (Mimi)
    
    Changelog v5:
     - use audit_log_untrustedstring.
    
    Changelog v4:
     - cleanup digest -> hash conversion.
     - use filename rather than d_path in ima_audit_measurement.
    
    Changelog v3:
     - Use newly exported audit_log_task_info for logging pid/ppid/uid/etc.
     - Update the ima_policy ABI documentation.
    
    Changelog v2:
     - Use 'audit' action rather than 'measure_and_audit' to permit
     auditing in the absence of measuring..
    
    Changelog v1:
     - Initial posting.
    Signed-off-by: default avatarPeter Moody <pmoody@google.com>
    Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
    e7c568e0
ima.h 5.55 KB