kdbus: fix for GetConnectionSELinuxSecurityContext method call 70/86870/1
authorLukasz Skalski <l.skalski@samsung.com>
Mon, 5 Sep 2016 09:35:38 +0000 (11:35 +0200)
committerLukasz Skalski <l.skalski@samsung.com>
Mon, 5 Sep 2016 09:35:38 +0000 (11:35 +0200)
commit1baefdfc868b98e1dc513ed9e32a51e0ca56f5f1
tree895d661f7f3ecf778b83b66e853f9aae2e76e878
parentf1d7bedbedb685d4b9b8e9bd3132f860ea5a4276
kdbus: fix for GetConnectionSELinuxSecurityContext method call

To keep compatibility with dbus1, GetConnectionSELinuxSecurityContext
method call should always return SELinuxSecurityContextUnknown error
on systems without SELinux (even if other LSM systems, like for example
SMACK, are available on platform).

Change-Id: I347cdf665a03fc047d267752b23c4503bf5218e3
dbus/dbus-transport-kdbus.c