Date: Wed, 22 May 2019 04:10:24 +0000 (UTC) From: Johannes Lundberg <johalun@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r348089 - stable/12/sys/compat/linuxkpi/common/include/linux Message-ID: <201905220410.x4M4AOma053075@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905220410.x4M4AOma053075>