[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20201202141246.GA96752@kernel.org>
Date: Wed, 2 Dec 2020 11:12:46 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: How to have a 'bpf.sig_enforce' command line arg in
kernel/bpf/syscall.c ?
If I use:
module_param_named(bpf.sig_enforce, sig_enforce, bool_enable_only, 0644);
It explodes and if I do as before:
module_param(sig_enforce, sig_enforce, bool_enable_only, 0644);
Then it ends up as 'syscall.sig_enforce'.
The closest I got so far was:
commit aeacb019b61c4ea7689085574bd03d2c0810f119
Author: Masahiro Yamada <yamada.masahiro@...ionext.com>
Date: Mon Mar 19 18:01:24 2018 +0900
kbuild: define KBUILD_MODNAME even if multiple modules share objects
Is there some way to set that modname var to 'bpf' in
kernel/bpf/syscall.c?
- Arnaldo
Powered by blists - more mailing lists