Re: [PATCH 1/3] libkmod: add finit_module logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tuesday 12 February 2013 17:32:25 Kees Cook wrote:
> --- a/libkmod/libkmod-file.c
> +++ b/libkmod/libkmod-file.c
> 
>  	file->size = st.st_size;
> -	file->memory = mmap(0, file->size, PROT_READ, MAP_PRIVATE, file->fd, 0);
> +	file->memory = mmap(NULL, file->size, PROT_READ, MAP_PRIVATE,
> +			    file->fd, 0);

i think you meant to split this out into patch [3/3]
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux