svn commit: r338331 - in head: include sys/sys

Xin LI delphij at FreeBSD.org
Sun Aug 26 18:04:55 UTC 2018


Author: delphij
Date: Sun Aug 26 18:04:54 2018
New Revision: 338331
URL: https://svnweb.freebsd.org/changeset/base/338331

Log:
  Remove arc4random_stir and arc4random_addrandom from stdlib.h.
  Users of arc4random(3) should never call them directly.
  
  All ports tree usage was fixed as part of bug 230756.
  
  Relnotes:       yes
  Approved by:    re (marius), exp-run (bug 230756 by portmgr antoine)

Modified:
  head/include/stdlib.h
  head/sys/sys/param.h

Modified: head/include/stdlib.h
==============================================================================
--- head/include/stdlib.h	Sun Aug 26 17:05:43 2018	(r338330)
+++ head/include/stdlib.h	Sun Aug 26 18:04:54 2018	(r338331)
@@ -254,12 +254,6 @@ void	 arc4random_buf(void *, size_t);
 __uint32_t 
 	 arc4random_uniform(__uint32_t);
 
-#if !defined(BURN_BRIDGES)
-/* Deprecated arc4random() functions */
-#define arc4random_stir()
-#define arc4random_addrandom(a,b)
-#endif
-
 #ifdef __BLOCKS__
 int	 atexit_b(void (^ _Nonnull)(void));
 void	*bsearch_b(const void *, const void *, size_t,

Modified: head/sys/sys/param.h
==============================================================================
--- head/sys/sys/param.h	Sun Aug 26 17:05:43 2018	(r338330)
+++ head/sys/sys/param.h	Sun Aug 26 18:04:54 2018	(r338331)
@@ -60,7 +60,7 @@
  *		in the range 5 to 9.
  */
 #undef __FreeBSD_version
-#define __FreeBSD_version 1200082	/* Master, propagated to newvers */
+#define __FreeBSD_version 1200083	/* Master, propagated to newvers */
 
 /*
  * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,


More information about the svn-src-all mailing list