Kernel: Invoke ELF interpreter instead if it is specified
This commit is contained in:
@@ -55,14 +55,15 @@ start_userspace_thread:
|
||||
movw %bx, %gs
|
||||
xorw %bx, %bx
|
||||
|
||||
popl %edx
|
||||
popl %esi
|
||||
popl %edi
|
||||
popl %esi
|
||||
popl %edx
|
||||
popl %ecx
|
||||
popl %ebx
|
||||
|
||||
pushl $(0x20 | 3)
|
||||
pushl %eax
|
||||
pushl $0x202
|
||||
pushl $(0x18 | 3)
|
||||
pushl %ecx
|
||||
pushl %ebx
|
||||
iret
|
||||
|
||||
@@ -39,14 +39,15 @@ start_userspace_thread:
|
||||
|
||||
call get_userspace_thread_stack_top
|
||||
|
||||
popq %rdx
|
||||
popq %rsi
|
||||
popq %rdi
|
||||
popq %rsi
|
||||
popq %rdx
|
||||
popq %rcx
|
||||
popq %rbx
|
||||
|
||||
pushq $(0x20 | 3)
|
||||
pushq %rax
|
||||
pushq $0x202
|
||||
pushq $(0x18 | 3)
|
||||
pushq %rcx
|
||||
pushq %rbx
|
||||
iretq
|
||||
|
||||
Reference in New Issue
Block a user