Files
emacs/exec
Po Lu 0fbe79727b Fix execution of /proc/self/exe within child processes
* 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.
2023-05-05 19:04:32 +08:00
..
2023-05-01 11:28:22 +08:00
2023-05-03 17:01:44 +08:00
2023-05-03 17:01:44 +08:00
2023-05-05 12:10:14 +08:00
2023-05-03 09:23:06 +08:00
2023-05-03 07:53:38 +08:00
2023-05-01 11:28:22 +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.