From: Patrick Doyle <wpdster@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] How can I compile a module into the kernel?
Date: Sun, 21 Oct 2018 13:20:58 -0400 [thread overview]
Message-ID: <CAF_dkJD1hZ0+8=+j64dMffDULsfG1DufDU8po4zm8VxAfdh0dA@mail.gmail.com> (raw)
In-Reply-To: <20181021095548.41d5f0b9@windsurf.lan>
On Sun, Oct 21, 2018 at 3:55 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> Hello Patrick,
> On Sat, 20 Oct 2018 19:27:05 -0400, Patrick Doyle wrote:
> > For security reasons, I would like to disable loadable modules in my
> > kernel.
> > What I would really like to do is to tell buildroot and/or the kernel
> > "Link this external module into the kernel at link time, not at
> > runtime".
>
> You simply can't do that: external modules can only be built as
> modules.
Thank you Thomas.
Yeah, that's what I was finding as well, but I thought I should ask nonetheless.
Is it possible to permanently disable loadable modules from user space
at runtime? Or to only load signed modules? Or do I need to look
more carefully at selinux?
Any thoughts?
Thanks again.
--wpd
next prev parent reply other threads:[~2018-10-21 17:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-20 23:27 [Buildroot] How can I compile a module into the kernel? Patrick Doyle
2018-10-21 7:55 ` Thomas Petazzoni
2018-10-21 17:20 ` Patrick Doyle [this message]
2018-10-21 17:33 ` Thomas Petazzoni
2018-10-21 17:47 ` Baruch Siach
2018-10-22 0:56 ` Patrick Doyle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAF_dkJD1hZ0+8=+j64dMffDULsfG1DufDU8po4zm8VxAfdh0dA@mail.gmail.com' \
--to=wpdster@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.