25 lines
315 B
ArmAsm
25 lines
315 B
ArmAsm
|
.globl override_open
|
||
|
.globl override_close
|
||
|
.globl override_socket
|
||
|
.globl override_setns
|
||
|
|
||
|
override_open:
|
||
|
movq $2, %rax
|
||
|
syscall
|
||
|
retq
|
||
|
|
||
|
override_close:
|
||
|
movq $3, %rax
|
||
|
syscall
|
||
|
retq
|
||
|
|
||
|
override_socket:
|
||
|
movq $41, %rax
|
||
|
syscall
|
||
|
retq
|
||
|
|
||
|
override_setns:
|
||
|
movq $308, %rax
|
||
|
syscall
|
||
|
retq
|