<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/exec, branch feature/android</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Update Android port</title>
<updated>2023-07-20T12:50:50+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-07-20T12:50:50+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=916ef5748992216710f01d91c330e52042b279f1'/>
<id>916ef5748992216710f01d91c330e52042b279f1</id>
<content type='text'>
* exec/trace.c (handle_readlinkat): Adjust commentary to match
behavior.
* src/android.c (android_get_keysym_name): NULL terminate
*name_return.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* exec/trace.c (handle_readlinkat): Adjust commentary to match
behavior.
* src/android.c (android_get_keysym_name): NULL terminate
*name_return.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * exec/loader-mips64el.s (rest_of_exec): Fix typo in comment.</title>
<updated>2023-06-27T01:53:04+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-06-27T01:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=32352bec968ddcde7d1421f35a05ce6d1e42c348'/>
<id>32352bec968ddcde7d1421f35a05ce6d1e42c348</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>; * exec/Makefile.in (clean): Add `exec1'.</title>
<updated>2023-06-19T00:56:49+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-06-19T00:56:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0bdeb217fce90f17f6b67cf581f2f5f0ebf7e168'/>
<id>0bdeb217fce90f17f6b67cf581f2f5f0ebf7e168</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Android port</title>
<updated>2023-05-31T03:27:19+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-05-31T03:27:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=456095ed3129f7ce2fe1ff019ea5d912a69ed2a1'/>
<id>456095ed3129f7ce2fe1ff019ea5d912a69ed2a1</id>
<content type='text'>
* exec/exec.c (insert_args): New argument `arg3'.  Replace
argv[1] with that argument.
(exec_0): Pass file name of script to `insert_args'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* exec/exec.c (insert_args): New argument `arg3'.  Replace
argv[1] with that argument.
(exec_0): Pass file name of script to `insert_args'.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * exec/exec.c (exec_0): Use strcpy.</title>
<updated>2023-05-23T01:22:19+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-05-23T01:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1145572af2780df2e88b54372d43977db5305ded'/>
<id>1145572af2780df2e88b54372d43977db5305ded</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove arbitrary process count limit</title>
<updated>2023-05-20T08:54:13+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-05-20T08:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d86643a7863cef268b69d7925e0982bdb70ba672'/>
<id>d86643a7863cef268b69d7925e0982bdb70ba672</id>
<content type='text'>
* exec/trace.c (handle_clone_prepare):
(handle_clone): When !REENTRANT, use malloc to allocate
tracees after running out of static ones.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* exec/trace.c (handle_clone_prepare):
(handle_clone): When !REENTRANT, use malloc to allocate
tracees after running out of static ones.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix execution of /proc/self/exe within child processes</title>
<updated>2023-05-05T11:04:32+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-05-05T11:04:32+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0fbe79727b07879cb4f0a5cb8d7288353c082bd0'/>
<id>0fbe79727b07879cb4f0a5cb8d7288353c082bd0</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Android port</title>
<updated>2023-05-05T04:10:14+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-05-05T04:10:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2ba6c5035c904426d564eac47381480158cbbb9e'/>
<id>2ba6c5035c904426d564eac47381480158cbbb9e</id>
<content type='text'>
* doc/emacs/android.texi (Android Environment): Document lossage
with SIGSTOP.
* exec/exec.c (exec_0): Check X_OK on file being opened.  Also
handle /proc/self/exe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/emacs/android.texi (Android Environment): Document lossage
with SIGSTOP.
* exec/exec.c (exec_0): Check X_OK on file being opened.  Also
handle /proc/self/exe.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Android port</title>
<updated>2023-05-05T02:57:26+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-05-05T02:57:26+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d5414f1797467b00ca4f75faf39c774b150fc509'/>
<id>d5414f1797467b00ca4f75faf39c774b150fc509</id>
<content type='text'>
* exec/trace.c (SYS_SECCOMP): Define when not present.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* exec/trace.c (SYS_SECCOMP): Define when not present.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Android port</title>
<updated>2023-05-04T01:12:26+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2023-05-04T01:12:26+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=339cdef28e6c78e71b310ade3ffd22333cbb0089'/>
<id>339cdef28e6c78e71b310ade3ffd22333cbb0089</id>
<content type='text'>
* exec/trace.c (check_signal): New function.
(handle_exec, process_system_call): Handle signal-delivery-stop
while waiting synchronously for syscall completion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* exec/trace.c (check_signal): New function.
(handle_exec, process_system_call): Handle signal-delivery-stop
while waiting synchronously for syscall completion.
</pre>
</div>
</content>
</entry>
</feed>
