chiark / gitweb /
core: do not use quotes around virt and arch
[elogind.git] / src / core / mount-setup.c
index bd3a0352d690065f46484c397c327c7aa2007843..343ff066a97d987622266ec72d9a4849e5964324 100644 (file)
 
 #include <sys/mount.h>
 #include <errno.h>
-#include <sys/stat.h>
 #include <stdlib.h>
-#include <string.h>
-#include <libgen.h>
-#include <assert.h>
 #include <unistd.h>
 #include <ftw.h>
 
@@ -43,7 +39,6 @@
 #include "virt.h"
 #include "efivars.h"
 #include "smack-util.h"
-#include "def.h"
 #include "cgroup-util.h"
 
 typedef enum MountMode {
@@ -121,12 +116,6 @@ static const MountPoint mount_table[] = {
 static const char ignore_paths[] =
         /* SELinux file systems */
         "/sys/fs/selinux\0"
-        "/selinux\0"
-        /* Legacy cgroup mount points */
-        "/dev/cgroup\0"
-        "/cgroup\0"
-        /* Legacy kernel file system */
-        "/proc/bus/usb\0"
         /* Container bind mounts */
         "/proc/sys\0"
         "/dev/console\0"