diff options
| author | Po Lu | 2023-08-19 13:25:42 +0800 |
|---|---|---|
| committer | Po Lu | 2023-08-19 13:25:42 +0800 |
| commit | 2effd18c97bf542e43203c95dd88114159162dd5 (patch) | |
| tree | e8122ac2aab7a601d22024582fd90f1eb6bc5be4 /java | |
| parent | ec8f330df6b512242d0c2d18c8d1e9b112916160 (diff) | |
| download | emacs-2effd18c97bf542e43203c95dd88114159162dd5.tar.gz emacs-2effd18c97bf542e43203c95dd88114159162dd5.zip | |
Make some file I/O operations more robust on Android
* src/android.h (android_readlinkat): New prototype.
* src/androidvfs.c (struct android_vops): New function pointer
`readlink'.
(unix_vfs_ops, android_unix_readlink, afs_vfs_ops)
(android_afs_readlink, content_vfs_ops, android_content_mkdir)
(android_content_chmod, authority_vfs_ops)
(android_authority_readlink, saf_root_vfs_ops)
(android_saf_root_readlink, saf_tree_vfs_ops)
(android_saf_tree_readlink, saf_file_vfs_ops, saf_new_vfs_ops)
(android_saf_new_readlink, root_vfs_ops): Implement new
`readlink' vops for each vnode type.
(android_readlinkat): New function.
* src/fileio.c (Fcopy_file): Be more flexible about SELinux
errors under Android.
(emacs_readlinkat): Use `android_readlink' when built as
libemacs.so.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions