Lines Matching refs: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");
414 * Determine if the SELinux security policy allows the given sender
450 _dbus_verbose ("SELinux denying due to security policy.\n");
453 _dbus_verbose ("SELinux denying due to invalid security context.\n");
456 _dbus_verbose ("SELinux denying due to: %s\n", _dbus_strerror (errno));
530 * Check if SELinux security controls allow the message to be sent to a
728 * Read the SELinux ID from the connection.
747 "Failed to read an SELinux context from connection");
883 * constant time operation. If SELinux support is not available,
888 * @returns the SELinux ID associated with the service
921 * Get the SELinux policy root. This is used to find the D-Bus