-
由 Tycho Andersen 提交于
In keeping with the directive to get rid of VLAs [1], let's drop the VLA from ima_audit_measurement(). We need to adjust the return type of ima_audit_measurement, because now this function can fail if an allocation fails. [1]: https://lkml.org/lkml/2018/3/7/621 v2: just use audit_log_format instead of doing a second allocation v3: ignore failures in ima_audit_measurement() Signed-off-by: NTycho Andersen <tycho@tycho.ws> Signed-off-by: NMimi Zohar <zohar@linux.vnet.ibm.com>
e456ef88