diff options
Diffstat (limited to 'service')
| -rw-r--r-- | service/kjarna.c | 3 | ||||
| -rw-r--r-- | service/main.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/service/kjarna.c b/service/kjarna.c index 80adae0..b47a45c 100644 --- a/service/kjarna.c +++ b/service/kjarna.c @@ -10,8 +10,7 @@ int kjarna_entry() uint64_t image_base; __asm__ ("leaq kc_image_base(%%rip), %0" : "=r"(image_base) :: ); - bool wait = true; - + bool wait = false; while(wait); int result = main(0, nullptr); diff --git a/service/main.c b/service/main.c index f00508f..e2c705b 100644 --- a/service/main.c +++ b/service/main.c @@ -19,7 +19,6 @@ static int open_kernel(void) return -1; } - // crash here if (!elf64_validate_fd(kernel_fd, ET_DYN, EM_X86_64)) { printf("error: could not validate elf header\n"); |
