mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
* exec/exec.h (struct exec_tracee): New field `new_child'. Also, make `waiting_for_syscall' a bitfield. * exec/trace.c (PTRACE_GETEVENTMSG): New declaration. (MAX_TRACEES): Bump to 4096. (handle_clone_prepare): New function. (handle_clone): If required, set `new_child' and wait for a ptrace event describing the parent to arrive. (after_fork): Clear new field. (exec_waitpid): Upon a ptrace event describing a clone, create the child's tracee if it doesn't already exist. Otherwise, copy over the parent's cmdline and start running it. |
||
|---|---|---|
| .. | ||
| config-mips.m4.in | ||
| config.guess | ||
| config.h.in | ||
| config.sub | ||
| configure.ac | ||
| deps.mk | ||
| exec.c | ||
| exec.h | ||
| exec1.c | ||
| install-sh | ||
| 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.