added kernel string to linux constants file; changed automagic methods so that they reconstruct the kernel object within the method for consistancy with other methods

This commit is contained in:
Matt Tressler
2020-07-30 23:24:23 +01:00
committed by ikelos
parent b9f5450ac3
commit ddec0d482d
3 changed files with 8 additions and 4 deletions
@@ -37,7 +37,7 @@ class tty_check(plugins.PluginInterface):
modules = lsmod.Lsmod.list_modules(self.context, self.config['primary'], self.config['vmlinux'])
handlers = linux.LinuxUtilities.generate_kernel_handler_info(self.context, self.config['primary'], vmlinux, modules)
handlers = linux.LinuxUtilities.generate_kernel_handler_info(self.context, self.config['primary'], self.config['vmlinux'], modules)
try:
tty_drivers = vmlinux.object_from_symbol("tty_drivers")