linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to have a 'bpf.sig_enforce' command line arg in kernel/bpf/syscall.c ?
@ 2020-12-02 14:12 Arnaldo Carvalho de Melo
  0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2020-12-02 14:12 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Linux Kernel Mailing List

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@socionext.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-02 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 14:12 How to have a 'bpf.sig_enforce' command line arg in kernel/bpf/syscall.c ? Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).