gnu: linux-libre: Restrict ‘dmesg’ to privileged users.
* gnu/packages/linux.scm (%default-extra-linux-options): Set CONFIG_SECURITY_DMESG_RESTRICT.
This commit is contained in:
parent
4b0356590a
commit
24446ce299
@ -561,7 +561,9 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
|
|||||||
(search-auxiliary-file file)))
|
(search-auxiliary-file file)))
|
||||||
|
|
||||||
(define %default-extra-linux-options
|
(define %default-extra-linux-options
|
||||||
`(;; Modules required for initrd:
|
`(;; Some very mild hardening.
|
||||||
|
("CONFIG_SECURITY_DMESG_RESTRICT" . #t)
|
||||||
|
;; Modules required for initrd:
|
||||||
("CONFIG_NET_9P" . m)
|
("CONFIG_NET_9P" . m)
|
||||||
("CONFIG_NET_9P_VIRTIO" . m)
|
("CONFIG_NET_9P_VIRTIO" . m)
|
||||||
("CONFIG_VIRTIO_BLK" . m)
|
("CONFIG_VIRTIO_BLK" . m)
|
||||||
|
Loading…
Reference in New Issue
Block a user