gnu: linux-libre: Expose running kernel config as /proc/config.gz.
* gnu/packages/linux.scm (%default-extra-linux-options) [CONFIG_IKCONFIG, CONFIG_IKCONFIG_PROC]: Enable kernel options.
This commit is contained in:
		
							parent
							
								
									d5b4ca4445
								
							
						
					
					
						commit
						e5c06dce93
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -687,7 +687,10 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." | |||
|     (search-auxiliary-file file))) | ||||
| 
 | ||||
| (define %default-extra-linux-options | ||||
|   `(;; Some very mild hardening. | ||||
|   `(;; Make the kernel config available at /proc/config.gz | ||||
|     ("CONFIG_IKCONFIG" . #t) | ||||
|     ("CONFIG_IKCONFIG_PROC" . #t) | ||||
|     ;; Some very mild hardening. | ||||
|     ("CONFIG_SECURITY_DMESG_RESTRICT" . #t) | ||||
|     ;; All kernels should have NAMESPACES options enabled | ||||
|     ("CONFIG_NAMESPACES" . #t) | ||||
|  |  | |||
		Reference in a new issue