1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00
emacs/exec
Po Lu 30bc867aec Improve /proc/self/exe substitution on Android
* exec/configure.ac (USER_SWORD): New macro.

* exec/exec.c (format_pid): Export this function.

* exec/exec.h:

* exec/trace.c (canon_path): New function.
(handle_readlinkat, handle_openat): Test complete file name
against /proc/self/exe, and further check for /proc/pid/exe.
2024-03-14 13:45:48 +08:00
..
config-mips.m4.in ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
configure.ac Improve /proc/self/exe substitution on Android 2024-03-14 13:45:48 +08:00
deps.mk ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
exec.c Improve /proc/self/exe substitution on Android 2024-03-14 13:45:48 +08:00
exec.h Improve /proc/self/exe substitution on Android 2024-03-14 13:45:48 +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
test.c ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
trace.c Improve /proc/self/exe substitution on Android 2024-03-14 13:45:48 +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.