diff options
author | Po Lu <luangruo@yahoo.com> | 2025-02-09 12:06:52 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2025-02-09 12:06:52 +0800 |
commit | 563efd6838c1b62c8962385911b5fd5c5637ab96 (patch) | |
tree | ec0a6294ad51fcdd9b916241959115aade90759a /lisp/emacs-lisp | |
parent | ed9dd4705c7299c12c18d566bd8db4183b1c57f3 (diff) | |
download | emacs-563efd6838c1b62c8962385911b5fd5c5637ab96.tar.gz emacs-563efd6838c1b62c8962385911b5fd5c5637ab96.tar.bz2 emacs-563efd6838c1b62c8962385911b5fd5c5637ab96.zip |
Fix program execution on Android 15 QPR2 Beta
* exec/trace.c (process_vm_readv, process_vm_writev): New
function pointers. Attempt to load them on recent Android
systems when `exec' was not linked with a sufficiently
up-to-date libc.
(read_memory, user_copy): Always use process_vm_readv and
process_vm_writev if available.
(handle_openat): Write trailing NULL byte of filename to user
buffer.
(exec_init): Attempt to dlsym process_vm_readv and
process_vm_writev.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions