fix incorrect reporting of whether nx is disabled or not
Thanks to Kees Cook for noticing. Message-ID: <20101121070342.GE4617@outflux.net>
This commit is contained in:
		
							parent
							
								
									f6dd1f4eac
								
							
						
					
					
						commit
						0f865c9c5e
					
				| @ -384,7 +384,7 @@ | ||||
|  void __init x86_report_nx(void) | ||||
|  { | ||||
|  	if (!cpu_has_nx) { | ||||
| +		if (disable_nx)
 | ||||
| +		if (!disable_nx)
 | ||||
| +			printk(KERN_INFO "Using x86 segment limits to approximate NX protection\n");
 | ||||
| +		else
 | ||||
| +
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user