From 6d5beff5d33af68e04851a3456cf2ea489b9f266 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 25 Sep 2017 14:03:56 +0200 Subject: [PATCH] Don't allow manual exports of /dev. These are handled by --dev= --- common/flatpak-run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-run.c b/common/flatpak-run.c index 405689c7..6ab46301 100644 --- a/common/flatpak-run.c +++ b/common/flatpak-run.c @@ -100,7 +100,7 @@ const char *dont_mount_in_root[] = { /* We don't want to export paths pointing into these, because they are readonly (so we can't create mountpoints there) and don't match whats on the host anyway */ const char *dont_export_in[] = { - "/lib", "/lib32", "/lib64", "/bin", "/sbin", "/usr", "/etc", "/app", NULL + "/lib", "/lib32", "/lib64", "/bin", "/sbin", "/usr", "/etc", "/app", "/dev", NULL }; typedef enum {