Lines Matching refs:avc
46 #include <selinux/avc.h>
66 /* Store an avc_entry_ref to speed AVC decisions. */
75 /* Prototypes for AVC callback functions. */
85 /* AVC callback structures for use in avc_init. */
111 * Log callback to log denial messages from the AVC.
210 * Create thread to notify the AVC of enforcing and policy reload
224 _dbus_warn ("Failed to start AVC thread: %s\n", _dbus_strerror (rc));
230 /* Stop AVC netlink thread. */
237 /* Allocate a new AVC lock. */
254 /* Acquire an AVC lock. */
261 /* Release an AVC lock. */
268 /* Free an AVC lock. */
318 * Initialize the user space access vector cache (AVC) for D-Bus and set up
338 if (avc_init ("avc", &mem_cb, &log_cb, &thread_cb, &lock_cb) < 0)
340 _dbus_warn ("Failed to start Access Vector Cache (AVC).\n");
345 _dbus_verbose ("Access Vector Cache (AVC) started.\n");
439 /* Make the security check. AVC checks enforcing mode here as well. */
964 * Print out some AVC statistics.
974 _dbus_verbose ("AVC Statistics:\n");
977 _dbus_verbose ("AVC Cache Statistics:\n");
992 * Destroy the AVC before we terminate.
1001 _dbus_verbose ("AVC shutdown\n");