[PATCH v3] IMA: Add audit log for failure conditions
Lakshmi Ramasubramanian
nramas at linux.microsoft.com
Tue Jun 9 18:03:28 UTC 2020
On 6/9/20 10:35 AM, Steve Grubb wrote:
>>
>> If it is added, it should be appended to the end of the record since it
>> is an existing record format, then in the case of res=1, errno= should
>> still be present (not swing in and out) and just contain zero. (Or
>> another value if there is a non-fatal warning?)
>
> This is not a searchable field, so it can go anywhere. If it is searchable,
> ausearch expects ordering of other searchable fields.
>
Thank you for the clarification Steve.
I'll add "errno=" right after "cause=".
Also, "errno" will always be present - will be set to 0 if status is
"success" (res=1) and a non-zero value for failure (res=0)
thanks,
-lakshmi
More information about the Linux-audit
mailing list