]> git.eshelyaron.com Git - emacs.git/commit
Don't follow symlinks in returning directory attributes of /
authorPo Lu <luangruo@yahoo.com>
Wed, 19 Jun 2024 08:41:59 +0000 (16:41 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 19 Jun 2024 09:31:09 +0000 (11:31 +0200)
commitbeab99b264bdf4361529582fc3c16acd42a4bef3
tree6ee3bc859b69d63918530cd846c5d4a23c5602b2
parentf70ea0f69bf0e355253bf4063ac873f333882bdc
Don't follow symlinks in returning directory attributes of /

* src/androidvfs.c (struct android_vops) <stat>: New argument
for flags.
(android_unix_stat): Implement in terms of fstatat, not stat,
and provide flags to the same.
(android_afs_stat, android_content_stat, android_authority_stat)
(android_saf_root_stat, android_saf_tree_stat)
(android_saf_new_stat, android_fstatat): Adjust to match.

(cherry picked from commit db18613c962ea4db42aa9bdd4c211f6b8312bd49)
src/androidvfs.c