aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2023-05-02 21:13:42 +0800
committerPo Lu2023-05-02 21:13:42 +0800
commitf4a5e6d0e5ce05cf97afb0ddb45dc0c0c2ea23a7 (patch)
tree0dd0f303762d65ebad9712bdb09dede2acd60143
parentc47716f95b8fda9438047d2683a415a65c18ecbd (diff)
downloademacs-f4a5e6d0e5ce05cf97afb0ddb45dc0c0c2ea23a7.tar.gz
emacs-f4a5e6d0e5ce05cf97afb0ddb45dc0c0c2ea23a7.zip
* doc/emacs/android.texi (Android Environment): Improve doc.
-rw-r--r--doc/emacs/android.texi24
1 files changed, 16 insertions, 8 deletions
diff --git a/doc/emacs/android.texi b/doc/emacs/android.texi
index e1c644d6043..1f609b4ecb0 100644
--- a/doc/emacs/android.texi
+++ b/doc/emacs/android.texi
@@ -276,14 +276,22 @@ documents, so your mileage may vary.
276 276
277@cindex call-process, Android 277@cindex call-process, Android
278@vindex android-use-exec-loader 278@vindex android-use-exec-loader
279 Android 10 and later versions of the system also prohibit Emacs 279 Android 10 and later also prohibit Emacs itself from running
280itself from running executables inside the app data directory. On 280executables inside the app data directory, obstensibly for security
281these systems, Emacs normally applies a workaround; however, this 281readers. On these systems, Emacs normally applies a workaround;
282workaround requires running all sub-processes in another subprocess, 282however, this workaround requires running all sub-processes through
283and applying process tracing to all executables, which may prove to be 283another subprocess which implements an executable loader and applies
284problematic for various different reasons. In that case, the 284process tracing to all its children, which may prove to be problematic
285workaround can be disabled by changing the variable 285for various different reasons. In that case, the workaround can be
286@code{android-use-exec-loader} to @code{nil}. 286disabled by changing the variable @code{android-use-exec-loader} to
287@code{nil}.
288
289 When this workaround is in effect, process IDs retrieved through the
290@code{process-id} function will be that of the executable loader
291process; its child will belong to the same process group as the
292loader. As a result, @code{interrupt-process}, and other related
293functions will work correctly, but using the process ID returned by
294@code{process-id} for other purposes will not.
287 295
288@section Running Emacs in the background 296@section Running Emacs in the background
289@cindex emacs killed, android 297@cindex emacs killed, android