linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Replacement for blacklisting with 'install MOD /bin/false'?
@ 2020-03-21 14:22 Topi Miettinen
  2020-03-23 19:29 ` Lucas De Marchi
  0 siblings, 1 reply; 2+ messages in thread
From: Topi Miettinen @ 2020-03-21 14:22 UTC (permalink / raw)
  To: linux-modules

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?

-Topi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Replacement for blacklisting with 'install MOD /bin/false'?
  2020-03-21 14:22 Replacement for blacklisting with 'install MOD /bin/false'? Topi Miettinen
@ 2020-03-23 19:29 ` Lucas De Marchi
  0 siblings, 0 replies; 2+ messages in thread
From: Lucas De Marchi @ 2020-03-23 19:29 UTC (permalink / raw)
  To: Topi Miettinen; +Cc: linux-modules

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-23 19:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 14:22 Replacement for blacklisting with 'install MOD /bin/false'? Topi Miettinen
2020-03-23 19:29 ` Lucas De Marchi

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).