* [PATCH] Give the OID registry file module info to avoid kernel tainting
@ 2013-05-03 19:38 David Howells
0 siblings, 0 replies; 3+ messages in thread
From: David Howells @ 2013-05-03 19:38 UTC (permalink / raw)
To: Weston.Adamson, Trond.Myklebust; +Cc: linux-nfs, linux-kernel, stable
Give the OID registry file module information so that it doesn't taint the
kernel when compiled as a module and loaded.
Reported-by: Dros Adamson <Weston.Adamson@netapp.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Trond Myklebust <Trond.Myklebust@netapp.com>
cc: stable@vger.kernel.org
cc: linux-nfs@vger.kernel.org
---
lib/oid_registry.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/oid_registry.c b/lib/oid_registry.c
index d8de11f..318f382 100644
--- a/lib/oid_registry.c
+++ b/lib/oid_registry.c
@@ -9,6 +9,7 @@
* 2 of the Licence, or (at your option) any later version.
*/
+#include <linux/module.h>
#include <linux/export.h>
#include <linux/oid_registry.h>
#include <linux/kernel.h>
@@ -16,6 +17,10 @@
#include <linux/bug.h>
#include "oid_registry_data.c"
+MODULE_DESCRIPTION("OID Registry");
+MODULE_AUTHOR("Red Hat, Inc.");
+MODULE_LICENSE("GPL");
+
/**
* look_up_OID - Find an OID registration for the specified data
* @data: Binary representation of the OID
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH] Give the OID registry file module info to avoid kernel tainting
@ 2013-05-04 7:48 David Howells
0 siblings, 0 replies; 3+ messages in thread
From: David Howells @ 2013-05-04 7:48 UTC (permalink / raw)
To: torvalds; +Cc: linux-nfs, Dros Adamson, Trond Myklebust, linux-kernel, stable
Give the OID registry file module information so that it doesn't taint the
kernel when compiled as a module and loaded.
Reported-by: Dros Adamson <Weston.Adamson@netapp.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Trond Myklebust <Trond.Myklebust@netapp.com>
cc: stable@vger.kernel.org
cc: linux-nfs@vger.kernel.org
---
lib/oid_registry.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/oid_registry.c b/lib/oid_registry.c
index d8de11f..318f382 100644
--- a/lib/oid_registry.c
+++ b/lib/oid_registry.c
@@ -9,6 +9,7 @@
* 2 of the Licence, or (at your option) any later version.
*/
+#include <linux/module.h>
#include <linux/export.h>
#include <linux/oid_registry.h>
#include <linux/kernel.h>
@@ -16,6 +17,10 @@
#include <linux/bug.h>
#include "oid_registry_data.c"
+MODULE_DESCRIPTION("OID Registry");
+MODULE_AUTHOR("Red Hat, Inc.");
+MODULE_LICENSE("GPL");
+
/**
* look_up_OID - Find an OID registration for the specified data
* @data: Binary representation of the OID
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH] Give the OID registry file module info to avoid kernel tainting
@ 2013-05-04 7:48 David Howells
0 siblings, 0 replies; 3+ messages in thread
From: David Howells @ 2013-05-04 7:48 UTC (permalink / raw)
To: torvalds; +Cc: linux-nfs, Dros Adamson, Trond Myklebust, linux-kernel, stable
Give the OID registry file module information so that it doesn't taint the
kernel when compiled as a module and loaded.
Reported-by: Dros Adamson <Weston.Adamson@netapp.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Trond Myklebust <Trond.Myklebust@netapp.com>
cc: stable@vger.kernel.org
cc: linux-nfs@vger.kernel.org
---
lib/oid_registry.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/oid_registry.c b/lib/oid_registry.c
index d8de11f..318f382 100644
--- a/lib/oid_registry.c
+++ b/lib/oid_registry.c
@@ -9,6 +9,7 @@
* 2 of the Licence, or (at your option) any later version.
*/
+#include <linux/module.h>
#include <linux/export.h>
#include <linux/oid_registry.h>
#include <linux/kernel.h>
@@ -16,6 +17,10 @@
#include <linux/bug.h>
#include "oid_registry_data.c"
+MODULE_DESCRIPTION("OID Registry");
+MODULE_AUTHOR("Red Hat, Inc.");
+MODULE_LICENSE("GPL");
+
/**
* look_up_OID - Find an OID registration for the specified data
* @data: Binary representation of the OID
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-04 7:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-03 19:38 [PATCH] Give the OID registry file module info to avoid kernel tainting David Howells
2013-05-04 7:48 David Howells
2013-05-04 7:48 David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®