emacs/exec
Paul Eggert 225876e979 ARRAYELTS → countof
C2y will standardize countof as the macro that Emacs uses the name
ARRAYELTS for.  Switch to the standard name, which is supported
by GCC 16+, by Clang 21, and by the Gnulib stdcountof-h module already
in use for compilers that do not support countof.
Also, use countof in a few places where we missed using ARRAYELTS.
* admin/coccinelle/arrayelts.cocci: Suggest countof, not ARRAYELTS.
* admin/merge-gnulib (GNULIB_MODULES): Add stdcountof-h,
as it is now a direct rather than an indirect dependency.
* exec/trace.c, src/lisp.h, src/sfnt.c: Include <stdcountof.h>.
(ARRAYELTS): Remove.  All uses replaced by countof.
* lib-src/ebrowse.c, lib-src/etags.c, lib-src/make-docfile.c:
* lib-src/seccomp-filter.c, lwlib/lwlib-Xaw.c:
Prefer <stdcountof.h> and countof to doing things by hand.
2026-05-26 21:57:20 -07:00
..
config-mips.m4.in ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
configure.ac Bump master Emacs version to 32.0.50 2026-05-07 17:46:43 +01:00
deps.mk ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
exec.c Revert "Don’t silently truncate file names in exec.c" 2026-05-25 11:21:00 +08:00
exec.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
exec1.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
loader-aarch64.s ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
loader-armeabi.s ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
loader-mips64el.s ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
loader-mipsel.s ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
loader-x86.s ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
loader-x86_64.s ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
Makefile.in ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
mipsel-user.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
mipsfpu.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
mipsfpu.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
README Port seccomp acceleration to Linux 3.5.0 2024-07-02 12:12:14 +08:00
test.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
trace.c ARRAYELTS → countof 2026-05-26 21:57:20 -07: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.