Re: result logged in integrity audit message

2020-06-08 Thread Mimi Zohar
Hi Lakshmi, On Fri, 2020-06-05 at 20:13 -0700, Lakshmi Ramasubramanian wrote: > Hi Mimi, > > In integrity audit message function the inverse of "result" is being > logged for "res=". Please see below. Is this intentional? > > void integrity_audit_msg(int audit_msgno, struct inode *inode, >

Re: result logged in integrity audit message

2020-06-08 Thread Lakshmi Ramasubramanian
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

result logged in integrity audit message

2020-06-06 Thread Lakshmi Ramasubramanian
Hi Mimi, In integrity audit message function the inverse of "result" is being logged for "res=". Please see below. Is this intentional? void integrity_audit_msg(int audit_msgno, struct inode *inode, const unsigned char *fname, const char *op,