]> git.eshelyaron.com Git - emacs.git/commit
Lift restrictions on `tramp-androidsu's app data access
authorPo Lu <luangruo@yahoo.com>
Wed, 28 Feb 2024 04:05:59 +0000 (12:05 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:53:41 +0000 (18:53 +0100)
commit95e2b2a7d423c9ec9c856d2b44b079c1c88ac558
tree5ad7c0e218bbe978dd51384e649496c7f2f0ef57
parent5f003df90f70dd0b128600107db1fa39194ac3fc
Lift restrictions on `tramp-androidsu's app data access

* lisp/net/tramp-adb.el (tramp-adb-handle-copy-file): Remove
code now unnecessary.

* lisp/net/tramp-androidsu.el
(tramp-androidsu-mount-global-namespace): New user option.
(tramp-androidsu-su-mm-supported): New variable.
(tramp-androidsu-maybe-open-connection): Detect whether su
supports the -mm option, and provide it if so.
(tramp-androidsu-adb-handle-copy-file)
(tramp-androidsu-adb-handle-rename-file): Delete functions.
(tramp-androidsu-sh-handle-copy-file)
(tramp-androidsu-sh-handle-rename-file): New functions.
(tramp-androidsu-file-name-handler-alist): Switch to tramp-sh's
copy and rename handlers.

(cherry picked from commit f1db8cf9a0595f7db29b548b38ce98196f36e09b)
lisp/net/tramp-adb.el
lisp/net/tramp-androidsu.el