Create a new header file, fs/coredump.h, which contains functions only used by the new coredump.c. It also moves do_coredump to the include/linux/coredump.h header file, for consistency. Signed-off-by: Alex Kelly <alex.page.kelly@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			106 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			106 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _FS_COREDUMP_H
 | 
						|
#define _FS_COREDUMP_H
 | 
						|
 | 
						|
extern int __get_dumpable(unsigned long mm_flags);
 | 
						|
 | 
						|
#endif
 |