Skip to content

Commit 9e68794

Browse files
dhowellstorvalds
authored andcommitted
Give the OID registry file module info to avoid kernel tainting
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 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 534c97b commit 9e68794

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎lib/oid_registry.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@
99
* 2 of the Licence, or (at your option) any later version.
1010
*/
1111

12+
#include <linux/module.h>
1213
#include <linux/export.h>
1314
#include <linux/oid_registry.h>
1415
#include <linux/kernel.h>
1516
#include <linux/errno.h>
1617
#include <linux/bug.h>
1718
#include "oid_registry_data.c"
1819

20+
MODULE_DESCRIPTION("OID Registry");
21+
MODULE_AUTHOR("Red Hat, Inc.");
22+
MODULE_LICENSE("GPL");
23+
1924
/**
2025
* look_up_OID - Find an OID registration for the specified data
2126
* @data: Binary representation of the OID

0 commit comments

Comments
 (0)