]> git.eshelyaron.com Git - emacs.git/commit
Isolate fchmodat within the Android VFS layer
authorPo Lu <luangruo@yahoo.com>
Thu, 3 Aug 2023 06:50:05 +0000 (14:50 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 3 Aug 2023 06:50:05 +0000 (14:50 +0800)
commit6d44d08e044dd2a74c6ac65cedb32a8f7a4f82de
tree2d698e41931b708c8c47f174c2471d5423d12424
parent91a7e9d83f212e478958c2bafd59057ec816cba0
Isolate fchmodat within the Android VFS layer

* src/android.h: Update prototypes.
* src/androidvfs.c (unix_vfs_ops, android_unix_chmod, afs_vfs_ops)
(android_afs_chmod, content_vfs_ops, android_content_chmod)
(authority_vfs_ops, android_authority_chmod, saf_root_vfs_ops)
(android_saf_root_chmod, saf_tree_vfs_ops, android_saf_tree_chmod)
(saf_file_vfs_ops, saf_new_vfs_ops, android_saf_new_chmod)
(root_vfs_ops): Add `chmod' to the list of functions implemented
by each vnode.
(android_fchmodat): New function.
* src/fileio.c (Fset_file_modes): Use `emacs_fchmodat'.
* src/lisp.h:
* src/sysdep.c (emacs_fchmodat): Delegate to android_fchmodat on
Android.
src/android.h
src/androidvfs.c
src/fileio.c
src/lisp.h
src/sysdep.c