[PATCH 3/4][v2] audit: move audit_aux_data_execve contents into audit_context union

Oleg Nesterov oleg at redhat.com
Thu Oct 31 17:18:10 UTC 2013


On 10/31, Richard Guy Briggs wrote:
>
> --- a/kernel/audit.h
> +++ b/kernel/audit.h
> @@ -197,6 +197,10 @@ struct audit_context {
>  			int			fd;
>  			int			flags;
>  		} mmap;
> +		struct {
> +			int			argc;
> +			struct mm_struct	*mm;
> +		} execve;

Ah, nice, so we should not worry about kmalloc(GFP_KERNEL) failure.

I am in no position to ack the changes in this area, but the whole
series looks fine to me.

Oleg.




More information about the Linux-audit mailing list