I am trying to disable SYSENTER
syscall support and let all system calls fall back through int $0x80
interrupts in Linux without any use of ptrace.
I have found two ways:
- Disable VDSO entirely by modifying
/proc/sys/vm/vdso_enabled
file to 0 - Modify
/usr/src/linux/arch/x86/vdso/vdso32-setup.c
Modifying the VDSO(Virtual Dynamic Shared Object) shall be the method in my approach, but I do not know which line(s) to modify. Could someone give me any suggestions?
Thank you.