Skip to content

Commit 03499e1

Browse files
probonopdTheAssassin
authored andcommitted
Increase verbosity
1 parent 6e07305 commit 03499e1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/runtime/runtime.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,11 +452,17 @@ char* find_fusermount() {
452452
}
453453

454454
if (sb.st_uid != 0 || (sb.st_mode & S_ISUID) == 0) {
455-
// Not setuid root, skip this binary
455+
if (VERBOSE) {
456+
printf("Not setuid root, skipping...\n");
457+
}
456458
free(fusermount_full_path);
457459
continue;
458460
}
459461

462+
if (VERBOSE) {
463+
printf("Found setuid root executable: %s\n", fusermount_full_path);
464+
}
465+
460466
pid_t pid = fork();
461467
if (pid == -1) {
462468
perror("fork");

0 commit comments

Comments
 (0)