ima: audit log hashes
authorPeter Moody <pmoody@google.com>
Thu, 14 Jun 2012 17:04:36 +0000 (10:04 -0700)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 13 Sep 2012 18:48:44 +0000 (14:48 -0400)
commite7c568e0fd0cf6d9c8ab8ea537ba8f3a3ae7c3d8
treef920b77b98c38e28dd2974564db102160e59f3e9
parent45e2472e67bf66f794d507b52e82af92e0614e49
ima: audit log hashes

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: Peter Moody <pmoody@google.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Documentation/ABI/testing/ima_policy
security/integrity/ima/ima.h
security/integrity/ima/ima_api.c
security/integrity/ima/ima_main.c
security/integrity/ima/ima_policy.c
security/integrity/integrity.h