diff options
author | Matthias Görgens <matthias.goergens@gmail.com> | 2023-04-12 15:39:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 08:39:32 +0100 |
commit | 7297044ada625da583211f0a574410cddb4f7d8d (patch) | |
tree | fa4a6fa67325614526f06fb9eae6c1d039eb64a6 /test/lsan_suppress.txt | |
parent | 681a0c1178fa93017a363a901d0348710582e90b (diff) | |
download | fuse-7297044ada625da583211f0a574410cddb4f7d8d.tar.gz |
Fuse mount: make auto_unmount compatible with suid/dev mount options (#762)
* Fuse mount: make auto_unmount compatible with suid/dev mount options
> When you run as root, fuse normally does not call fusermount but uses
> the mount system call directly. When you specify auto_unmount, it goes
> through fusermount instead. However, fusermount is a setuid binary that
> is normally called by regular users, so it cannot in general accept suid
> or dev options.
In this patch, we split up how fuse mounts as root when `auto_unmount`
is specified.
First, we mount using system calls directly, then we reach out to
fusermount to set up auto_unmount only (with no actual mounting done in
fusermount).
Fixes: #148
Diffstat (limited to 'test/lsan_suppress.txt')
0 files changed, 0 insertions, 0 deletions