projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89419e0
)
Remove unnecessary cast, bus_sid is already of type security_id_t
author
Laurent Bigonville
<bigon@bigon.be>
Mon, 3 Oct 2016 18:12:32 +0000
(20:12 +0200)
committer
Simon McVittie
<smcv@collabora.com>
Wed, 31 May 2017 12:39:50 +0000
(13:39 +0100)
Reviewed-by: Simon McVittie <smcv@collabora.com>
bus/selinux.c
patch
|
blob
|
history
diff --git
a/bus/selinux.c
b/bus/selinux.c
index
271048a
..
cc11146
100644
(file)
--- a/
bus/selinux.c
+++ b/
bus/selinux.c
@@
-419,7
+419,7
@@
bus_selinux_check (BusSELinuxID *sender_sid,
if (avc_has_perm (SELINUX_SID_FROM_BUS (sender_sid),
override_sid ?
SELINUX_SID_FROM_BUS (override_sid) :
- SELINUX_SID_FROM_BUS (bus_sid),
+ bus_sid,
target_class, requested, &aeref, auxdata) < 0)
{
switch (errno)