Linux-Modules Archive on lore.kernel.org
 help / color / Atom feed
From: Lucas De Marchi <lucas.demarchi@intel.com>
To: Topi Miettinen <toiwoton@gmail.com>
Cc: linux-modules <linux-modules@vger.kernel.org>
Subject: Re: Replacement for blacklisting with 'install MOD /bin/false'?
Date: Mon, 23 Mar 2020 12:29:11 -0700
Message-ID: <20200323192911.qm5ismk4h5rrbm5o@ldmartin-desk1> (raw)
In-Reply-To: <c38d8c8d-5290-7ff7-8daa-d8d76dc80ce0@gmail.com>

On Sat, Mar 21, 2020 at 04:22:22PM +0200, Topi Miettinen wrote:
>Hi,
>
>I'm looking for a replacement for the deprecated 'install MOD 
>/bin/{false,true}' modprobe.d rules for always blacklisting a module. 
>The advantage of using the 'install' rule is that the 'blacklist' 
>rules are ignored when loading modules manually, but the 'install' 
>rules is not. Perhaps there should be a new rule ('always_blacklist'?) 
>which is always obeyed?

yeah, I do have a sketch for "hard-blacklist" for that exact reason...

I will try to revive that patches soon.

thanks
Lucas De Marchi

>
>-Topi

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-21 14:22 Topi Miettinen
2020-03-23 19:29 ` Lucas De Marchi [this message]

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=20200323192911.qm5ismk4h5rrbm5o@ldmartin-desk1 \
    --to=lucas.demarchi@intel.com \
    --cc=linux-modules@vger.kernel.org \
    --cc=toiwoton@gmail.com \
    /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

Linux-Modules Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-modules/0 linux-modules/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-modules linux-modules/ https://lore.kernel.org/linux-modules \
		linux-modules@vger.kernel.org
	public-inbox-index linux-modules

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-modules


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git