emacs/exec
Po Lu c37b50ad41 Intercept calls to `openat' under Android
* exec/configure.ac (OPEN_SYSCALL, OPENAT_SYSCALL): Define new
macros.

* exec/exec.h (struct exec_tracee): New field `sp'.

* exec/trace.c (handle_openat): New function.
(process_system_call): If handle_openat executes successfully,
save the unmodified stack pointer within the tracee structure to
be restored once the system call completes.
2024-01-27 10:36:30 +08:00
..
config-mips.m4.in
configure.ac
deps.mk
exec.c
exec.h
exec1.c
loader-aarch64.s
loader-armeabi.s
loader-mips64el.s
loader-mipsel.s
loader-x86.s
loader-x86_64.s
Makefile.in
mipsel-user.h
mipsfpu.c
mipsfpu.h
README
test.c
trace.c

This directory holds the source code to a library used to replace the
`execve' and `execveat' system calls, used by the Android port of
Emacs to start executables without intervention from the system.