Thanks to Michael Kerrisk for keeping us honest. These flags are actually useful for eliminating the only case where kmod has to mangle a module's internals: for overriding module versioning. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Lucas De Marchi <lucas.demarchi@profusion.mobi> Acked-by: Kees Cook <keescook@chromium.org>
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			207 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			207 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _UAPI_LINUX_MODULE_H
 | 
						|
#define _UAPI_LINUX_MODULE_H
 | 
						|
 | 
						|
/* Flags for sys_finit_module: */
 | 
						|
#define MODULE_INIT_IGNORE_MODVERSIONS	1
 | 
						|
#define MODULE_INIT_IGNORE_VERMAGIC	2
 | 
						|
 | 
						|
#endif /* _UAPI_LINUX_MODULE_H */
 |