Skip to content

Commit

Permalink
Launch console with igloo profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Fasano committed Nov 16, 2023
1 parent 16694b8 commit a6700bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmadyne/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a6700bc

Please sign in to comment.