Jan Engelhardt
81cdb97d27
- Enable PKCS#7 signature parsing again - requires openssl - Fix testsuite build - requires kernel-default-devel - Rediff the SUSE patches and rename starting with 0001. - Update to new upstream release 26 * depmod now handles parallel invocations better by protecting the temporary files being used. * modprobe has a new --show-exports option. Under the hood, this reads the .symtab and .strtab sections rather than __versions so it shows useful data even if kernel is configured without modversions (CONFIG_MODVERSIONS). * modinfo supports PKCS#7 parsing by using openssl. - Replaced the asn1c-based parser by an openssl-based PKCS parser. - Remove libkmod-signature-Fix-crash-when-module-signature-is.patch, libkmod-signature-pkcs-7-fix-crash-when-signer-info-.patch, libkmod-signature-implement-pkcs7-parsing-with-asn1c.patch (not accepted upstream) - Remove enum.patch, depmod-Prevent-module-dependency-files-corruption-du.patch, depmod-Prevent-module-dependency-files-missing-durin.patch, depmod-shut-up-gcc-insufficinet-buffer-warning.patch (accepted upstream) - Enable PKCS#7 signature parsing again - requires openssl - Rediff the SUSE patches and rename starting with 0001. OBS-URL: https://build.opensuse.org/request/show/674337 OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=158
42 lines
1.1 KiB
Diff
42 lines
1.1 KiB
Diff
From bbeef7f559bd9c6b1aad11bcd65e56428f290bd8 Mon Sep 17 00:00:00 2001
|
|
From: Michal Marek <mmarek@suse.cz>
|
|
Date: Wed, 26 Feb 2014 13:48:55 +0100
|
|
Subject: [PATCH 1/6] modprobe: Recognize --allow-unsupported-modules on
|
|
commandline
|
|
|
|
The option does not do anything yet, but it does not return error
|
|
either.
|
|
|
|
References: fate#316971
|
|
Patch-mainline: never
|
|
---
|
|
tools/modprobe.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/tools/modprobe.c b/tools/modprobe.c
|
|
index a9e2331..3be2989 100644
|
|
--- a/tools/modprobe.c
|
|
+++ b/tools/modprobe.c
|
|
@@ -85,6 +85,8 @@ static const struct option cmdopts[] = {
|
|
{"dirname", required_argument, 0, 'd'},
|
|
{"set-version", required_argument, 0, 'S'},
|
|
|
|
+ {"allow-unsupported-modules", no_argument, 0, 128},
|
|
+
|
|
{"syslog", no_argument, 0, 's'},
|
|
{"quiet", no_argument, 0, 'q'},
|
|
{"verbose", no_argument, 0, 'v'},
|
|
@@ -843,6 +845,9 @@ static int do_modprobe(int argc, char **orig_argv)
|
|
case 'S':
|
|
kversion = optarg;
|
|
break;
|
|
+ case 128:
|
|
+ /* --allow-unsupported-modules does nothing for now */
|
|
+ break;
|
|
case 's':
|
|
env_modprobe_options_append("-s");
|
|
use_syslog = 1;
|
|
--
|
|
2.20.1
|
|
|