summaryrefslogtreecommitdiff
path: root/src/core/selinux-access.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-05-14 22:44:45 +0200
committerLennart Poettering <lennart@poettering.net>2014-05-14 22:58:43 +0200
commit4f4f70361a64957c45a2d8f40bfb04c77b454697 (patch)
tree08ae051d5f915b3603a315a90a52497fccab6368 /src/core/selinux-access.c
parent04552566fa357d3029f06b66690dc28752522e10 (diff)
core: no need to pass bus object to selinux access check calls anymore
Diffstat (limited to 'src/core/selinux-access.c')
-rw-r--r--src/core/selinux-access.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c
index 21c7a8c5bc..53e08af395 100644
--- a/src/core/selinux-access.c
+++ b/src/core/selinux-access.c
@@ -169,7 +169,6 @@ void selinux_access_free(void) {
still be generated if the access would be denied in enforcing mode.
*/
int selinux_generic_access_check(
- sd_bus *bus,
sd_bus_message *message,
const char *path,
const char *permission,
@@ -183,7 +182,6 @@ int selinux_generic_access_check(
char **cmdline = NULL;
int r = 0;
- assert(bus);
assert(message);
assert(permission);
assert(error);