diff options
| author | Po Lu | 2023-05-02 21:13:42 +0800 |
|---|---|---|
| committer | Po Lu | 2023-05-02 21:13:42 +0800 |
| commit | f4a5e6d0e5ce05cf97afb0ddb45dc0c0c2ea23a7 (patch) | |
| tree | 0dd0f303762d65ebad9712bdb09dede2acd60143 | |
| parent | c47716f95b8fda9438047d2683a415a65c18ecbd (diff) | |
| download | emacs-f4a5e6d0e5ce05cf97afb0ddb45dc0c0c2ea23a7.tar.gz emacs-f4a5e6d0e5ce05cf97afb0ddb45dc0c0c2ea23a7.zip | |
* doc/emacs/android.texi (Android Environment): Improve doc.
| -rw-r--r-- | doc/emacs/android.texi | 24 |
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 |
| 280 | itself from running executables inside the app data directory. On | 280 | executables inside the app data directory, obstensibly for security |
| 281 | these systems, Emacs normally applies a workaround; however, this | 281 | readers. On these systems, Emacs normally applies a workaround; |
| 282 | workaround requires running all sub-processes in another subprocess, | 282 | however, this workaround requires running all sub-processes through |
| 283 | and applying process tracing to all executables, which may prove to be | 283 | another subprocess which implements an executable loader and applies |
| 284 | problematic for various different reasons. In that case, the | 284 | process tracing to all its children, which may prove to be problematic |
| 285 | workaround can be disabled by changing the variable | 285 | for various different reasons. In that case, the workaround can be |
| 286 | @code{android-use-exec-loader} to @code{nil}. | 286 | disabled 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 | ||
| 291 | process; its child will belong to the same process group as the | ||
| 292 | loader. As a result, @code{interrupt-process}, and other related | ||
| 293 | functions 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 |