]> asedeno.scripts.mit.edu Git - linux.git/commit
ima: Call audit_log_string() rather than logging it untrusted
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Mon, 4 Jun 2018 20:54:52 +0000 (16:54 -0400)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 18 Jul 2018 11:27:22 +0000 (07:27 -0400)
commit8a3bcaf6ecd37fee326cd30732192ef2a09e5b07
tree27d3466184ad6f57e3d85d7315ebba03b9edcf41
parent87ea58433208d17295e200d56be5e2a4fe4ce7d6
ima: Call audit_log_string() rather than logging it untrusted

The parameters passed to this logging function are all provided by
a privileged user and therefore we can call audit_log_string()
rather than audit_log_untrustedstring().

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Suggested-by: Steve Grubb <sgrubb@redhat.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_policy.c