mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
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 @@ (define* (kernel-config arch #:key variant)
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue