Don't allow manual exports of /dev. These are handled by --dev=

This commit is contained in:
Alexander Larsson
2017-09-25 14:03:56 +02:00
parent ac5f17203f
commit 6d5beff5d3

View File

@@ -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 {