selinux: use standard D-Bus error id for access denied

This commit is contained in:
Lennart Poettering
2012-09-24 23:56:35 +02:00
parent cecd32f648
commit 31c460208d
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -43,7 +43,6 @@
#define BUS_ERROR_TRANSACTION_ORDER_IS_CYCLIC "org.freedesktop.systemd1.TransactionOrderIsCyclic"
#define BUS_ERROR_SHUTTING_DOWN "org.freedesktop.systemd1.ShuttingDown"
#define BUS_ERROR_NO_SUCH_PROCESS "org.freedesktop.systemd1.NoSuchProcess"
#define BUS_ERROR_ACCESS_DENIED "org.freedesktop.systemd1.AccessDenied"
static inline const char *bus_error(const DBusError *e, int r) {
if (e && e->message)