Skip to content

Commit

Permalink
Give the OID registry file module info to avoid kernel tainting
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
cc: Trond Myklebust <[email protected]>
cc: [email protected]
cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dhowells authored and torvalds committed May 5, 2013
1 parent 534c97b commit 9e68794
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/oid_registry.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
* 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>
#include <linux/errno.h>
#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
Expand Down

0 comments on commit 9e68794

Please sign in to comment.