diff --git a/drivers/firmadyne/hooks.c b/drivers/firmadyne/hooks.c index c4bcd732f45a5a..44f90a16a61047 100644 --- a/drivers/firmadyne/hooks.c +++ b/drivers/firmadyne/hooks.c @@ -138,7 +138,7 @@ if (syscall & LEVEL_IGLOO) \ printk(KERN_INFO "IGLOO: %s END\n", sc); -static char *envp_init[] = { "HOME=/", "TERM=linux", "LD_PRELOAD=/igloo/utils/libnvram.so", NULL, }; +static char *envp_init[] = { "HOME=/", "TERM=linux", "LD_PRELOAD=/igloo/utils/libnvram.so", "ENV=/igloo/utils/igloo_profile", "PATH=/igloo/utils/:/igloo/bin:/sbin:/bin:/usr/sbin:/usr/bin", NULL }; static void access_hook(int dfd, const char __user *filename, int mode, int flags) { LOG_FILE("access", task_pid_nr(current), current, filename);