chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mount: when learning about the root mount from mountinfo, don't add conflicting dep...
[elogind.git]
/
src
/
core
/
dbus-device.c
diff --git
a/src/core/dbus-device.c
b/src/core/dbus-device.c
index dfbbafb66da93efd438544345e30c65e3b426f60..dbd91fe3dbef062654fd0dd1832f4dc75dc894b1 100644
(file)
--- a/
src/core/dbus-device.c
+++ b/
src/core/dbus-device.c
@@
-22,6
+22,7
@@
#include "dbus-unit.h"
#include "dbus-device.h"
#include "dbus-common.h"
#include "dbus-unit.h"
#include "dbus-device.h"
#include "dbus-common.h"
+#include "selinux-access.h"
#define BUS_DEVICE_INTERFACE \
" <interface name=\"org.freedesktop.systemd1.Device\">\n" \
#define BUS_DEVICE_INTERFACE \
" <interface name=\"org.freedesktop.systemd1.Device\">\n" \
@@
-61,5
+62,7
@@
DBusHandlerResult bus_device_message_handler(Unit *u, DBusConnection *c, DBusMes
{ NULL, }
};
{ NULL, }
};
+ SELINUX_UNIT_ACCESS_CHECK(u, c, message, "status");
+
return bus_default_message_handler(c, message, INTROSPECTION, INTERFACES_LIST, bps);
}
return bus_default_message_handler(c, message, INTROSPECTION, INTERFACES_LIST, bps);
}