summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2021-06-07 14:43:03 +0200
committerPádraig Brady <P@draigBrady.com>2021-06-07 23:15:30 +0100
commit9a38d499ca16f2f4304992eb1ab0894cd0b478e1 (patch)
treecea30cad802e4237817a6223c742d9473d5fdeb6
parent68c460e6856aae9fc4271b4c72016a26cba3d0e7 (diff)
downloadgnulib-9a38d499ca16f2f4304992eb1ab0894cd0b478e1.tar.gz
mountlist: recognize fuse.portal as dummy file system
This was originally proposed at: https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00053.html As the full review might take some time, would it be possible to apply at least the part related to fuse.portal file systems? They started to cause problems recently: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1905623 https://github.com/muesli/duf/issues/35 https://bugzilla.redhat.com/1913358
-rw-r--r--ChangeLog6
-rw-r--r--lib/mountlist.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f91e8a387d..744f4b8aef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-06-07 Kamil Dudka <kdudka@redhat.com>
+
+ mountlist: recognize fuse.portal as dummy file system
+ * lib/mountlist.c [ME_DUMMY_0]: Add "fuse.portal" as
+ a dummy file system (used in flatpak implementations).
+
2021-06-07 Bruno Haible <bruno@clisp.org>
host-os: Add support for DragonFly BSD.
diff --git a/lib/mountlist.c b/lib/mountlist.c
index f5d1364c1b..e4c1779829 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -169,6 +169,7 @@
|| strcmp (Fs_type, "debugfs") == 0 \
|| strcmp (Fs_type, "devpts") == 0 \
|| strcmp (Fs_type, "fusectl") == 0 \
+ || strcmp (Fs_type, "fuse.portal") == 0 \
|| strcmp (Fs_type, "mqueue") == 0 \
|| strcmp (Fs_type, "rpc_pipefs") == 0 \
|| strcmp (Fs_type, "sysfs") == 0 \