From 64f1bc96d9377bee8c6e79fec4e2ea3e26e27718 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Thu, 6 Oct 2011 18:39:09 -0400 Subject: Taint if virtualbox modules have been loaded. --- taint-vbox.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 taint-vbox.patch (limited to 'taint-vbox.patch') diff --git a/taint-vbox.patch b/taint-vbox.patch new file mode 100644 index 00000000..5cb3e47c --- /dev/null +++ b/taint-vbox.patch @@ -0,0 +1,15 @@ +diff --git a/kernel/module.c b/kernel/module.c +index 04379f92..d26c9a3 100644 +--- a/kernel/module.c ++++ b/kernel/module.c +@@ -2653,6 +2653,10 @@ static int check_module_license_and_versions(struct module *mod) + if (strcmp(mod->name, "ndiswrapper") == 0) + add_taint(TAINT_PROPRIETARY_MODULE); + ++ /* vbox is garbage. */ ++ if (strcmp(mod->name, "vboxdrv") == 0) ++ add_taint(TAINT_CRAP); ++ + /* driverloader was caught wrongly pretending to be under GPL */ + if (strcmp(mod->name, "driverloader") == 0) + add_taint_module(mod, TAINT_PROPRIETARY_MODULE); -- cgit