lkml.org 
[lkml]   [2022]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4] integrity: check the return value of audit_log_start()
From
Date
Hi Xiaoke,

On Thu, 2022-01-27 at 09:59 +0800, Xiaoke Wang wrote:
> From: Xiaoke Wang <xkernel.wang@foxmail.com>
>
> audit_log_start() returns audit_buffer pointer on success or NULL on
> error, so it is better to check the return value of it.
>
> Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com>
> Reviewed-by: Paul Moore <paul@paul-moore.com>

Thanks, this patch is staged in the next-integrity-testing branch
https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git/

Mimi

\
 
 \ /
  Last update: 2022-01-27 03:20    [W:0.207 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site