aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/integrity_audit.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2018-06-04 16:54:52 -0400
committerMimi Zohar <zohar@linux.vnet.ibm.com>2018-07-18 07:27:22 -0400
commit8a3bcaf6ecd37fee326cd30732192ef2a09e5b07 (patch)
tree27d3466184ad6f57e3d85d7315ebba03b9edcf41 /security/integrity/integrity_audit.c
parentsecurity: check for kstrdup() failure in lsm_append() (diff)
downloadlinux-dev-8a3bcaf6ecd37fee326cd30732192ef2a09e5b07.tar.xz
linux-dev-8a3bcaf6ecd37fee326cd30732192ef2a09e5b07.zip
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>
Diffstat (limited to 'security/integrity/integrity_audit.c')
0 files changed, 0 insertions, 0 deletions