diff --git a/driver/LKM/Makefile b/driver/LKM/Makefile index 89b0ff79e..645043f37 100644 --- a/driver/LKM/Makefile +++ b/driver/LKM/Makefile @@ -95,7 +95,7 @@ ccflags-y += -D SMITH_HAVE_MNTNS_OPS_INUM endif FCHECK_H_FILES := $(shell find -L $(K_I_PATH) -path \*/linux/fdtable.h) /dev/null -FCHECK_SUPPORT := $(shell sh -c "grep -sE \\*[[:space:]]*fcheck_files $(FCHECK_H_FILES)") +FCHECK_SUPPORT := $(shell sh -c "grep -sE [\\]*[[:space:]]*fcheck_files $(FCHECK_H_FILES)") ifneq ($(FCHECK_SUPPORT),) ccflags-y += -D SMITH_HAVE_FCHECK_FILES endif diff --git a/driver/LKM/src/smith_hook.c b/driver/LKM/src/smith_hook.c index f7493c48c..fa1ca6338 100644 --- a/driver/LKM/src/smith_hook.c +++ b/driver/LKM/src/smith_hook.c @@ -6585,7 +6585,7 @@ MODULE_PARM_DESC(mem_stats, "memory usage of core objects of elkeid"); module_param(sid_##name, charp, S_IRUSR|S_IRGRP|S_IROTH) /* latest commit id */ -static char *smith_srcid = SMITH_SRCID(e78a3a5cc2aad61ab1a966dfdcd872710b0c46a0); +static char *smith_srcid = SMITH_SRCID(c2b6ebad9ad86240d24011ba20606f6916d79a6d); static int __init kprobe_hook_init(void) {