Many packagers use the external libfuse for new upstream improvements
and to avoid redundancy. There is no good technical reason to keep the
priviallage handling to internal libfuse only, so let's fix that.

I am slightly concerned at not seeing some of the mount point permission
checks found in upstream libfuse fusermount in our current mount
implementation. This would be a bug shared with internal libfuse, and I
do not intend to reach that far now.

---
My mail client is acting up a bit, so here's a link to the patch:
https://github.com/AOSC-Dev/ntfs-3g/commit/38cb3d15eb234acfbb578c78650773ae17b72aad.patch

What I did is basically move the {drop,restore}_priv functions from
fusermount to a separate header. It becomes one of the translation units
in libntfs-3g when needed. Some prefixing might be a good idea for patchv2
if symbol collision is a concern.

Regards,
Mingye Wang (Artoria2e5)


_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to