Prarit Bhargava
be7de5f91f
modules: Add kernel parameter to blacklist modules
...
Blacklisting a module in linux has long been a problem. The current
procedure is to use rd.blacklist=module_name, however, that doesn't
cover the case after the initramfs and before a boot prompt (where one
is supposed to use /etc/modprobe.d/blacklist.conf to blacklist
runtime loading). Using rd.shell to get an early prompt is hit-or-miss,
and doesn't cover all situations AFAICT.
This patch adds this functionality of permanently blacklisting a module
by its name via the kernel parameter module_blacklist=module_name.
[v2]: Rusty, use core_param() instead of __setup() which simplifies
things.
[v3]: Rusty, undo wreckage from strsep()
[v4]: Rusty, simpler version of blacklisted()
Signed-off-by: Prarit Bhargava <prarit@redhat.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Rusty Russell <rusty@rustcorp.com.au >
Cc: linux-doc@vger.kernel.org
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2016-08-04 10:16:53 +09:30
..
2016-06-30 19:41:38 +01:00
2016-04-27 12:50:14 -04:00
2016-04-18 23:59:09 +02:00
2016-04-28 07:51:59 -06:00
2016-06-02 18:01:07 +01:00
2016-06-28 14:14:16 -06:00
2016-05-20 17:58:30 -07:00
2016-05-14 10:12:45 -06:00
2016-04-28 07:47:35 -06:00
2016-05-31 16:41:55 +08:00
2016-07-20 16:45:37 -06:00
2016-06-07 13:41:38 -06:00
2016-07-26 14:39:40 -07:00
2016-06-03 14:00:21 -06:00
2016-07-26 13:40:17 -07:00
2016-05-20 22:20:48 -07:00
2016-05-10 12:05:27 +03:00
2016-05-11 21:54:05 +10:00
2016-07-26 13:05:11 -07:00
2016-04-28 07:51:59 -06:00
2016-04-27 10:23:44 +02:00
2016-07-20 06:29:54 -07:00
2016-05-04 22:40:02 +02:00
2016-05-28 11:04:16 -07:00
2016-04-06 10:23:09 -07:00
2016-07-12 08:24:50 -07:00
2016-04-16 10:49:08 -06:00
2016-07-07 15:58:44 +02:00
2016-06-03 15:06:22 -07:00
2016-04-16 10:49:18 -06:00
2016-04-28 07:21:48 -06:00
2016-06-08 11:47:06 +02:00
2016-05-17 12:06:35 +02:00
2016-04-28 10:40:57 +02:00
2016-06-03 13:31:37 -06:00
2016-03-31 00:54:22 -06:00
2016-05-29 22:40:53 -07:00
2016-04-05 03:46:59 +02:00
2016-04-11 20:30:42 +10:00
2016-04-28 07:23:59 -06:00
2016-03-22 15:36:02 -07:00
2016-06-14 16:01:00 -07:00
2016-06-13 15:58:23 +02:00
2016-06-18 11:59:01 -07:00
2016-07-26 13:05:11 -07:00
2016-05-20 20:57:27 -07:00
2016-05-08 11:27:44 +02:00
2016-07-20 16:51:12 -06:00
2016-07-26 13:05:11 -07:00
2016-05-10 01:19:26 -07:00
2016-06-30 13:05:40 -06:00
2016-04-28 07:51:59 -06:00
2016-05-20 21:20:31 -07:00
2016-06-23 08:09:10 -06:00
2016-05-19 18:07:25 -07:00
2016-05-11 22:37:54 +02:00
2016-05-20 17:58:30 -07:00
2016-05-01 14:37:49 -07:00
2016-05-14 18:28:29 +02:00
2016-07-25 17:32:28 -07:00
2016-07-20 16:45:37 -06:00
2016-06-30 13:07:33 -06:00
2016-07-20 16:45:37 -06:00
2016-04-18 11:31:49 -06:00
2016-06-23 07:58:38 -06:00
2016-03-21 10:05:13 -07:00
2016-07-20 16:45:37 -06:00
2016-07-20 16:56:21 -06:00
2016-06-13 15:58:27 +02:00
2016-03-29 10:11:44 -07:00
2016-03-21 09:26:45 +01:00
2016-07-15 14:54:27 +09:00
2016-06-24 06:55:28 -06:00
2016-03-31 00:32:59 -06:00
2016-05-02 09:32:04 -07:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2016-07-20 16:45:37 -06:00
2016-04-15 15:37:25 -06:00
2016-07-17 19:24:02 -06:00
2016-08-04 10:16:53 +09:30
2016-04-28 07:23:11 -06:00
2016-05-09 18:34:37 -03:00
2016-07-01 16:16:07 -06:00
2016-05-04 12:39:35 -07:00
2016-06-23 08:08:36 -06:00
2016-06-17 09:54:45 +02:00
2016-05-19 19:12:14 -07:00
2016-07-27 12:38:00 +09:30
2016-04-29 16:39:39 +02:00
2016-05-17 14:48:04 +02:00
2016-04-28 07:26:41 -06:00
2016-05-06 11:09:01 -07:00
2016-06-03 13:24:16 -06:00
2016-04-28 08:02:36 -06:00
2016-07-06 02:37:38 -06:00
2016-04-28 07:44:54 -06:00