diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-05-14 22:44:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-14 22:58:43 +0200 |
commit | 4f4f70361a64957c45a2d8f40bfb04c77b454697 (patch) | |
tree | 08ae051d5f915b3603a315a90a52497fccab6368 /src/core/dbus.c | |
parent | 04552566fa357d3029f06b66690dc28752522e10 (diff) |
core: no need to pass bus object to selinux access check calls anymore
Diffstat (limited to 'src/core/dbus.c')
-rw-r--r-- | src/core/dbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c index e9bf34c498..189d925c9e 100644 --- a/src/core/dbus.c +++ b/src/core/dbus.c @@ -239,7 +239,7 @@ static int selinux_filter(sd_bus *bus, sd_bus_message *message, void *userdata, if (object_path_startswith("/org/freedesktop/systemd1", path)) { - r = selinux_access_check(bus, message, verb, error); + r = selinux_access_check(message, verb, error); if (r < 0) return r; @@ -270,7 +270,7 @@ static int selinux_filter(sd_bus *bus, sd_bus_message *message, void *userdata, if (!u) return 0; - r = selinux_unit_access_check(u, bus, message, verb, error); + r = selinux_unit_access_check(u, message, verb, error); if (r < 0) return r; |