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:
Maxim Cournoyer 2022-01-28 15:11:42 -05:00
parent d5b4ca4445
commit e5c06dce93
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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)