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/killall.c: prevent segfault and initialize pids
[elogind.git]
/
src
/
core
/
dbus-path.c
diff --git
a/src/core/dbus-path.c
b/src/core/dbus-path.c
index b77b5191c91a5c266dabab451070a9b0077ce705..f7fed1754d14ca492bd62d0617c853312b67b563 100644
(file)
--- a/
src/core/dbus-path.c
+++ b/
src/core/dbus-path.c
@@
-25,6
+25,7
@@
#include "dbus-path.h"
#include "dbus-execute.h"
#include "dbus-common.h"
#include "dbus-path.h"
#include "dbus-execute.h"
#include "dbus-common.h"
+#include "selinux-access.h"
#define BUS_PATH_INTERFACE \
" <interface name=\"org.freedesktop.systemd1.Path\">\n" \
#define BUS_PATH_INTERFACE \
" <interface name=\"org.freedesktop.systemd1.Path\">\n" \
@@
-115,5
+116,7
@@
DBusHandlerResult bus_path_message_handler(Unit *u, DBusConnection *c, DBusMessa
{ 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);
}