gnu: linux-libre: Properly enable CONFIG_BPF_UNPRIV_DEFAULT_OFF.

* gnu/packages/linux.scm (default-extra-linux-options):

Fixes: https://issues.guix.gnu.org/72794
Reported-by: Jorge Acereda <jacereda@gmail.com>
Change-Id: Ie4db277e6e3e54ed835ffbeabd2119688bf63dbb
This commit is contained in:
Maxim Cournoyer 2024-09-14 22:11:15 +09:00
parent ff7bba8baa
commit a08fc6e60a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -851,7 +851,7 @@ (define (default-extra-linux-options version)
("CONFIG_BPF_SYSCALL" . #t))
'())
,@(if (version>=? version "5.13")
'(("BPF_UNPRIV_DEFAULT_OFF" . #t))
'(("CONFIG_BPF_UNPRIV_DEFAULT_OFF" . #t))
'())
("CONFIG_NET_CLS_BPF" . m) ;classify packets based on BPF filters
("CONFIG_NET_ACT_BPF" . m) ;to execute BPF code on packets