svn commit: r348089 - stable/12/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hps at selasky.org
Wed May 22 07:25:18 UTC 2019


On 2019-05-22 06:10, Johannes Lundberg wrote:
> Author: johalun
> Date: Wed May 22 04:10:24 2019
> New Revision: 348089
> URL: https://svnweb.freebsd.org/changeset/base/348089
> 
> Log:
>    MFC r347621:
>    LinuxKPI: Add get_random_u32 function.
>    
>    This patch is part of D19565
>    
>    Reviewed by:	hps
>    Approved by:	imp (mentor), hps
> 
> Modified:
>    stable/12/sys/compat/linuxkpi/common/include/linux/random.h
> Directory Properties:
>    stable/12/   (props changed)
> 
> Modified: stable/12/sys/compat/linuxkpi/common/include/linux/random.h
> ==============================================================================
> --- stable/12/sys/compat/linuxkpi/common/include/linux/random.h	Wed May 22 04:08:45 2019	(r348088)
> +++ stable/12/sys/compat/linuxkpi/common/include/linux/random.h	Wed May 22 04:10:24 2019	(r348089)
> @@ -35,6 +35,8 @@
>   #include <sys/random.h>
>   #include <sys/libkern.h>
>   
> +#define	get_random_u32() get_random_int()
> +
>   static inline void
>   get_random_bytes(void *buf, int nbytes)
>   {
> 
> 

Please also MFC your patches to FreeBSD -11 .

--HPS


More information about the svn-src-all mailing list