mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	Update util-linux to 2.35.1 and refresh patches. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> [commit subject and description tweaks] Signed-off-by: Petr Štetiar <ynezz@true.cz>
		
			
				
	
	
		
			15 lines
		
	
	
		
			305 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			305 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/lib/randutils.c
 | |
| +++ b/lib/randutils.c
 | |
| @@ -26,6 +26,11 @@
 | |
|  #define THREAD_LOCAL static
 | |
|  #endif
 | |
|  
 | |
| +/* force /dev/urandom to avoid hanging on early boot */
 | |
| +#undef HAVE_GETRANDOM
 | |
| +#undef SYS_getrandom
 | |
| +#undef __NR_getrandom
 | |
| +
 | |
|  #ifdef HAVE_GETRANDOM
 | |
|  # include <sys/random.h>
 | |
|  #elif defined (__linux__)
 |