mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-04 20:19:47 +08:00 
			
		
		
		
	 938a000e3f
			
		
	
	
		938a000e3f
		
	
	
	
	
		
			
			As done for memcpy(), also update memmove() to use the same tightened compile-time checks under CONFIG_FORTIFY_SOURCE. Signed-off-by: Kees Cook <keescook@chromium.org>
		
			
				
	
	
		
			6 lines
		
	
	
		
			139 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			139 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0-only
 | |
| #define TEST	\
 | |
| 	memmove(instance.buf, large, sizeof(instance.buf) + 1)
 | |
| 
 | |
| #include "test_fortify.h"
 |