Fix compilation failure with sepgsql

One change for getObjectIdentity() has been missed in 2a10fdc, causing
the module to not compile properly.  This was actually the only problem,
and it happens that it is easy enough to check the compilation of the
module on Debian after installing libselinux1-dev.

Per buildfarm member rhinoceros.
pull/55/head
Michael Paquier 6 years ago
parent 2a10fdc430
commit e949137397
  1. 2
      contrib/sepgsql/relation.c

@ -546,7 +546,7 @@ sepgsql_relation_truncate(Oid relOid)
object.classId = RelationRelationId;
object.objectId = relOid;
object.objectSubId = 0;
audit_name = getObjectIdentity(&object);
audit_name = getObjectIdentity(&object, false);
sepgsql_avc_check_perms(&object,
tclass,

Loading…
Cancel
Save