1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
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 ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
configure.ac Intercept calls to `openat' under Android 2024-01-27 10:36:30 +08:00
deps.mk ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
exec.c ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
exec.h Intercept calls to `openat' under Android 2024-01-27 10:36:30 +08:00
exec1.c ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
loader-aarch64.s ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
loader-armeabi.s ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
loader-mips64el.s ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
loader-mipsel.s ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
loader-x86.s ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
loader-x86_64.s ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
Makefile.in ; * exec/Makefile.in: Correct typo. 2024-01-21 09:59:47 +08:00
mipsel-user.h ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
mipsfpu.c ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
mipsfpu.h ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
README Add helper binary `exec1' 2023-04-30 21:37:19 +08:00
test.c ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
trace.c Intercept calls to `openat' under Android 2024-01-27 10:36:30 +08:00

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.