poky/meta/recipes-core/dbus
Nisha Parrakat 8ff845c9ba dbus_%.bbappend: stop using selinux_set_mapping
https://gitlab.freedesktop.org/dbus/dbus/-/issues/198
6072f8b241

Currently, if the "dbus" security class or the associated AV doesn't
exist, dbus-daemon fails to initialize and exits immediately. Also the
security classes or access vector cannot be reordered in the policy.
This can be a problem for people developing their own policy or trying
to access a machine where, for some reasons, there is not policy defined
at all.

The code here copy the behaviour of the selinux_check_access() function.
We cannot use this function here as it doesn't allow us to define the
AVC entry reference.

See the discussion at https://marc.info/?l=selinux&m=152163374332372&w=2

(From OE-Core rev: 0441b53d55a919b5ac42e997f4092053b017b553)

Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
..
dbus dbus_%.bbappend: stop using selinux_set_mapping 2021-08-13 22:43:56 +01:00
dbus-glib dbus-glib: refresh patches 2018-03-07 06:34:50 -08:00
dbus_1.12.20.bb Convert to new override syntax 2021-08-02 15:44:10 +01:00
dbus-glib_0.112.bb meta: use new override syntax in comments 2021-08-12 06:26:15 +01:00
dbus-test_1.12.20.bb Convert to new override syntax 2021-08-02 15:44:10 +01:00
dbus.inc dbus_%.bbappend: stop using selinux_set_mapping 2021-08-13 22:43:56 +01:00