libfuse/test
Matthias Görgens 7297044ada
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
2023-04-12 08:39:32 +01:00
..
.gitignore Added write cache tests. 2016-10-10 11:07:38 -07:00
ci-build.sh Fix meson deprecation warning 2023-04-07 14:01:16 +01:00
ci-install.sh Migrate away from deprecated distutils 2023-04-11 13:32:00 +01:00
conftest.py Fix deprecated @pytest.mark.hookwrapper 2023-04-07 15:31:58 +01:00
lsan_suppress.txt Fix typo 2023-04-11 11:58:33 +01:00
meson.build Support application-defined I/O functions for FUSE fd 2023-01-10 10:04:35 +00:00
pytest.ini Update Travis to Ubuntu Bionic 2020-09-12 09:28:27 +01:00
readdir_inode.c Fix returning d_ino and d_type by readdir(3) in non-plus mode 2021-03-18 09:52:30 +00:00
stracedecode.c libfuse: add readdirplus support in fuse_lowlevel_ops 2013-02-07 14:58:50 +01:00
test_ctests.py Migrate away from deprecated distutils 2023-04-11 13:32:00 +01:00
test_custom_io.py Support application-defined I/O functions for FUSE fd 2023-01-10 10:04:35 +00:00
test_examples.py Fuse mount: make auto_unmount compatible with suid/dev mount options (#762) 2023-04-12 08:39:32 +01:00
test_setattr.c Install a the configure_file (config.h) and use in headers 2023-01-28 09:35:34 +00:00
test_syscalls.c Install a the configure_file (config.h) and use in headers 2023-01-28 09:35:34 +00:00
test_write_cache.c Install a the configure_file (config.h) and use in headers 2023-01-28 09:35:34 +00:00
util.py Fix PytestReturnNotNoneWarning 2023-04-07 15:31:58 +01:00
wrong_command.c Do not fail "ninja test" when running as subproject 2018-10-19 14:17:48 -07:00