Skip to content

Commit

Permalink
should clean up !mmu
Browse files Browse the repository at this point in the history
  • Loading branch information
thehajime committed Dec 5, 2024
1 parent 3d7ac14 commit 1c24a0f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/um/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ static void fork_handler(void)
*
* This fork can only come from libc's vfork, which
* does this:
* popq %%rdx;
* call *%rax; // zpoline => __kernel_vsyscall
* pushq %%rdx;
* pop %%rdx;
* mov $58,%eax
* syscall ; // hook => __kernel_vsyscall
* push %%rdx;
* %rcx stores the return address which is stored
* at pt_regs[HOST_IP] at the moment. As child returns
* via userspace() with a jmp instruction (while parent
Expand Down

0 comments on commit 1c24a0f

Please sign in to comment.