On 6/6/20 6:51 PM, Mimi Zohar wrote:
Hi Lakshmi, The commit message provides an explanation. Look at b0d5de4d5880 ("IMA: fix audit res field to indicate 1 for success and 0 for failure").
Thanks for the info Mimi.If this function logs the "result" parameter as passed by the caller, the audit message could be very helpful when triaging failures. But I guess changing this now would cause regression in components that expect only 0 or 1 in the "res" field in an audit message.
thanks, -lakshmi