We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
....stmdb sp!, {r4, r5} @ push fifth and sixth argstst ip, #_TIF_SYSCALL_TRACE @ are we tracing syscalls?bne __sys_trace cmp scno, #NR_syscalls @ check upper syscall limit @ added codemov ip, scnostmdb sp!, {r4}mov r4, #255add scno, r4, #115 @ preparing the system call number pop {r4}adr lr,a2cont @ getting the return address for the called functionldrcc pc, [tbl, scno, lsl #2] @ my system call a2cont:mov scno, ip @ restoring the original desired system call @ added code endsadr lr, BSYM(ret_fast_syscall) @ return address ldrcc pc, [tbl, scno, lsl #2] @ call sys_* routine ...
adr lr,a2contldrcc pc, [tbl, scno, lsl #2]
adr lr,a2cont