int copy_string_array_to_user(struct thread *t, char *const *arr, uint64_t *user_ptr)
Copies each string to the user stack, builds a pointer array below the strings, and writes the addres...
Definition enter_ring3.c:31
void enter_ring3(uint64_t entry_rip, uint64_t user_rsp)
Builds an IRETQ stack frame (SS, RSP, RFLAGS=0x202, CS=user_cs, RIP) and executes IRETQ,...