Home | History | Annotate | Download | only in bus

Lines Matching full:selinux

2  * selinux.c  SELinux security checks for D-Bus
30 #include "selinux.h"
45 #include <selinux/selinux.h>
46 #include <selinux/avc.h>
47 #include <selinux/av_permissions.h>
48 #include <selinux/flask.h>
63 /* Store the value telling us if SELinux is enabled in the kernel. */
72 /* Thread to listen for SELinux status changes via netlink. */
172 * On a policy reload we need to reparse the SELinux configuration file, since
278 * Return whether or not SELinux is enabled; must be
292 * Do early initialization; determine whether SELinux is enabled.
301 /* Determine if we are running an SELinux kernel. */
305 _dbus_warn ("Could not tell if SELinux is enabled: %s\n",
331 _dbus_verbose ("SELinux not enabled in this kernel.\n");
335 _dbus_verbose ("SELinux is enabled in this kernel.\n");
413 * Determine if the SELinux security policy allows the given sender
449 _dbus_verbose ("SELinux denying due to security policy.\n");
452 _dbus_verbose ("SELinux denying due to invalid security context.\n");
455 _dbus_verbose ("SELinux denying due to: %s\n", _dbus_strerror (errno));
529 * Check if SELinux security controls allow the message to be sent to a
727 * Read the SELinux ID from the connection.
746 "Failed to read an SELinux context from connection");
882 * constant time operation. If SELinux support is not available,
887 * @returns the SELinux ID associated with the service
920 * Get the SELinux policy root. This is used to find the D-Bus