chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: fix cgroups-agent match for kdbus
[elogind.git]
/
src
/
core
/
mount-setup.c
diff --git
a/src/core/mount-setup.c
b/src/core/mount-setup.c
index bd3a0352d690065f46484c397c327c7aa2007843..343ff066a97d987622266ec72d9a4849e5964324 100644
(file)
--- a/
src/core/mount-setup.c
+++ b/
src/core/mount-setup.c
@@
-21,11
+21,7
@@
#include <sys/mount.h>
#include <errno.h>
#include <sys/mount.h>
#include <errno.h>
-#include <sys/stat.h>
#include <stdlib.h>
#include <stdlib.h>
-#include <string.h>
-#include <libgen.h>
-#include <assert.h>
#include <unistd.h>
#include <ftw.h>
#include <unistd.h>
#include <ftw.h>
@@
-43,7
+39,6
@@
#include "virt.h"
#include "efivars.h"
#include "smack-util.h"
#include "virt.h"
#include "efivars.h"
#include "smack-util.h"
-#include "def.h"
#include "cgroup-util.h"
typedef enum MountMode {
#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"
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"
/* Container bind mounts */
"/proc/sys\0"
"/dev/console\0"