mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-06 13:00:20 +01:00
Remove unnecessary cast, bus_sid is already of type security_id_t
Reviewed-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
89419e0a8c
commit
4111263800
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue