Guest User

Untitled

a guest
Jan 12th, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. Date Thu, 6 Oct 2011 15:05:27 -0400
  2. From Dave Jones <>
  3. Subject RFC: virtualbox tainting.
  4.  
  5.  
  6. The number of bug reports we get from people with virtualbox loaded are
  7. truly astonishing. It's GPL, but sadly that doesn't mean it's good.
  8. Nearly all of these bugs look like random corruption. (corrupt linked lists,
  9. corrupt page tables, and just plain 'weird' crashes).
  10.  
  11. This diff adds tainting to the module loader to treat it as we do with stuff
  12. from staging/ (crap). With this tainting in place, automatic bug filing tools
  13. can opt out of automatically filing kernel bugs, and inform the user to file
  14. bugs somewhere more appropriate.
  15.  
  16. Signed-off-by: Dave Jones <davej@redhat.com>
  17.  
  18. diff --git a/kernel/module.c b/kernel/module.c
  19. index 04379f92..d26c9a3 100644
  20. --- a/kernel/module.c
  21. +++ b/kernel/module.c
  22. @@ -2653,6 +2653,10 @@ static int check_module_license_and_versions(struct module *mod)
  23. if (strcmp(mod->name, "ndiswrapper") == 0)
  24. add_taint(TAINT_PROPRIETARY_MODULE);
  25.  
  26. + /* vbox is garbage. */
  27. + if (strcmp(mod->name, "vboxdrv") == 0)
  28. + add_taint(TAINT_CRAP);
  29. +
  30. /* driverloader was caught wrongly pretending to be under GPL */
  31. if (strcmp(mod->name, "driverloader") == 0)
  32. add_taint_module(mod, TAINT_PROPRIETARY_MODULE);
Add Comment
Please, Sign In to add comment