1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/exec
Po Lu 7a01350624 Replace AT_EXECFN in auxiliary vectors of programs executed on Android
* exec/exec.c (insert_args, exec_0): On non-MIPS systems, copy
NAME and its length to the loader area.  State that MIPS support
is not yet available (though it will be pending the availability
of a functioning emulator).

* exec/loader-aarch64.s (_start):

* exec/loader-armeabi.s (_start):

* exec/loader-x86.s (_start):

* exec/loader-x86_64.s (_start): Displace auxv, environ, and
argv to create sufficient space for the provided file name, and
copy the file name there.  Replace AT_EXECFN to refer to this
space.
2025-04-13 18:51:49 +08:00
..
config-mips.m4.in Update copyright year to 2025 2025-01-02 18:39:42 +01:00
configure.ac ; * exec/configure.ac (config-mips.m4): Fix typo. 2025-01-03 13:04:34 +08:00
deps.mk Update copyright year to 2025 2025-01-02 18:39:42 +01:00
exec.c Replace AT_EXECFN in auxiliary vectors of programs executed on Android 2025-04-13 18:51:49 +08:00
exec.h Update copyright year to 2025 2025-01-02 18:39:42 +01:00
exec1.c Update copyright year to 2025 2025-01-02 18:39:42 +01:00
loader-aarch64.s Replace AT_EXECFN in auxiliary vectors of programs executed on Android 2025-04-13 18:51:49 +08:00
loader-armeabi.s Replace AT_EXECFN in auxiliary vectors of programs executed on Android 2025-04-13 18:51:49 +08:00
loader-mips64el.s Update copyright year to 2025 2025-01-02 18:39:42 +01:00
loader-mipsel.s Update copyright year to 2025 2025-01-02 18:39:42 +01:00
loader-x86.s Replace AT_EXECFN in auxiliary vectors of programs executed on Android 2025-04-13 18:51:49 +08:00
loader-x86_64.s Replace AT_EXECFN in auxiliary vectors of programs executed on Android 2025-04-13 18:51:49 +08:00
Makefile.in Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mipsel-user.h Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mipsfpu.c Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mipsfpu.h Update copyright year to 2025 2025-01-02 18:39:42 +01:00
README Port seccomp acceleration to Linux 3.5.0 2024-07-02 12:12:14 +08:00
test.c Update copyright year to 2025 2025-01-02 18:39:42 +01:00
trace.c Replace AT_EXECFN in auxiliary vectors of programs executed on Android 2025-04-13 18:51:49 +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.

The most edifying resource for developers will be GDB, or to be precise,
the Linux target implementations for architectures of interest.