mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Userspace access vector cache for contrib/sepgsql.
KaiGai Kohei
This commit is contained in:
@ -642,7 +642,7 @@ bool
|
||||
sepgsql_getenforce(void)
|
||||
{
|
||||
if (sepgsql_mode == SEPGSQL_MODE_DEFAULT &&
|
||||
security_getenforce() > 0)
|
||||
selinux_status_getenforce() > 0)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user