------------------------------------------------------------------------- * * sepgsql_avc_check_valid * * This function checks whether the cached entries are still valid. If * the security policy has been reloaded (or any other events that requires * resetting userspace caches has occurred) since the last reference to * the access vector cache, we must flush the cache. * * Access control
| 149 | * ------------------------------------------------------------------------- |
| 150 | */ |
| 151 | static bool |
| 152 | sepgsql_avc_check_valid(void) |
| 153 | { |
| 154 | if (selinux_status_updated() > 0) |
| 155 | { |
| 156 | sepgsql_avc_reset(); |
| 157 | |
| 158 | return false; |
| 159 | } |
| 160 | return true; |
| 161 | } |
| 162 | |
| 163 | /* |
| 164 | * sepgsql_avc_unlabeled |
no test coverage detected