Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] How can I compile a module into the kernel?
Date: Sun, 21 Oct 2018 19:33:49 +0200	[thread overview]
Message-ID: <20181021193349.41779f48@windsurf> (raw)
In-Reply-To: <CAF_dkJD1hZ0+8=+j64dMffDULsfG1DufDU8po4zm8VxAfdh0dA@mail.gmail.com>

Hello,

On Sun, 21 Oct 2018 13:20:58 -0400, Patrick Doyle wrote:

> 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?

Yes, you can lock to only load signed modules, and I think you can also
lock to no longer load any modules, i.e you can load a few modules at
boot time, and then ask the kernel to no longer load any other module.

I don't have a reference for that, but I'm pretty sure it was discussed
on LWN some $time ago.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-10-21 17:33 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
2018-10-21 17:33     ` Thomas Petazzoni [this message]
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=20181021193349.41779f48@windsurf \
    --to=thomas.petazzoni@bootlin.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox